Skip to content

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

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
tswast opened this issue Dec 16, 2021 · 1 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.

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
@chalmerlowe
Copy link
Collaborator

Closing as will not work. Efforts going forward are focused on more fully interacting with ArrowDtype.

@chalmerlowe chalmerlowe closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2025
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

2 participants