Skip to content

Commit d2d1b49

Browse files
committed
type func arg of core.apply.frame_apply
1 parent 3f85df4 commit d2d1b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/apply.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from pandas._config import option_context
88

9-
from pandas._typing import Axis, FrameOrSeriesUnion
9+
from pandas._typing import ApplyFuncType, Axis, FrameOrSeriesUnion
1010
from pandas.util._decorators import cache_readonly
1111

1212
from pandas.core.dtypes.common import (
@@ -27,7 +27,7 @@
2727

2828
def frame_apply(
2929
obj: "DataFrame",
30-
func,
30+
func: ApplyFuncType,
3131
axis: Axis = 0,
3232
raw: bool = False,
3333
result_type: Optional[str] = None,

0 commit comments

Comments
 (0)