| [ Web Proxy ] |
| Viewing: https://dataframes.bigquery.dev/reference/api/bigframes._config.option_context.html | [Back] [Original] |
Section Navigation
Context manager to temporarily set thread-local options in the with statement context.
You need to invoke as option_context(pat, val, [(pat, val), ...]).
Note
bigquery options cant be changed on a running session. Setting any of these options creates a new thread-local session that only lives for the lifetime of the context manager.
Examples:
>>> import bigframes
>>> with bigframes.option_context('display.max_rows', 10, 'display.max_columns', 5):
... pass
Copyright 2019, Google.
Created using Sphinx 8.1.3.
Built with the PyData Sphinx Theme 0.19.0.
| Web Proxy Viewer | New URL | Original Page |