Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 389b023

Browse files
committed
test: use bpd.DataFrame() for empty dataframe in describe test
1 parent 3ef34fd commit 389b023

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/system/small/pandas/test_describe.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,9 @@ def test_describe_with_unsupported_type_returns_empty_dataframe(session):
383383

384384

385385
def test_describe_empty_dataframe_returns_empty_dataframe(session):
386-
df = session.read_gbq("SELECT 1 AS int_col LIMIT 0")
387-
df = df.drop(columns=["int_col"])
386+
import bigframes.pandas as bpd
387+
388+
df = bpd.DataFrame()
388389

389390
res = df.describe().to_pandas()
390391

0 commit comments

Comments
 (0)