Skip to content

Commit c69d026

Browse files
committed
Fixed trailing white space issue using pre-commit hook
1 parent 42632c1 commit c69d026

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/strings/accessor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3559,13 +3559,13 @@ def casefold(self):
35593559
5 True
35603560
dtype: bool
35613561
3562-
For a string to be considered numeric, all its characters must have a Unicode
3562+
For a string to be considered numeric, all its characters must have a Unicode
35633563
numeric property. As a consequence, the following cases are **not** recognized
35643564
as numeric:
35653565
3566-
- **Decimal numbers** (e.g., "1.1"): due to period ``"."``
3567-
- **Negative numbers** (e.g., "-5"): due to minus sign ``"-"``
3568-
- **Scientific notation** (e.g., "1e3"): due to characters like ``"e"``
3566+
- **Decimal numbers** (e.g., "1.1"): due to period ``"."``
3567+
- **Negative numbers** (e.g., "-5"): due to minus sign ``"-"``
3568+
- **Scientific notation** (e.g., "1e3"): due to characters like ``"e"``
35693569
35703570
>>> s2 = pd.Series(["1.1", "-5", "1e3"])
35713571
>>> s2.str.isnumeric()

0 commit comments

Comments
 (0)