Skip to content
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 · Fixed by #16611
Closed

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

jreback opened this issue Jun 5, 2017 · 3 comments · Fixed by #16611
Labels
Compat pandas objects compatability with Numpy or Python functions Datetime Datetime data dtype Timezones Timezone data dtype
Milestone

Comments

@jreback
Copy link
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 Compat pandas objects compatability with Numpy or Python functions Datetime Datetime data dtype Timezones Timezone data dtype labels Jun 5, 2017
@jreback jreback added this to the 0.20.3 milestone Jun 5, 2017
@jreback
Copy link
Contributor Author

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
Copy link
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).

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Jun 6, 2017 via email

jreback added a commit that referenced this issue Jun 6, 2017
Kiv pushed a commit to Kiv/pandas that referenced this issue Jun 11, 2017
stangirala pushed a commit to stangirala/pandas that referenced this issue Jun 11, 2017
TomAugspurger pushed a commit to TomAugspurger/pandas that referenced this issue Jul 6, 2017
TomAugspurger pushed a commit that referenced this issue Jul 7, 2017
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
Labels
Compat pandas objects compatability with Numpy or Python functions Datetime Datetime data dtype Timezones Timezone data dtype
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants