File tree 6 files changed +6
-16
lines changed
6 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -85,27 +85,17 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
85
85
86
86
MSG=' Partially validate docstrings (RT02)' ; echo $MSG
87
87
$BASE_DIR /scripts/validate_docstrings.py --format=actions --errors=RT02 --ignore_functions \
88
- pandas.Series.align \
89
- pandas.Series.dt.total_seconds \
90
- pandas.Series.cat.rename_categories \
91
- pandas.Series.cat.reorder_categories \
92
- pandas.Series.cat.add_categories \
93
- pandas.Series.cat.remove_categories \
94
- pandas.Series.cat.remove_unused_categories \
95
88
pandas.Index.all \
96
89
pandas.Index.any \
97
90
pandas.MultiIndex.drop \
98
91
pandas.DatetimeIndex.to_pydatetime \
99
92
pandas.TimedeltaIndex.to_pytimedelta \
100
- pandas.core.groupby.SeriesGroupBy.apply \
101
- pandas.core.groupby.DataFrameGroupBy.apply \
102
93
pandas.io.formats.style.Styler.export \
103
94
pandas.api.extensions.ExtensionArray.astype \
104
95
pandas.api.extensions.ExtensionArray.dropna \
105
96
pandas.api.extensions.ExtensionArray.isna \
106
97
pandas.api.extensions.ExtensionArray.repeat \
107
- pandas.api.extensions.ExtensionArray.unique \
108
- pandas.DataFrame.align
98
+ pandas.api.extensions.ExtensionArray.unique
109
99
RET=$(( $RET + $? )) ; echo $MSG " DONE"
110
100
111
101
fi
Original file line number Diff line number Diff line change @@ -726,7 +726,7 @@ def total_seconds(self) -> npt.NDArray[np.float64]:
726
726
727
727
Returns
728
728
-------
729
- seconds : [ ndarray, Float64Index, Series]
729
+ ndarray, Float64Index or Series
730
730
When the calling object is a TimedeltaArray, the return type
731
731
is ndarray. When the calling object is a TimedeltaIndex,
732
732
the return type is a Float64Index. When the calling object
Original file line number Diff line number Diff line change @@ -11018,7 +11018,7 @@ def to_period(
11018
11018
11019
11019
Returns
11020
11020
-------
11021
- DataFrame:
11021
+ DataFrame
11022
11022
The DataFrame has a PeriodIndex.
11023
11023
11024
11024
Examples
Original file line number Diff line number Diff line change @@ -9123,7 +9123,7 @@ def align(
9123
9123
9124
9124
Returns
9125
9125
-------
9126
- (left, right) : ({klass}, type of other)
9126
+ tuple of ({klass}, type of other)
9127
9127
Aligned objects.
9128
9128
9129
9129
Examples
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ class providing the base-class of operations.
174
174
175
175
Returns
176
176
-------
177
- applied : Series or DataFrame
177
+ Series or DataFrame
178
178
179
179
See Also
180
180
--------
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ def _format_argument_list(allow_args: list[str]) -> str:
228
228
229
229
Returns
230
230
-------
231
- s : str
231
+ str
232
232
The substring describing the argument list in best way to be
233
233
inserted to the warning message.
234
234
You can’t perform that action at this time.
0 commit comments