We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d618454 commit 494c1efCopy full SHA for 494c1ef
doc/source/user_guide/boolean.rst
@@ -41,8 +41,8 @@ If you create a column of ``NA`` values (for example to fill them later)
41
with ``df['new_col'] = pd.NA``, the ``dtype`` would be set to ``object`` in the
42
new column. The performance on this column will be worse than with
43
the appropriate type. It's better to use
44
-``df['new_col'] = pd.Series(pd.NA, dtype=Int64)``
45
-(or another ``dtype`` as you desire).
+``df['new_col'] = pd.Series(pd.NA, dtype='Int64')``
+(or another ``dtype`` that supports ``NA``).
46
47
.. ipython:: python
48
df = pd.DataFrame()
0 commit comments