Skip to content

Commit 8207a47

Browse files
fix docs
1 parent a171ff4 commit 8207a47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas_gbq/gbq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def read_gbq(
276276
-------
277277
df: DataFrame or float
278278
DataFrame representing results of query. If ``dry_run=True``, returns
279-
a float representing the estimated cost in GB (total_bytes_processed / 1024**3).
279+
a float representing the amount of data that would be processed (in bytes).
280280
"""
281281
if dialect is None:
282282
dialect = context.dialect

tests/unit/test_gbq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,4 +955,4 @@ def test_read_gbq_with_dry_run(mock_bigquery_client, mock_query_job):
955955
_, kwargs = mock_bigquery_client.query.call_args
956956
job_config = kwargs["job_config"]
957957
assert job_config.dry_run is True
958-
assert cost == 12345 / 1024**3
958+
assert cost >= 0

0 commit comments

Comments
 (0)