0 votes
in Python Pandas by
How can we create copy of series in Pandas?

1 Answer

0 votes
by

pandas.Series.copy

Series.copy(deep=True)

pandas.Series.copy. 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.

Related questions

0 votes
asked Nov 9, 2021 in Python Pandas by Robin
0 votes
asked Nov 9, 2021 in Python Pandas by Robin
...