File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 31
31
32
32
if TYPE_CHECKING :
33
33
from pandas import DataFrame
34
+ from pandas .core .generic import NDFrame
34
35
35
36
# ---------------------------------------------------------------------
36
37
# Concatenate DataFrame objects
@@ -54,7 +55,7 @@ def concat(
54
55
55
56
@overload
56
57
def concat (
57
- objs : Union [Iterable [FrameOrSeries ], Mapping [Label , FrameOrSeries ]],
58
+ objs : Union [Iterable ["NDFrame" ], Mapping [Label , "NDFrame" ]],
58
59
axis = 0 ,
59
60
join : str = "outer" ,
60
61
ignore_index : bool = False ,
@@ -69,7 +70,7 @@ def concat(
69
70
70
71
71
72
def concat (
72
- objs : Union [Iterable [FrameOrSeries ], Mapping [Label , FrameOrSeries ]],
73
+ objs : Union [Iterable ["NDFrame" ], Mapping [Label , "NDFrame" ]],
73
74
axis = 0 ,
74
75
join = "outer" ,
75
76
ignore_index : bool = False ,
You can’t perform that action at this time.
0 commit comments