bigframes._config.SamplingOptions.with_method#

SamplingOptions.with_method(method: Literal['head', 'uniform']) SamplingOptions[source]#

Configures the downsampling algorithms to be chosen from

Parameters:

method (None or Literal) – A literal string value of either head or uniform data sampling method.

Returns:

The configuration for data sampling.

Return type:

bigframes._config.sampling_options.SamplingOptions