File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
193
193
-i " pandas.Timestamp.tzinfo GL08" \
194
194
-i " pandas.Timestamp.value GL08" \
195
195
-i " pandas.Timestamp.year GL08" \
196
- -i " pandas.api.extensions.ExtensionArray._pad_or_backfill PR01,RT03,SA01" \
197
196
-i " pandas.api.extensions.ExtensionArray._reduce RT03,SA01" \
198
197
-i " pandas.api.extensions.ExtensionArray._values_for_factorize SA01" \
199
198
-i " pandas.api.extensions.ExtensionArray.astype SA01" \
Original file line number Diff line number Diff line change @@ -1032,6 +1032,12 @@ def _pad_or_backfill(
1032
1032
maximum number of entries along the entire axis where NaNs will be
1033
1033
filled.
1034
1034
1035
+ limit_area : {'inside', 'outside'} or None, default None
1036
+ Specifies which area to limit filling.
1037
+ - 'inside': Limit the filling to the area within the gaps.
1038
+ - 'outside': Limit the filling to the area outside the gaps.
1039
+ If `None`, no limitation is applied.
1040
+
1035
1041
copy : bool, default True
1036
1042
Whether to make a copy of the data before filling. If False, then
1037
1043
the original should be modified and no new memory should be allocated.
@@ -1043,6 +1049,16 @@ def _pad_or_backfill(
1043
1049
Returns
1044
1050
-------
1045
1051
Same type as self
1052
+ The filled array with the same type as the original.
1053
+
1054
+ See Also
1055
+ --------
1056
+ Series.ffill : Forward fill missing values.
1057
+ Series.bfill : Backward fill missing values.
1058
+ DataFrame.ffill : Forward fill missing values in DataFrame.
1059
+ DataFrame.bfill : Backward fill missing values in DataFrame.
1060
+ api.types.isna : Check for missing values.
1061
+ api.types.isnull : Check for missing values.
1046
1062
1047
1063
Examples
1048
1064
--------
You can’t perform that action at this time.
0 commit comments