We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pandas-gbq
pandas
import pandas_gbq df = pandas_gbq.read_gbq('SELECT timestamp FROM `bigquery-public-data.pypi.file_downloads` LIMIT 1') print(df.dtypes) df = pandas_gbq.read_gbq('SELECT timestamp FROM `bigquery-public-data.pypi.file_downloads` LIMIT 0') print(df.dtypes)
got the following. I expected either us or ns
us
ns
timestamp datetime64[us, UTC] dtype: object timestamp datetime64[ns, UTC] dtype: object
When I downgrade pandas version to 1.5.3, the above both code returns datetime64[ns, UTC].
datetime64[ns, UTC]
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks @kitagry for the report and the proposed fix!
Sorry, something went wrong.
tswast
Successfully merging a pull request may close this issue.
Environment details
pandas-gbq
version: 0.26.1pandas
version: 2.2.2Code example
got the following. I expected either
us
orns
When I downgrade pandas version to 1.5.3, the above both code returns
datetime64[ns, UTC]
.Thanks!
The text was updated successfully, but these errors were encountered: