-
- Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
Description
The DataFrame.copy documentation (for pandas 0.22.0) states:
deep : boolean or string, default True Make a deep copy, including a copy of the data and the indices. With deep=False neither the indices or the data are copied. Note that when deep=True data is copied, actual python objects will not be copied recursively, only the reference to the object. This is in contrast to copy.deepcopy in the Standard Library, which recursively copies object data. Problem description
The documentation does not state what is copied when deep=False (it doesn't copy data, it doesn't copy indices, what does it copy then?).
Searching for 'copy' suggests this has not been reported as an issue.