From 54fe015806f9aeab29faf7f8e38c70951a12a2c8 Mon Sep 17 00:00:00 2001 From: Connor Tann <71127464+connortann@users.noreply.github.com> Date: Thu, 7 Mar 2024 13:11:46 +0000 Subject: [PATCH] Add private module aliases for scipy.sparse Signed-off-by: Connor Tann <71127464+connortann@users.noreply.github.com> --- slicer/slicer_internal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slicer/slicer_internal.py b/slicer/slicer_internal.py index c3d1c59..98d7478 100644 --- a/slicer/slicer_internal.py +++ b/slicer/slicer_internal.py @@ -567,6 +567,8 @@ class UnifiedDataHandler: ("numpy", "ndarray"): ArrayHandler, ("scipy.sparse.csc", "csc_matrix"): ArrayHandler, ("scipy.sparse.csr", "csr_matrix"): ArrayHandler, + ("scipy.sparse._csc", "csc_matrix"): ArrayHandler, + ("scipy.sparse._csr", "csr_matrix"): ArrayHandler, ("scipy.sparse.dok", "dok_matrix"): ArrayHandler, ("scipy.sparse.lil", "lil_matrix"): ArrayHandler, ("pandas.core.frame", "DataFrame"): DataFrameHandler,