Skip to content

Commit 13b2442

Browse files
add series.str.casefold in reference
1 parent 0d9ebec commit 13b2442

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/source/reference/series.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ strings and apply several methods to it. These can be accessed like
409409
:template: autosummary/accessor_method.rst
410410

411411
Series.str.capitalize
412+
Series.str.casefold
412413
Series.str.cat
413414
Series.str.center
414415
Series.str.contains

pandas/tests/test_strings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3426,8 +3426,8 @@ def test_method_on_bytes(self):
34263426
tm.assert_series_equal(result, expected)
34273427

34283428
def test_casefold(self):
3429-
casefolded = Series(['ss', NA, 'case', 'ssd'])
3430-
s = Series(['ß', NA, 'case', 'ßd'])
3429+
casefolded = Series(['ss', 'case', 'ssd'])
3430+
s = Series(['ß', 'case', 'ßd'])
34313431
result = s.str.casefold()
34323432

34333433
tm.assert_series_equal(result, casefolded)

0 commit comments

Comments
 (0)