Skip to content

Commit 8a44e0a

Browse files
committed
Update docstring of DataFrame.__init__
1 parent dc8155f commit 8a44e0a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/core/frame.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -513,12 +513,12 @@ class DataFrame(NDFrame, OpsMixin):
513513
514514
Parameters
515515
----------
516-
data : ndarray (structured or homogeneous), Iterable, dict, or DataFrame
517-
Dict can contain Series, arrays, constants, dataclass or list-like objects. If
518-
data is a dict, column order follows insertion-order. If a dict contains Series
519-
which have an index defined, it is aligned by its index. This alignment also
520-
occurs if data is a Series or a DataFrame itself. Alignment is done on
521-
Series/DataFrame inputs.
516+
data : ndarray (structured or homogeneous), Iterable, Mapping, or DataFrame
517+
Mapping can contain Series, arrays, constants, dataclass or list-like objects.
518+
If data is a Mapping, column order follows insertion-order. If a Mapping
519+
contains Series which have an index defined, it is aligned by its index. This
520+
alignment also occurs if data is a Series or a DataFrame itself. Alignment is
521+
done on Series/DataFrame inputs.
522522
523523
If data is a list of dicts, column order follows insertion-order.
524524

0 commit comments

Comments
 (0)