You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, the float-dtype in ``df2`` would be ignored so the result dtype would be ``datetime64[ns]``. As a result, the ``np.nan`` would be cast to ``NaT``.
169
+
170
+
*Previous behavior*:
171
+
172
+
.. code-block:: ipython
173
+
174
+
In [4]: res
175
+
Out[4]:
176
+
bar
177
+
0 2013-01-01
178
+
1 NaT
179
+
180
+
Now the float-dtype is respected. Since the common dtype for these DataFrames is object, the ``np.nan`` is retained.
0 commit comments