-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
EA: tighten TimedeltaArray._from_sequence signature #36731
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
return result | ||
|
||
@classmethod | ||
def _from_sequence_not_strict( |
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.
umm, have we standarized on this naming? or even the concept of 2 from_sequence?
cc @jorisvandenbossche @TomAugspurger
IIRC we had a need for a coerce=
keyword that we nixed for StringArray
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.
xref #36718 as well
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.
yah my best guess is we're gonna end up dropping this method altogether and having it only reached via the DTI/TDI constructors
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.
ok as a temporary work-around prob 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.
yah, there's also more work to do in tightening what dtypes _from_sequence accepts, plenty left to do
I am not sure this actually makes sense. Based on the discussion in #36718 (but we should first futher discuss that), we would rather make |
@jorisvandenbossche there isn't a whole lot of discussion in #36718. did you mean #33254? |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
xref #36718