Skip to content

Commit cbe40d5

Browse files
authored
DOC: Added info on dict of Series with copy=False solution (#45455)
* DOC: Added info on dict of Series with copy=False solution * DOC: fixed whitespace issue * DOCS: added wording changes from conversation * DOC: changing to better wording again
1 parent 93f7968 commit cbe40d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/frame.py

+2
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,8 @@ class DataFrame(NDFrame, OpsMixin):
490490
Copy data from inputs.
491491
For dict data, the default of None behaves like ``copy=True``. For DataFrame
492492
or 2d ndarray input, the default of None behaves like ``copy=False``.
493+
If data is a dict containing one or more Series (possibly of different dtypes),
494+
``copy=False`` will ensure that these inputs are not copied.
493495
494496
.. versionchanged:: 1.3.0
495497

0 commit comments

Comments
 (0)