databricks.koalas.Series.copy

Series.copy(deep=None) → databricks.koalas.series.Series[source]

Make a copy of this object’s indices and data.

Parameters
deepNone

this parameter is not supported but just dummy parameter to match pandas.

Returns
copySeries

Examples

>>> s = ks.Series([1, 2], index=["a", "b"])
>>> s
a    1
b    2
dtype: int64
>>> s_copy = s.copy()
>>> s_copy
a    1
b    2
dtype: int64