-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
Fixes Error thrown when None is passed to pd.to_datetime() with format as %Y%m%d #30083
Conversation
can you add a test for the behavior this fixes |
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.
also pls add a whatsnew note, bug fixes for datetimelike in v1.0.0
…s for pandas versions > 0.24 Closes pandas-dev#30011
Updated about the issue and versions in Whats new entry row |
162fc3a
to
5351805
Compare
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.
comments + pls add a whtasnew entry in bug fixes for 1.0.0 in datetime section
…s for pandas versions > 0.24 Closes pandas-dev#30011
… into none_date_time
Hello @maheshbapatu! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2019-12-10 19:39:49 UTC |
…s for pandas versions > 0.24 closes pandas-dev#30011
…s for pandas versions > 0.24 closes pandas-dev#30011
Can you please elaborate about adding a whats new entry for 1.0.0 in datetime section. This is first commit of mine in open source field. Will be elated if you could describe it in detail . |
…s for pandas versions > 0.24 closes pandas-dev#30011
…s pandas versions > 0.24. Closes pandas-dev#30011
…s pandas versions > 0.24. Closes pandas-dev#30011
…s pandas versions > 0.24. Closes pandas-dev#30011
…s pandas versions > 0.24. Closes pandas-dev#30011
…s pandas versions > 0.24. Closes pandas-dev#30011
@maheshbapatu For bug fixes, we include a description of what was fixed in a "whatsnew" document when the library is released. Specifically, please put the description here: https://github.com/pandas-dev/pandas/blob/master/doc/source/whatsnew/v1.0.0.rst#datetimelike |
…hanges it will return NaT instead of TypeError.…
Thanks @mroeschke got it added changes accordingly. |
thanks @maheshbapatu very nice |
Thanks a lot @jreback and everyone who helped me all the way in my first open source contribution |
pd.to_datetime
gets a None for certain values offormat
#30011black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
bug fix of to_datetime for pandas versions >0.24. Now the change will avoid error even when value passed None to to_datetime