Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pandas/sparse/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,8 @@ def astype(self, dtype=None, copy=True):

def copy(self, deep=True):
"""
Make a copy of the SparseSeries. Only the actual sparse values need to
be copied
Make a copy of the SparseArray. Only the actual sparse values need to
be copied.
"""
if deep:
values = self.sp_values.copy()
Expand All @@ -559,9 +559,9 @@ def copy(self, deep=True):

def count(self):
"""
Compute sum of non-NA/null observations in SparseSeries. If the
Compute sum of non-NA/null observations in SparseArray. If the
fill_value is not NaN, the "sparse" locations will be included in the
observation count
observation count.

Returns
-------
Expand Down