Skip to content

Commit 1298594

Browse files
DevStephaniegcf-owl-bot[bot]kiraksi
authored
docs: update to_geodataframe to use query_and_wait functionality (#1800)
* Updates file * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Correcting RowIterator * Correcting variable names * Correcting methods --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Kira <[email protected]>
1 parent ba36948 commit 1298594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/geography/to_geodataframe.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ def get_austin_service_requests_as_geography() -> "pandas.DataFrame":
3333
LIMIT 10
3434
"""
3535

36-
df = client.query(sql).to_geodataframe()
36+
df = client.query_and_wait(sql).to_geodataframe()
3737
# [END bigquery_query_results_geodataframe]
3838
return df

0 commit comments

Comments
 (0)