Skip to content

Commit ee645f0

Browse files
rephrase
1 parent 19ccb4b commit ee645f0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pandas/core/series.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,12 @@ class Series(base.IndexOpsMixin, NDFrame): # type: ignore[misc]
266266
name : Hashable, default None
267267
The name to give to the Series.
268268
copy : bool, default None
269-
Copy input data. By default, will copy if the input data is a numpy or
270-
pandas array. Set to False to avoid copying, at your own risk (if you
269+
Whether to copy input data. Only affects array or Series/Index input,
270+
because for other input (e.g. a list) a new array is created anyway.
271+
By default, will copy if the input data is a numpy or pandas array.
272+
For Series/Index input, a shallow copy of the data is made by default.
273+
Set to False to avoid copying array input, at your own risk (if you
271274
know the input data won't be modified elsewhere).
272-
Only affects Series or 1d ndarray input. See examples.
273275
274276
See Also
275277
--------

0 commit comments

Comments
 (0)