Skip to content

Commit 220efdc

Browse files
committed
Added type-hints to _python_apply_general
1 parent 587ad7e commit 220efdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/groupby.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ def f(g):
851851

852852
return result
853853

854-
def _python_apply_general(self, f: F, data: Union[DataFrame, Series]):
854+
def _python_apply_general(self, f: F, data: Union[Series, DataFrame]):
855855
"""
856856
Apply function f in python space
857857

0 commit comments

Comments
 (0)