File tree 5 files changed +0
-8
lines changed
5 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,6 @@ def _fill_mask_inplace(
304
304
# (for now) when self.ndim == 2, we assume axis=0
305
305
func = missing .get_fill_func (method , ndim = self .ndim )
306
306
func (self ._ndarray .T , limit = limit , mask = mask .T )
307
- return
308
307
309
308
@doc (ExtensionArray .fillna )
310
309
def fillna (
Original file line number Diff line number Diff line change @@ -1556,7 +1556,6 @@ def _fill_mask_inplace(
1556
1556
func (npvalues , limit = limit , mask = mask .copy ())
1557
1557
new_values = self ._from_sequence (npvalues , dtype = self .dtype )
1558
1558
self [mask ] = new_values [mask ]
1559
- return
1560
1559
1561
1560
def _rank (
1562
1561
self ,
Original file line number Diff line number Diff line change @@ -258,7 +258,6 @@ def interpolate_array_2d(
258
258
fill_value = fill_value ,
259
259
** kwargs ,
260
260
)
261
- return
262
261
263
262
264
263
def _interpolate_2d_with_fill (
@@ -341,7 +340,6 @@ def func(yvalues: np.ndarray) -> None:
341
340
# Sequence[Sequence[Sequence[_SupportsArray[dtype[<nothing>]]]]],
342
341
# Sequence[Sequence[Sequence[Sequence[_SupportsArray[dtype[<nothing>]]]]]]]]"
343
342
np .apply_along_axis (func , axis , data ) # type: ignore[arg-type]
344
- return
345
343
346
344
347
345
def _index_to_interp_indices (index : Index , method : str ) -> np .ndarray :
@@ -762,8 +760,6 @@ def _interpolate_with_limit_area(
762
760
763
761
values [invalid ] = np .nan
764
762
765
- return
766
-
767
763
768
764
def interpolate_2d (
769
765
values : np .ndarray ,
Original file line number Diff line number Diff line change @@ -151,7 +151,6 @@ def f_scalar(group):
151
151
def f_none (group ):
152
152
# GH10519, GH12155, GH21417
153
153
names .append (group .name )
154
- return None
155
154
156
155
def f_constant_df (group ):
157
156
# GH2936, GH20084
Original file line number Diff line number Diff line change @@ -135,7 +135,6 @@ disable = [
135
135
" unnecessary-list-index-lookup" ,
136
136
" use-a-generator" ,
137
137
" useless-option-value" ,
138
- " useless-return" ,
139
138
140
139
# pylint type "W": warning, for python specific problems
141
140
" abstract-method" ,
You can’t perform that action at this time.
0 commit comments