Skip to content

Commit 9aefaa4

Browse files
amgcctwoertwein
authored andcommitted
Fix pd.concat to accept None values as input.
1 parent daa3f27 commit 9aefaa4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas-stubs/core/reshape/concat.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ from pandas._typing import (
2424

2525
@overload
2626
def concat(
27-
objs: Iterable[DataFrame] | Mapping[HashableT1, DataFrame],
27+
objs: Iterable[DataFrame | None] | Mapping[HashableT1, DataFrame],
2828
*,
2929
axis: AxisIndex = ...,
3030
join: Literal["inner", "outer"] = ...,
@@ -38,7 +38,7 @@ def concat(
3838
) -> DataFrame: ...
3939
@overload
4040
def concat(
41-
objs: Iterable[Series] | Mapping[HashableT1, Series],
41+
objs: Iterable[Series | None] | Mapping[HashableT1, Series],
4242
*,
4343
axis: AxisIndex = ...,
4444
join: Literal["inner", "outer"] = ...,
@@ -52,7 +52,7 @@ def concat(
5252
) -> Series: ...
5353
@overload
5454
def concat(
55-
objs: Iterable[Series | DataFrame] | Mapping[HashableT1, Series | DataFrame],
55+
objs: Iterable[Series | DataFrame | None] | Mapping[HashableT1, Series | DataFrame],
5656
*,
5757
axis: AxisColumn,
5858
join: Literal["inner", "outer"] = ...,

0 commit comments

Comments
 (0)