-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
raise NotImplemented for date parsing args in read_excel #11544 #11870
Conversation
@@ -340,4 +340,8 @@ Bug Fixes | |||
- Bug in ``Index`` prevents copying name of passed ``Index``, when a new name is not provided (:issue:`11193`) | |||
|
|||
- Bug in ``read_excel`` failing to read any non-empty sheets when empty sheets exist and ``sheetname=None`` (:issue:`11711`) | |||
|
|||
- Bug in ``read_excel`` failing to raise NotImplemented error when `parse_dates` and `date_parser` are provided (:issue:`11544`) |
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.
use double backticks are NotImplementedError
and say: keywords parse_dates
and date_parser
lgtm. minor comments. ping when updated & green. |
Good to go. I also updated the |
raise NotImplemented for date parsing args in read_excel #11544
thanks! |
AFAIK, the So I think the more correct fix is to clarify the documentation. And maybe also warn on cc @TomAugspurger I just saw you giving that comment on SO: http://stackoverflow.com/questions/34403682/why-does-pandas-parse-dates-when-parse-dates-false |
As a small example it actually does something:
|
Thanks, I misunderstood how read_excel handled parse_dates.
|
Thanks for the clarification. I'll submit another PR with doc fixes and a warning on |
See PR #12051 |
Fixes #11544
The
parse_dates
anddate_parser
args are passed toTextReader
and then toTextFileReader
where they don't seem to have an effect. It was decided to raise the exception at the_parse_excel
level however, following suit with the handling ofchunksize
args.