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

Series.combine_first() misbehaves with Timestamp data · Issue #2626 · pandas-dev/pandas · GitHub

Best illustrated by example:

In [957]: s0 = pd.Series(["2010", np.NaN])

In [958]: s1 = pd.Series([np.NaN, "2011"])

In [959]: s0.combine_first(s1)
Out[959]:
0 2010
1 2011

In [960]: s0 = pd.to_datetime(pd.Series(["2010", np.NaN]))

In [961]: s1 = pd.to_datetime(pd.Series([np.NaN, "2011"]))

In [962]: s0.combine_first(s1)
Out[962]:
0 2221-02-23 04:49:47.750490112
1 2051-05-17 05:40:40.331386880


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