pandas.SparseArray.copy — pandas 0.24.2 documentation (original) (raw)

SparseArray. copy(deep=False)[source]

Return a copy of the array.

Parameters: deep : bool, default False Also copy the underlying data backing this array.
Returns: ExtensionArray