8000 TYP: _config/config.py && core/{apply,construction}.py by ShaharNaveh · Pull Request #30734 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TYP: _config/config.py && core/{apply,construction}.py #30734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jan 16, 2020
Next Next commit
TYP: pandas/core/apply.py
  • Loading branch information
MomIsBestFriend committed Jan 6, 2020
commit 2610ba2753d615a313f325f4b1126d78ec6aaff4
9 changes: 5 additions & 4 deletions pandas/core/apply.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import abc
import inspect
from typing import TYPE_CHECKING, Any, Dict, Iterator, Tuple, Type, Union
from typing import TYPE_CHECKING, Any, Dict, Iterator, Optional, Tuple, Type, Union

import numpy as np

from pandas._libs import reduction as libreduction
from pandas._typing import Axis
from pandas.util._decorators import cache_readonly

from pandas.core.dtypes.common import (
Expand All @@ -26,9 +27,9 @@
def frame_apply(
obj: "DataFrame",
func,
axis=0,
axis: Axis = 0,
raw: bool = False,
result_type=None,
result_type: Optional[str] = None,
ignore_failures: bool = False,
args=None,
kwds=None,
Expand Down Expand Up @@ -87,7 +88,7 @@ def __init__(
obj: "DataFrame",
func,
raw: bool,
result_type,
result_type: Optional[str],
ignore_failures: bool,
args,
kwds,
Expand Down
0