arrays = [np.identity(2), sps.eye(2), ss.eye(2), ss.eye(2, format='gcxs')]
[sparse2d(args) for args in arrays][<Compressed Sparse Row sparse array of dtype 'float64'
with 2 stored elements and shape (2, 2)>,
<Compressed Sparse Row sparse array of dtype 'float64'
with 2 stored elements and shape (2, 2)>,
<Compressed Sparse Row sparse array of dtype 'float64'
with 2 stored elements and shape (2, 2)>,
<Compressed Sparse Row sparse array of dtype 'float64'
with 2 stored elements and shape (2, 2)>]