Skip to content

Commit a7b9c56

Browse files
Update integer_na.rst with multiple improvements. (#51907)
* Update integer_na.rst updating and improving multiple problems in the documentation. * Update integer_na.rst
1 parent f122e2e commit a7b9c56

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/source/user_guide/integer_na.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ implemented within pandas.
3232
arr = pd.array([1, 2, None], dtype=pd.Int64Dtype())
3333
arr
3434
35-
Or the string alias ``"Int64"`` (note the capital ``"I"``, to differentiate from
35+
Or the string alias ``"Int64"`` (note the capital ``"I"``) to differentiate from
3636
NumPy's ``'int64'`` dtype:
3737

3838
.. ipython:: python
@@ -67,7 +67,7 @@ with the dtype.
6767
pd.array([1, 2])
6868
6969
For backwards-compatibility, :class:`Series` infers these as either
70-
integer or float dtype
70+
integer or float dtype.
7171

7272
.. ipython:: python
7373
@@ -101,7 +101,7 @@ dtype if needed.
101101
# comparison
102102
s == 1
103103
104-
# indexing
104+
# slicing operation
105105
s.iloc[1:3]
106106
107107
# operate with other dtypes
@@ -110,7 +110,7 @@ dtype if needed.
110110
# coerce when needed
111111
s + 0.01
112112
113-
These dtypes can operate as part of ``DataFrame``.
113+
These dtypes can operate as part of a ``DataFrame``.
114114

115115
.. ipython:: python
116116
@@ -119,7 +119,7 @@ These dtypes can operate as part of ``DataFrame``.
119119
df.dtypes
120120
121121
122-
These dtypes can be merged & reshaped & casted.
122+
These dtypes can be merged, reshaped & casted.
123123

124124
.. ipython:: python
125125

0 commit comments

Comments
 (0)