Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d21c6dd

Browse files
authoredDec 8, 2023
docs: correct the docs for option_context (#263)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes internal issue #315382764 🦕
1 parent 68c6fdf commit d21c6dd

File tree

1 file changed

+6
-5
lines changed
  • third_party/bigframes_vendored/pandas/_config

1 file changed

+6
-5
lines changed
 

‎third_party/bigframes_vendored/pandas/_config/config.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ class option_context(contextlib.ContextDecorator):
1111
1212
You need to invoke as ``option_context(pat, val, [(pat, val), ...])``.
1313
14-
Examples
15-
--------
16-
>>> import bigframes
17-
>>> with bigframes.option_context('display.max_rows', 10, 'display.max_columns', 5):
18-
... pass
14+
**Examples:**
15+
16+
>>> import bigframes
17+
18+
>>> with bigframes.option_context('display.max_rows', 10, 'display.max_columns', 5):
19+
... pass
1920
"""
2021

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

0 commit comments

Comments
 (0)
Failed to load comments.