Skip to content

Commit f9efd2a

Browse files
committed
DOC: Add info on memory location sharing when copy=False (pandas-dev#41423).
Update is on main Series documentation.
1 parent afcf180 commit f9efd2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/series.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ class Series(base.IndexOpsMixin, generic.NDFrame):
223223
name : str, optional
224224
The name to give to the Series.
225225
copy : bool, default False
226-
Copy input data.
226+
Copy input data. If False and the Series returns a `view` of the data,
227+
the memory location for the values is shared. If False and the Series returns a `copy`
228+
of the data, the memory location for the values is not shared.
227229
228230
Examples
229231
--------

0 commit comments

Comments
 (0)