Skip to content

docs: correct the docs for option_context #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions third_party/bigframes_vendored/pandas/_config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ class option_context(contextlib.ContextDecorator):

You need to invoke as ``option_context(pat, val, [(pat, val), ...])``.

Examples
--------
>>> import bigframes
>>> with bigframes.option_context('display.max_rows', 10, 'display.max_columns', 5):
... pass
**Examples:**

>>> import bigframes

>>> with bigframes.option_context('display.max_rows', 10, 'display.max_columns', 5):
... pass
"""

def __init__(self, *args) -> None:
Expand Down