Skip to content

Commit 63d9ab2

Browse files
remove unnecessary variable annotation
1 parent e6c5f5a commit 63d9ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def apply(self, f, data: FrameOrSeries, axis: int = 0):
152152
group_keys = self._get_group_keys()
153153
result_values = None
154154

155-
sdata = splitter._get_sorted_data() # type: FrameOrSeries
155+
sdata = splitter._get_sorted_data()
156156
if sdata.ndim == 2 and np.any(sdata.dtypes.apply(is_extension_array_dtype)):
157157
# calling splitter.fast_apply will raise TypeError via apply_frame_axis0
158158
# if we pass EA instead of ndarray

0 commit comments

Comments
 (0)