Skip to content

Commit

Permalink
docs: add progress_bar code sample (#508)
Browse files Browse the repository at this point in the history
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 #<issue_number_goes_here> 🦕
  • Loading branch information
GarrettWu authored Mar 25, 2024
1 parent 1e2cd74 commit 92a1af3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion third_party/bigframes_vendored/pandas/core/config_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,21 @@
User can execute the job by calling .to_pandas()
>>> # df.to_pandas()
Reset option
Reset repr_mode option
>>> bpd.options.display.repr_mode = "head"
Can also set the progress_bar option to see the progress bar in terminal,
>>> bpd.options.display.progress_bar = "terminal"
notebook,
>>> bpd.options.display.progress_bar = "notebook"
or just remove it.
>>> bpd.options.display.progress_bar = None
Setting to default value "auto" will detect and show progress bar automatically.
>>> bpd.options.display.progress_bar = "auto"
Attributes:
max_columns (int, default 20):
If `max_columns` is exceeded, switch to truncate view.
Expand Down

0 comments on commit 92a1af3

Please sign in to comment.