Skip to content
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

FR: dtype for INTERVAL / pandas.tseries.offsets.DateOffset / dateutil.relativedelta.relativedelta / pyarrow.month_day_nano_interval #50

Open
tswast opened this issue Dec 16, 2021 · 0 comments
Labels
api: bigquery Issues related to the googleapis/python-db-dtypes-pandas API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@tswast
Copy link
Collaborator

tswast commented Dec 16, 2021

With the BigQuery INTERVAL data type, the BigQuery Storage API is exposing it as pyarrow.month_day_nano_interval. This maps closely to the dateutil.relativedelta.relativedelta or pandas.tseries.offsets.DateOffset object.

It'd be great if there was a pandas dtype for these for more efficient conversions than having to use the object dtype.

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-db-dtypes-pandas API. label Dec 16, 2021
@tswast tswast added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-db-dtypes-pandas API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant