A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/11794 below:

bug in deep copy of Series with timezone-aware datetime entries · Issue #11794 · pandas-dev/pandas · GitHub

In [12]: import pandas as pd
In [13]: pd.__version__
Out[13]: u'0.17.1'

In [14]: ser = pd.Series([pd.Timestamp('2012/01/01', tz='UTC')])
In [15]: ser2 = ser.copy(deep=True)
In [18]: ser2[0] = pd.Timestamp('1999/01/01', tz='UTC')

# unexpected mutation
In [19]: ser
Out[19]: 
0   1999-01-01 00:00:00+00:00
dtype: datetime64[ns, UTC]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4