Skip to content

Commit 4de348d

Browse files
committed
Update integer_na.rst
1 parent 103f4e4 commit 4de348d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/user_guide/integer_na.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ If you create a column of ``NA`` values (for example to fill them later)
8888
with ``df['new_col'] = pd.NA``, the ``dtype`` would be set to ``object`` in the
8989
new column. The performance on this column will be worse than with
9090
the appropriate type. It's better to use
91-
``df['new_col'] = pd.Series(pd.NA, dtype=Int64)``
92-
(or another ``dtype`` as you desire).
91+
``df['new_col'] = pd.Series(pd.NA, dtype='Int64')``
92+
(or another ``dtype`` that supports ``NA``).
9393

9494
.. ipython:: python
9595
df = pd.DataFrame()

0 commit comments

Comments
 (0)