diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 38dccff6e2bdc..d92d08b547d7c 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -71,8 +71,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then MSG='Partially validate docstrings (EX03)' ; echo $MSG $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=EX03 --ignore_functions \ - pandas.Series.dt.day_name \ - pandas.Series.str.len \ pandas.Series.cat.set_categories \ pandas.Series.plot.bar \ pandas.Series.plot.hist \ diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index a4d01dd6667f6..4ca9af725abc4 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -1365,7 +1365,7 @@ def day_name(self, locale=None) -> npt.NDArray[np.object_]: >>> idx DatetimeIndex(['2018-01-01', '2018-01-02', '2018-01-03'], dtype='datetime64[ns]', freq='D') - >>> idx.day_name(locale='pt_BR.utf8') # doctest: +SKIP + >>> idx.day_name(locale='pt_BR.utf8') # doctest: +SKIP Index(['Segunda', 'Terça', 'Quarta'], dtype='object') """ values = self._local_timestamps() diff --git a/pandas/core/strings/accessor.py b/pandas/core/strings/accessor.py index 7c6dca3bad7d9..6c271ef1021f4 100644 --- a/pandas/core/strings/accessor.py +++ b/pandas/core/strings/accessor.py @@ -3055,11 +3055,11 @@ def len(self): number of entries for dictionaries, lists or tuples. >>> s = pd.Series(['dog', - ... '', - ... 5, - ... {'foo' : 'bar'}, - ... [2, 3, 5, 7], - ... ('one', 'two', 'three')]) + ... '', + ... 5, + ... {'foo' : 'bar'}, + ... [2, 3, 5, 7], + ... ('one', 'two', 'three')]) >>> s 0 dog 1