This repository was archived by the owner on Apr 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
third_party/bigframes_vendored/pandas/io Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2121import pyarrow as pa
2222import pytest
2323
24+ import bigframes ._config
25+
2426# Make sure SettingWithCopyWarning is ignored if it exists.
2527# It was removed in pandas 3.0.
2628if hasattr (pd .errors , "SettingWithCopyWarning" ):
@@ -52,6 +54,7 @@ def default_doctest_imports(doctest_namespace, polars_session_or_bpd):
5254 doctest_namespace ["pd" ] = pd
5355 doctest_namespace ["pa" ] = pa
5456 doctest_namespace ["bpd" ] = polars_session_or_bpd
57+ bigframes ._config .options .display .progress_bar = None
5558
5659 # TODO(tswast): Consider setting the numpy printoptions here for better
5760 # compatibility across numpy versions.
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ def read_gbq(
7272
7373 Preserve ordering in a query input.
7474
75- >>> bpd.options.display.progress_bar = None
7675 >>> df = bpd.read_gbq('''
7776 ... SELECT
7877 ... -- Instead of an ORDER BY clause on the query, use
@@ -87,11 +86,9 @@ def read_gbq(
8786 ... WHERE year = 2016
8887 ... GROUP BY pitcherFirstName, pitcherLastName
8988 ... ''', index_col="rowindex")
90- >>> print("START_OF_OUTPUT"); df.head(2) # doctest: +ELLIPSIS,+NORMALIZE_WHITESPACE
91- START_OF_OUTPUT
92- ...
89+ >>> df.head(2)
9390 pitcherFirstName pitcherLastName averagePitchSpeed
94- ...
91+ rowindex
9592 1 Albertin Chapman 96.514113
9693 2 Zachary Britton 94.591039
9794 <BLANKLINE>
You can’t perform that action at this time.
0 commit comments