Skip to content

Commit 4bf6ad8

Browse files
authored
Update docstring of DataFrame.__init__
1 parent dc8155f commit 4bf6ad8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/frame.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -513,9 +513,9 @@ 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
516+
data : ndarray (structured or homogeneous), Iterable, Mapping, or DataFrame
517+
Mapping can contain Series, arrays, constants, dataclass or list-like objects. If
518+
data is a Mapping, column order follows insertion-order. If a Mapping contains Series
519519
which have an index defined, it is aligned by its index. This alignment also
520520
occurs if data is a Series or a DataFrame itself. Alignment is done on
521521
Series/DataFrame inputs.

0 commit comments

Comments
 (0)