Class Options (2.27.0)

Options()

Global options affecting BigQuery DataFrames behavior.

Properties

bigquery

Options to use with the BigQuery engine.

Returns
Type Description
bigframes._config.bigquery_options.BigQueryOptions Options for BigQuery engine.

compute

Thread-local options controlling object computation.

Returns
Type Description
bigframes._config.compute_options.ComputeOptions Thread-local options for controlling object computation

display

Options controlling object representation.

Returns
Type Description
bigframes._config.display_options.DisplayOptions Options for controlling object representation.

experiments

Options controlling experiments

Returns
Type Description
bigframes._config.experiment_options.ExperimentOptions Thread-local options for controlling experiments

is_bigquery_thread_local

Indicator that we're using a thread-local session.

A thread-local session can be started by using with bigframes.option_context("bigquery.some_option", "some-value"):.

Returns
Type Description
bool A boolean value, where a value is True if a thread-local session is in use; otherwise False.

sampling

Options controlling downsampling when downloading data to memory.

The data can be downloaded into memory explicitly (e.g., to_pandas, to_numpy, values) or implicitly (e.g., matplotlib plotting). This option can be overridden by parameters in specific functions.

Returns
Type Description
bigframes._config.sampling_options.SamplingOptions Options for controlling downsampling.

Methods

reset

reset() -> bigframes._config.Options

Reset the option settings to defaults.

Returns
Type Description
bigframes._config.Options Options object with default values.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月27日 UTC.