Skip to content

Commit e50ddb3

Browse files
TomAugspurgerPingviinituutti
authored andcommitted
DOC/TST: Fix warning in concat docstring (pandas-dev#23529)
xref pandas-dev#23149
1 parent 108f2ae commit e50ddb3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/core/reshape/concat.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ def concat(objs, axis=0, join='outer', join_axes=None, ignore_index=False,
177177
letter number animal
178178
0 c 3 cat
179179
1 d 4 dog
180-
>>> pd.concat([df1, df3])
181-
animal letter number
182-
0 NaN a 1
183-
1 NaN b 2
184-
0 cat c 3
185-
1 dog d 4
180+
>>> pd.concat([df1, df3], sort=False)
181+
letter number animal
182+
0 a 1 NaN
183+
1 b 2 NaN
184+
0 c 3 cat
185+
1 d 4 dog
186186
187187
Combine ``DataFrame`` objects with overlapping columns
188188
and return only those that are shared by passing ``inner`` to

0 commit comments

Comments
 (0)