File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -858,16 +858,12 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
858
858
MSG=' Partially validate docstrings (SA01)' ; echo $MSG
859
859
$BASE_DIR /scripts/validate_docstrings.py --format=actions --errors=SA01 --ignore_functions \
860
860
pandas.Categorical.__array__\
861
- pandas.Categorical.as_ordered\
862
- pandas.Categorical.as_unordered\
863
861
pandas.Categorical.codes\
864
862
pandas.Categorical.dtype\
865
863
pandas.Categorical.from_codes\
866
864
pandas.Categorical.ordered\
867
865
pandas.CategoricalDtype.categories\
868
866
pandas.CategoricalDtype.ordered\
869
- pandas.CategoricalIndex.as_ordered\
870
- pandas.CategoricalIndex.as_unordered\
871
867
pandas.CategoricalIndex.codes\
872
868
pandas.CategoricalIndex.ordered\
873
869
pandas.DataFrame.__dataframe__\
@@ -1064,8 +1060,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
1064
1060
pandas.Series.backfill\
1065
1061
pandas.Series.bfill\
1066
1062
pandas.Series.cat\
1067
- pandas.Series.cat.as_ordered\
1068
- pandas.Series.cat.as_unordered\
1069
1063
pandas.Series.cat.codes\
1070
1064
pandas.Series.cat.ordered\
1071
1065
pandas.Series.copy\
Original file line number Diff line number Diff line change @@ -988,6 +988,10 @@ def as_ordered(self) -> Self:
988
988
Categorical
989
989
Ordered Categorical.
990
990
991
+ See Also
992
+ --------
993
+ as_unordered : Set the Categorical to be unordered.
994
+
991
995
Examples
992
996
--------
993
997
For :class:`pandas.Series`:
@@ -1019,6 +1023,10 @@ def as_unordered(self) -> Self:
1019
1023
Categorical
1020
1024
Unordered Categorical.
1021
1025
1026
+ See Also
1027
+ --------
1028
+ as_ordered : Set the Categorical to be ordered.
1029
+
1022
1030
Examples
1023
1031
--------
1024
1032
For :class:`pandas.Series`:
You can’t perform that action at this time.
0 commit comments