Skip to content

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

Closed
wants to merge 5 commits into from

Conversation

jorisvandenbossche
Copy link
Member

Rebase and update of PR #12051


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
Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, adapted a bit

@jreback
Copy link
Contributor

jreback commented Sep 30, 2016

lgtm.

@jorisvandenbossche
Copy link
Member Author

Apparently it does not work out of the box anymore by re-enabling it (probably due to changes in PythonParser over the last year), so will have to take a deeper look

@jorisvandenbossche jorisvandenbossche modified the milestones: 0.19.1, 0.19.0, 0.20.0 Sep 30, 2016
@jreback
Copy link
Contributor

jreback commented Nov 25, 2016

@jorisvandenbossche ?

@jreback
Copy link
Contributor

jreback commented Dec 30, 2016

@jorisvandenbossche let's update and get this in.

@jreback
Copy link
Contributor

jreback commented Feb 27, 2017

@jorisvandenbossche can you update

@jreback
Copy link
Contributor

jreback commented Mar 23, 2017

@jorisvandenbossche can you rebase

jreback pushed a commit to jreback/pandas that referenced this pull request Mar 27, 2017
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
@jreback jreback closed this Mar 27, 2017
jreback pushed a commit that referenced this pull request Mar 27, 2017
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
jreback pushed a commit that referenced this pull request Mar 27, 2017
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
mattip pushed a commit to mattip/pandas that referenced this pull request Apr 3, 2017
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
@gfyoung gfyoung deleted the pr/12051 branch September 8, 2018 04:46
@wesm wesm restored the pr/12051 branch September 13, 2018 13:23
@jorisvandenbossche jorisvandenbossche deleted the pr/12051 branch September 13, 2018 14:19
@wesm wesm restored the pr/12051 branch November 23, 2021 11:46
@jorisvandenbossche jorisvandenbossche deleted the pr/12051 branch June 15, 2022 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Excel read_excel, to_excel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants