-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: pass 2D ndarray and EA-dtype to DataFrame, closes #12513 #30507
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
Conversation
Can you add a whatsnew for this? |
@@ -2551,3 +2551,11 @@ def test_from_tzaware_mixed_object_array(self): | |||
"datetime64[ns, CET]", | |||
] | |||
assert (res.dtypes == expected_dtypes).all() | |||
|
|||
def test_from_2d_ndarray_with_dtype(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you make this test more generic and add to the EA tests instead (followup ok)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. needs a rebase. comment on test location, can do here or in a followup
thanks, followup (pls create an issue or add to list) |
dtype='datetime64[ns, UTC]'
#12513black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff