Skip to content

Commit 11ca57f

Browse files
gfyoungjreback
authored andcommitted
DOC: Remove SparseSeries from SparseArray doc (pandas-dev#14769)
1 parent de1132d commit 11ca57f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/sparse/array.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,8 @@ def astype(self, dtype=None, copy=True):
547547

548548
def copy(self, deep=True):
549549
"""
550-
Make a copy of the SparseSeries. Only the actual sparse values need to
551-
be copied
550+
Make a copy of the SparseArray. Only the actual sparse values need to
551+
be copied.
552552
"""
553553
if deep:
554554
values = self.sp_values.copy()
@@ -559,9 +559,9 @@ def copy(self, deep=True):
559559

560560
def count(self):
561561
"""
562-
Compute sum of non-NA/null observations in SparseSeries. If the
562+
Compute sum of non-NA/null observations in SparseArray. If the
563563
fill_value is not NaN, the "sparse" locations will be included in the
564-
observation count
564+
observation count.
565565
566566
Returns
567567
-------

0 commit comments

Comments
 (0)