Series.sparse.
sp_values
An ndarray containing the non- fill_value values.
fill_value
Examples
>>> s = SparseArray([0, 0, 1, 0, 2], fill_value=0) >>> s.sp_values array([1, 2])