-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: pandas.testing.assert_frame_equal with check_dtype=False unexpectedly raises an exception #37609
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
Labels
Bug
Dtype Conversions
Unexpected or buggy dtype conversions
Testing
pandas testing functions or related to the test suite
Milestone
Comments
I think you're right, will look |
Hi. I'm new and looking to help out on this project! Is this an issue that I'd be able to pick up and work on? |
ssortman
added a commit
to ssortman/pandas
that referenced
this issue
Nov 28, 2020
When using assert_frame_equal on two DataFrames that are equal, besides for their dtypes, one dtype being datetime64[ns] and the other not being an extension array, the code raises an exception due to an assertion that checks whether both are extension arrays. This fix addresses issue pandas-dev#37609.
ssortman
added a commit
to ssortman/pandas
that referenced
this issue
Nov 29, 2020
When using assert_frame_equal on two DataFrames that are equal, besides for their dtypes, one dtype being datetime64[ns] and the other not being an extension array, the code raises an exception due to an assertion that checks whether both are extension arrays. This fix addresses issue pandas-dev#37609.
ssortman
added a commit
to ssortman/pandas
that referenced
this issue
Nov 29, 2020
When using assert_frame_equal on two DataFrames that are equal, besides for their dtypes, one dtype being datetime64[ns] and the other not being an extension array, the code raises an exception due to an assertion that checks whether both are extension arrays. This fix addresses issue pandas-dev#37609.
3 tasks
jreback
pushed a commit
that referenced
this issue
Dec 2, 2020
Thanks ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
Dtype Conversions
Unexpected or buggy dtype conversions
Testing
pandas testing functions or related to the test suite
This code
raises:
But should it raise instead no exception as df1 and df2 are identical, except for their dtypes ?
The text was updated successfully, but these errors were encountered: