Skip to content

Commit 3a5b4c2

Browse files
authored
DOC: Correct a few minor wording mistakes (#63982)
1 parent 4a69a23 commit 3a5b4c2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/source/user_guide/text.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ NA values in this array are represented and behave as ``np.nan``.
815815
)
816816
817817
Notice that the last three values are all inferred by pandas as
818-
being an NA values, and hence stored as ``pd.NA``.
818+
being NA values, and hence stored as ``pd.NA``.
819819

820820
PyArrow storage with ``pd.NA`` values
821821
-------------------------------------
@@ -833,7 +833,7 @@ represented and behave as ``pd.NA``.
833833
dtype=pd.StringDtype(storage="python", na_value=pd.NA)
834834
)
835835
836-
Notice that the last three values are all inferred by pandas as being an NA
836+
Notice that the last three values are all inferred by pandas as being NA
837837
values, and hence stored as ``pd.NA``.
838838

839839
Method summary

pandas/core/apply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ def series_generator(self) -> Generator[Series]:
13761376
# result, which potentially increases the ref count of this reused
13771377
# `ser` object (depending on the result of the applied function)
13781378
# -> if that happened and `ser` is already a copy, then we reset
1379-
# the refs here to avoid triggering a unnecessary CoW inside the
1379+
# the refs here to avoid triggering an unnecessary CoW inside the
13801380
# applied function (https://github.com/pandas-dev/pandas/pull/56212)
13811381
mgr.blocks[0].refs = BlockValuesRefs(mgr.blocks[0])
13821382
yield ser

pandas/errors/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def version(cls) -> str:
227227

228228
class UnsupportedFunctionCall(ValueError):
229229
"""
230-
Exception raised when attempting to call a unsupported numpy function.
230+
Exception raised when attempting to call an unsupported numpy function.
231231
232232
For example, ``np.cumsum(groupby_object)``.
233233

pandas/io/formats/style.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ def to_latex(
10461046
| rgb(25%,255,50%) | [rgb]{0.25,1,0.5}
10471047
================== ==================== ============= ==========================
10481048
1049-
It is also possible to add user-defined LaTeX only styles to a HTML-CSS Styler
1049+
It is also possible to add user-defined LaTeX only styles to an HTML-CSS Styler
10501050
using the ``--latex`` flag, and to add LaTeX parsing options that the
10511051
converter will detect within a CSS-comment.
10521052

0 commit comments

Comments
 (0)