Skip to content

Commit 1aded67

Browse files
committed
DOC: Document return type from concat
For a single Series. Closes pandas-dev#17952
1 parent c277cd7 commit 1aded67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/core/reshape/concat.py

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ def concat(objs, axis=0, join='outer', join_axes=None, ignore_index=False,
6666
Returns
6767
-------
6868
concatenated : object, type of objs
69+
When concatenating all ``Series`` along the index, a ``Series`` is
70+
returned. When ``objs`` includes at least one ``DataFrame`` or when
71+
concatenating along the columns, a ``DataFrame`` is returned.
6972
7073
Notes
7174
-----

0 commit comments

Comments
 (0)