bigframes._config.SamplingOptions.sampling_method#

SamplingOptions.sampling_method: Literal['head', 'uniform'] = 'uniform'#

Downsampling algorithms to be chosen from. Default “uniform”.

The choices are: “head”: This algorithm returns a portion of the data from the beginning. It is fast and requires minimal computations to perform the downsampling.; “uniform”: This algorithm returns uniform random samples of the data.