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
4 changes: 2 additions & 2 deletions pandas/core/arrays/sparse/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def from_spmatrix(cls, data):

return cls._simple_new(arr, index, dtype)

def __array__(self, dtype=None, copy=True) -> np.ndarray:
def __array__(self, dtype=None) -> np.ndarray:
fill_value = self.fill_value

if self.sp_index.ngaps == 0:
Expand Down Expand Up @@ -1515,7 +1515,7 @@ def _formatter(self, boxed=False):
SparseArray._add_unary_ops()


def make_sparse(arr: np.ndarray, kind="block", fill_value=None, dtype=None, copy=False):
def make_sparse(arr: np.ndarray, kind="block", fill_value=None, dtype=None):
"""
Convert ndarray to sparse format

Expand Down