-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
ENH: support 2D in DatetimeArray._from_sequence #38021
ENH: support 2D in DatetimeArray._from_sequence #38021
Conversation
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.
Same comment as in #37950, I am personally not convinced we should expand the 2D capabilities.
Thank you for weighing in Joris. As I said in the OP, this is part of fixing #37682. |
hmm, yeah i think i agree with @jorisvandenbossche here, we should either go all in on 2D or not. can we just process column by column instead? |
we can, but it means putting more logic in Blocks which is the opposite of what im trying to do |
looking at this again it is fine. we do this in all kinds of places where we can potentially have 1d or 2d inputs. unless objecting by @jorisvandenbossche and i think would need a concrete proposal that acheives the same aim, will merge tomorrow. |
this is fine |
Broken off from a branch that fixes #37682, the constraint on which is that _validate_setitem_value needs to handle 2D.