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

COMPAT: broken pickle compat from 0.19.2 -> 0.20.2 for UTC tz's #16608

Closed
jreback opened this Issue Jun 5, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@jreback
Contributor

jreback commented Jun 5, 2017

In [1]: pd.__version__
Out[1]: '0.19.2'

In [3]: df = pd.DataFrame({'A': [1, 2, 3]}, index=pd.date_range('20130101', periods=3, tz='UTC'))

In [4]: df.to_pickle('v0.19.2.pkl')

broken in 0.20.1/2

In [2]: pd.read_pickle('../v0.19.2.pkl')
IndexError: tuple index out of range

works fine for tz-aware but non-UTC (e.g. US/Eastern is fine).

@jreback jreback added this to the 0.20.3 milestone Jun 5, 2017

@jreback

This comment has been minimized.

Show comment
Hide comment
@jreback

jreback Jun 5, 2017

Contributor

@jorisvandenbossche @TomAugspurger any objection to doing a 0.20.3 in a few weeks?

Contributor

jreback commented Jun 5, 2017

@jorisvandenbossche @TomAugspurger any objection to doing a 0.20.3 in a few weeks?

jreback added a commit to jreback/pandas that referenced this issue Jun 6, 2017

jreback added a commit to jreback/pandas that referenced this issue Jun 6, 2017

@jorisvandenbossche

This comment has been minimized.

Show comment
Hide comment
@jorisvandenbossche

jorisvandenbossche Jun 6, 2017

Member

No objection. I would just start tagging stuff as 0.20.3 and make a 0.20.3 whatsnew file. If we in the end decide that we don't find it worth to release (which probably will not be the case), we can easily move those things to 0.21 (it's just moving the whatsnew entries).

Member

jorisvandenbossche commented Jun 6, 2017

No objection. I would just start tagging stuff as 0.20.3 and make a 0.20.3 whatsnew file. If we in the end decide that we don't find it worth to release (which probably will not be the case), we can easily move those things to 0.21 (it's just moving the whatsnew entries).

@TomAugspurger

This comment has been minimized.

Show comment
Hide comment
@TomAugspurger

TomAugspurger Jun 6, 2017

Contributor
Contributor

TomAugspurger commented Jun 6, 2017

@jreback jreback closed this in #16611 Jun 6, 2017

jreback added a commit that referenced this issue Jun 6, 2017

Kiv added a commit to Kiv/pandas that referenced this issue Jun 11, 2017

stangirala added a commit to stangirala/pandas that referenced this issue Jun 11, 2017

TomAugspurger added a commit to TomAugspurger/pandas that referenced this issue Jul 6, 2017

BUG: pickle compat with UTC tz's (#16611)
closes #16608

(cherry picked from commit 697d026)

TomAugspurger added a commit that referenced this issue Jul 7, 2017

BUG: pickle compat with UTC tz's (#16611)
closes #16608

(cherry picked from commit 697d026)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment