-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Remove NotImplementedError for parse_dates keyword in read_excel #14326
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
Conversation
|
||
read_excel('path_to_file.xls', 'Sheet1', parse_dates=['date_strings']) | ||
|
||
So this should *not* be used when the column in excel has already a datetime-like |
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.
small nit. I would the last part to the first paragraph you added.
somethings like. normally dates are automatically parsed. But if you have a column of 'strings' that look-like dates, you can use the parse_dates kw.
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.
yep, adapted a bit
lgtm. |
c5e7436
to
656ec44
Compare
Apparently it does not work out of the box anymore by re-enabling it (probably due to changes in |
@jorisvandenbossche let's update and get this in. |
@jorisvandenbossche can you update |
@jorisvandenbossche can you rebase |
Rebase and update of PR pandas-dev#12051 Author: Joris Van den Bossche <[email protected]> Author: Graham R. Jeffries <[email protected]> This patch had conflicts when merged, resolved by Committer: Jeff Reback <[email protected]> Closes pandas-dev#14326 from jorisvandenbossche/pr/12051 and squashes the following commits: 0b65a7a [Joris Van den Bossche] update wording 656ec44 [Joris Van den Bossche] Fix detection to raise warning b1c7f87 [Joris Van den Bossche] add whatsnew 925ce1b [Joris Van den Bossche] Update tests 0e10a9d [Graham R. Jeffries] remove read_excel kwd NotImplemented error, update documentation pandas-dev#11544
Rebase and update of PR #12051 Author: Joris Van den Bossche <[email protected]> Author: Graham R. Jeffries <[email protected]> This patch had conflicts when merged, resolved by Committer: Jeff Reback <[email protected]> Closes #14326 from jorisvandenbossche/pr/12051 and squashes the following commits: 0b65a7a [Joris Van den Bossche] update wording 656ec44 [Joris Van den Bossche] Fix detection to raise warning b1c7f87 [Joris Van den Bossche] add whatsnew 925ce1b [Joris Van den Bossche] Update tests 0e10a9d [Graham R. Jeffries] remove read_excel kwd NotImplemented error, update documentation #11544
Rebase and update of PR #12051 Author: Joris Van den Bossche <[email protected]> Author: Graham R. Jeffries <[email protected]> This patch had conflicts when merged, resolved by Committer: Jeff Reback <[email protected]> Closes #14326 from jorisvandenbossche/pr/12051 and squashes the following commits: 0b65a7a [Joris Van den Bossche] update wording 656ec44 [Joris Van den Bossche] Fix detection to raise warning b1c7f87 [Joris Van den Bossche] add whatsnew 925ce1b [Joris Van den Bossche] Update tests 0e10a9d [Graham R. Jeffries] remove read_excel kwd NotImplemented error, update documentation #11544
Rebase and update of PR pandas-dev#12051 Author: Joris Van den Bossche <[email protected]> Author: Graham R. Jeffries <[email protected]> This patch had conflicts when merged, resolved by Committer: Jeff Reback <[email protected]> Closes pandas-dev#14326 from jorisvandenbossche/pr/12051 and squashes the following commits: 0b65a7a [Joris Van den Bossche] update wording 656ec44 [Joris Van den Bossche] Fix detection to raise warning b1c7f87 [Joris Van den Bossche] add whatsnew 925ce1b [Joris Van den Bossche] Update tests 0e10a9d [Graham R. Jeffries] remove read_excel kwd NotImplemented error, update documentation pandas-dev#11544
Rebase and update of PR #12051