Skip to content

Standardize cast_str behavior in all datetimelike fill_value validators #36746

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 4 commits into from
Oct 6, 2020

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

This will in turn allow us to simplify/de-duplicate a bunch of code since we now pass cast_str in all cases.

@jreback jreback added Error Reporting Incorrect or improved errors from pandas Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate labels Oct 2, 2020
@jreback jreback added this to the 1.2 milestone Oct 2, 2020
@jreback
Copy link
Contributor

jreback commented Oct 2, 2020

can you actually just remove this parameter entirely now? (e.g. its always true), or other cases?

@jbrockmendel
Copy link
Member Author

can you actually just remove this parameter entirely now? (e.g. its always true), or other cases?

yes, planned for the next pr

@jbrockmendel
Copy link
Member Author

actually, since i need to rebase anyway, might as well now

@jreback
Copy link
Contributor

jreback commented Oct 2, 2020

lgtm ping on green

@jbrockmendel
Copy link
Member Author

ping

@jbrockmendel
Copy link
Member Author

@jreback gentle ping; this is a blocker for long-awaited code de-duplication

@jreback jreback merged commit 7ac35e7 into pandas-dev:master Oct 6, 2020
@jbrockmendel jbrockmendel deleted the compat-cast_str branch October 6, 2020 02:48
jbrockmendel added a commit to jbrockmendel/pandas that referenced this pull request Oct 13, 2020
…rs (pandas-dev#36746)

* Standardize cast_str behavior in all datetimelike fill_value validators

* CLN: remove cast_str kwarg
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
…rs (pandas-dev#36746)

* Standardize cast_str behavior in all datetimelike fill_value validators

* CLN: remove cast_str kwarg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants