Skip to content

Progress bar #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arturadib opened this issue May 31, 2020 · 4 comments
Closed

Progress bar #30

arturadib opened this issue May 31, 2020 · 4 comments
Assignees
Labels
api: bigquerystorage Issues related to the googleapis/python-bigquery-storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@arturadib
Copy link

The page below encourages us to migrate away from pands-gbq. We did so, but we lost the progress bar (e.g. in Collaboratory) which is an important feature of pandas-gbq particularly when fetching large datasets.

Any plans to add a progress bar for long queries? Thank you!

@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Jun 1, 2020
@busunkim96 busunkim96 added api: bigquery Issues related to the BigQuery API. and removed triage me I really want to be triaged. labels Jun 1, 2020
@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Jun 1, 2020
@meredithslota
Copy link

@arturadib Which page are you referencing?

@meredithslota meredithslota added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. and removed triage me I really want to be triaged. labels Jun 3, 2020
@arturadib
Copy link
Author

Oops sorry here we go:

"Migrating from pandas-gbq"
https://cloud.google.com/bigquery/docs/pandas-gbq-migration

@product-auto-label product-auto-label bot added api: bigquerystorage Issues related to the googleapis/python-bigquery-storage API. and removed api: bigquery Issues related to the BigQuery API. labels Jul 10, 2020
@tswast
Copy link
Contributor

tswast commented Oct 20, 2020

We need to update that guide, as it's not necessary to migrate from pandas-gbq unless advanced features like list_datasets and list_models are required (many operations can be done with INFORMATION_SCHEMA queries these days)

That said, the to_dataframe method takes a progress_bar_type="tqdm" argument, which will give you the same behavior as pandas-gbq. See: https://googleapis.dev/python/bigquery/latest/generated/google.cloud.bigquery.table.RowIterator.html#google.cloud.bigquery.table.RowIterator.to_dataframe

@tswast tswast closed this as completed Oct 20, 2020
@tswast tswast reopened this Oct 20, 2020
@tswast
Copy link
Contributor

tswast commented Jan 14, 2021

googleapis/python-bigquery#343 has been closed, which adds progress bars to QueryJob.to_dataframe()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerystorage Issues related to the googleapis/python-bigquery-storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

5 participants