diff --git a/doc/source/user_guide/integer_na.rst b/doc/source/user_guide/integer_na.rst index db6869a3804bd..f1f3d79eed61e 100644 --- a/doc/source/user_guide/integer_na.rst +++ b/doc/source/user_guide/integer_na.rst @@ -30,7 +30,7 @@ you must explicitly pass the dtype into :meth:`array` or :class:`Series`: .. ipython:: python - arr = pd.array([1, 2, np.nan], dtype=pd.Int64Dtype()) + arr = pd.array([1, 2, None], dtype=pd.Int64Dtype()) arr Or the string alias ``"Int64"`` (note the capital ``"I"``, to differentiate from