We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dea988a commit 70f2846Copy full SHA for 70f2846
pandas/core/reshape/concat.py
@@ -31,6 +31,7 @@
31
32
if TYPE_CHECKING:
33
from pandas import DataFrame
34
+ from pandas.core.generic import NDFrame
35
36
# ---------------------------------------------------------------------
37
# Concatenate DataFrame objects
@@ -54,7 +55,7 @@ def concat(
54
55
56
@overload
57
def concat(
- objs: Union[Iterable[FrameOrSeries], Mapping[Label, FrameOrSeries]],
58
+ objs: Union[Iterable["NDFrame"], Mapping[Label, "NDFrame"]],
59
axis=0,
60
join: str = "outer",
61
ignore_index: bool = False,
@@ -69,7 +70,7 @@ def concat(
69
70
71
72
73
74
75
join="outer",
76
0 commit comments