Skip to content

Commit

Permalink
BUG: Concat typing (#36409)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhshadrach authored Sep 19, 2020
1 parent 51b0165 commit 20ee6d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pandas/core/reshape/concat.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

if TYPE_CHECKING:
from pandas import DataFrame
from pandas.core.generic import NDFrame

# ---------------------------------------------------------------------
# Concatenate DataFrame objects
Expand All @@ -54,7 +55,7 @@ def concat(

@overload
def concat(
objs: Union[Iterable[FrameOrSeries], Mapping[Label, FrameOrSeries]],
objs: Union[Iterable["NDFrame"], Mapping[Label, "NDFrame"]],
axis=0,
join: str = "outer",
ignore_index: bool = False,
Expand All @@ -69,7 +70,7 @@ def concat(


def concat(
objs: Union[Iterable[FrameOrSeries], Mapping[Label, FrameOrSeries]],
objs: Union[Iterable["NDFrame"], Mapping[Label, "NDFrame"]],
axis=0,
join="outer",
ignore_index: bool = False,
Expand Down

0 comments on commit 20ee6d2

Please sign in to comment.