Skip to content

Commit c382cac

Browse files
lucassa3Mateusz Górski
authored and
Mateusz Górski
committed
Update nullable integer docs with None instead of np.nan (pandas-dev#29619)
Update nullable integer docs with None instead of np.nan
1 parent e027d8d commit c382cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/integer_na.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ you must explicitly pass the dtype into :meth:`array` or :class:`Series`:
3030

3131
.. ipython:: python
3232
33-
arr = pd.array([1, 2, np.nan], dtype=pd.Int64Dtype())
33+
arr = pd.array([1, 2, None], dtype=pd.Int64Dtype())
3434
arr
3535
3636
Or the string alias ``"Int64"`` (note the capital ``"I"``, to differentiate from

0 commit comments

Comments
 (0)