Skip to content

Commit 171a6f5

Browse files
modify doc to use int instead of float + remove trailing space
1 parent f016352 commit 171a6f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas_gbq/gbq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ def read_gbq(
269269
If True, run a dry run query.
270270
Returns
271271
-------
272-
df: DataFrame or float
272+
df: DataFrame or int
273273
DataFrame representing results of query. If ``dry_run=True``, returns
274-
a float representing the amount of data that would be processed (in bytes).
274+
aan integer representing the amount of data that would be processed (in bytes).
275275
"""
276276
if dialect is None:
277277
dialect = context.dialect

tests/unit/test_gbq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,4 +956,4 @@ def test_read_gbq_with_dry_run(mock_bigquery_client, mock_query_job):
956956
_, kwargs = mock_bigquery_client.query.call_args
957957
job_config = kwargs["job_config"]
958958
assert job_config.dry_run is True
959-
assert cost >= 0
959+
assert cost >= 0

0 commit comments

Comments
 (0)