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

Subtracting Series of Timestamps gives wrong result · Issue #2629 · pandas-dev/pandas · GitHub

Example:

In [11]: d0 = pd.to_datetime(pd.Series(["12/1/2011"]))

In [12]: d1 = pd.to_datetime(pd.Series(["12/3/2011"]))

In [13]: d1[0] - d0[0]
Out[13]: datetime.timedelta(2)

In [14]: (d1 - d0)[0]
Out[14]: 2000 days, 0:00:00


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