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
Copy file name to clipboardExpand all lines: doc/source/v0.10.2.txt
+31-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Numeric dtypes will propgate and can coexist in DataFrames. If a dtype is passed
50
50
df3.dtypes
51
51
52
52
# forcing date coercion
53
-
s = Series([datetime(2001,1,1,0,0), 'foo', 1.0, 1,
53
+
s = Series([datetime(2001,1,1,0,0), 'foo', 1.0, 1,
54
54
Timestamp('20010104'), '20010105'],dtype='O')
55
55
s.convert_objects(convert_dates='coerce')
56
56
@@ -93,3 +93,33 @@ See the `full release notes
93
93
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
94
94
on GitHub for a complete list.
95
95
96
+
97
+
Datetime64[ns] columns in a DataFrame (or a Series) allow the use of ``np.nan`` to indicate a nan value, in addition to the traditional ``NaT``, or not-a-time. This allows convenient nan setting in a generic way. Furthermore datetime64 columns are created by default, when passed datetimelike objects (*this change was introduced in 0.10.1*)
0 commit comments