Skip to content

REF: de-duplicate listlike validation in DTA._validate_foo #33908

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 9 commits into from
May 6, 2020

Conversation

jbrockmendel
Copy link
Member

Implements a helper _validate_listlike that is re-used across 4 of the _validate_foo methods. We can then smooth out the remaining differences by passing the same flags in each of the four usages.

@jreback jreback added the Refactor Internal refactoring of code label May 2, 2020
@jreback
Copy link
Contributor

jreback commented May 2, 2020

looks fine, needs a rebase

@jbrockmendel
Copy link
Member Author

rebased+green

@jbrockmendel
Copy link
Member Author

gentle ping; follow-ups on deck

@jreback jreback added this to the 1.1 milestone May 6, 2020
@jreback jreback merged commit 78af0d3 into pandas-dev:master May 6, 2020
@jbrockmendel jbrockmendel deleted the dtlike-validators-listlike branch May 7, 2020 01:31
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
Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants