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 3131
3232if TYPE_CHECKING :
3333 from pandas import DataFrame
34+ from pandas .core .generic import NDFrame
3435
3536# ---------------------------------------------------------------------
3637# Concatenate DataFrame objects
@@ -54,7 +55,7 @@ def concat(
5455
5556@overload
5657def concat (
57- objs : Union [Iterable [FrameOrSeries ], Mapping [Label , FrameOrSeries ]],
58+ objs : Union [Iterable ["NDFrame" ], Mapping [Label , "NDFrame" ]],
5859 axis = 0 ,
5960 join : str = "outer" ,
6061 ignore_index : bool = False ,
@@ -69,7 +70,7 @@ def concat(
6970
7071
7172def concat (
72- objs : Union [Iterable [FrameOrSeries ], Mapping [Label , FrameOrSeries ]],
73+ objs : Union [Iterable ["NDFrame" ], Mapping [Label , "NDFrame" ]],
7374 axis = 0 ,
7475 join = "outer" ,
7576 ignore_index : bool = False ,
You can’t perform that action at this time.
0 commit comments