-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Accept PandasArray (with correct dtype) in DatetimeArray constructor #24615
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
Constructors
Series/DataFrame/Index/pd.array Constructors
Datetime
Datetime data dtype
ExtensionArray
Extending pandas with custom dtypes or arrays.
Milestone
Comments
This looks supported on master now. Could use a test?
|
The initial example isn't really valid anymore, as So the original issue still fails:
(I am not sure it is the most important issue to support though) |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
Constructors
Series/DataFrame/Index/pd.array Constructors
Datetime
Datetime data dtype
ExtensionArray
Extending pandas with custom dtypes or arrays.
I think it make sense that eg in the following case, we extract the numpy array out of a PandasArray, and thus accept it as an argument:
There might be more similar cases like this.
The text was updated successfully, but these errors were encountered: