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/9431 below:

Unique on the datetimeindex / datetime64 array · Issue #9431 · pandas-dev/pandas · GitHub

In [11]: dti = pd.DatetimeIndex([pd.Timestamp('2015-02-05 22:24:00+0000', tz='UTC')])

In [12]: dti.unique()
Out[12]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2015-02-05 22:24:00+00:00]
Length: 1, Freq: None, Timezone: UTC

In [13]: pd.unique(dti)
Out[13]: array([1423175040000000000L], dtype=object)

In [14]: pd.unique(dti.values)
Out[14]: array([1423175040000000000L], dtype=object)

This is on 0.15.2, not checked on master.


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