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

fix(pandas): map date type to datetime64[s] #8667

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

jcrist
Copy link
Member

@jcrist jcrist commented Mar 15, 2024

Previously ibis's date type was mapped to datetime64[D]. This type isn't supported by pandas (the max is datetime64[s]), but the errors were hidden due to a try/except block causing things to fallback to dtype('O'). Pandas 2.2 changed the error raised here resulting in test failures.

Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@cpcloud cpcloud added this to the 9.0 milestone Mar 17, 2024
@cpcloud cpcloud added the bug Incorrect behavior inside of ibis label Mar 17, 2024
@cpcloud cpcloud merged commit 6bd965e into ibis-project:main Mar 17, 2024
79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior inside of ibis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants