Skip to content

Commit 8765288

Browse files
committed
DOC add get_dummies NaN to whatsnew
1 parent 6bf01ae commit 8765288

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/source/v0.13.0.txt

+11
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,17 @@ Enhancements
129129
- Added a more informative error message when plot arguments contain
130130
overlapping color and style arguments (:issue:`4402`)
131131

132+
- NaN handing in get_dummies (:issue:`4446`) with `dummy_na`
133+
134+
.. ipython:: python
135+
# previously, nan was erroneously counted as 2 here
136+
# now it is not counted at all
137+
get_dummies([1, 2, np.nan])
138+
139+
# unless requested
140+
get_dummies([1, 2, np.nan], dummy_na=True)
141+
142+
132143
- ``timedelta64[ns]`` operations
133144

134145
- A Series of dtype ``timedelta64[ns]`` can now be divided by another

0 commit comments

Comments
 (0)