Skip to content

Commit

Permalink
docs: update to_geodataframe to use query_and_wait functionality (#1800)
Browse files Browse the repository at this point in the history
* 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 <kirnendra@google.com>
  • Loading branch information
3 people committed Jan 29, 2024
1 parent ba36948 commit 1298594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/geography/to_geodataframe.py
Expand Up @@ -33,6 +33,6 @@ def get_austin_service_requests_as_geography() -> "pandas.DataFrame":
LIMIT 10
"""

df = client.query(sql).to_geodataframe()
df = client.query_and_wait(sql).to_geodataframe()
# [END bigquery_query_results_geodataframe]
return df

0 comments on commit 1298594

Please sign in to comment.