File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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 --------
You can’t perform that action at this time.
0 commit comments