Skip to content

REF: collect validator methods for DTA/TDA/PA #33689

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

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

jbrockmendel
Copy link
Member

Zero logic changes in this PR.

xref #33685

We have a lot of methods for converting arguments to DTA/TDA/PA/DTI/TDI/PI methods to/from i8 representations. ATM these have slightly different behavior, which we should try to bring into sync (and then de-duplicate the code).

This PR just collects all those methods in one place to make the upcoming steps easier.

Two more methods that I think/hope can eventually be added to this grouping are the comparisons and get_loc, but those are more complicated, but those are more complicated, so holding off on those for now.

@jreback jreback added Index Related to the Index class or subclasses Refactor Internal refactoring of code labels Apr 21, 2020
@jreback jreback added this to the 1.1 milestone Apr 21, 2020
@jreback jreback merged commit 6963b01 into pandas-dev:master Apr 21, 2020
@jreback
Copy link
Contributor

jreback commented Apr 21, 2020

sure

@jbrockmendel jbrockmendel deleted the dtlike-helpers branch April 21, 2020 14:29
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Index Related to the Index class or subclasses Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants