Skip to content

Commit b265ad5

Browse files
committed
DOC: Explicity mentioned type of Unicode numeric property in shared docstring for Series.str.isnumeric
1 parent c69d026 commit b265ad5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/strings/accessor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3560,8 +3560,8 @@ def casefold(self):
35603560
dtype: bool
35613561
35623562
For a string to be considered numeric, all its characters must have a Unicode
3563-
numeric property. As a consequence, the following cases are **not** recognized
3564-
as numeric:
3563+
numeric property matching :py:meth:`str.is_numeric`. As a consequence,
3564+
the following cases are **not** recognized as numeric:
35653565
35663566
- **Decimal numbers** (e.g., "1.1"): due to period ``"."``
35673567
- **Negative numbers** (e.g., "-5"): due to minus sign ``"-"``

0 commit comments

Comments
 (0)