We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a81215e commit b6b90d1Copy full SHA for b6b90d1
1 file changed
src/blosc2/ndarray.py
@@ -4427,7 +4427,7 @@ def asarray(
4427
if not isinstance(array, NDArray):
4428
raise ValueError("Must always do a copy for asarray unless NDArray provided.")
4429
# TODO: make a direct view possible
4430
- return blosc2.expand_dims(array, axis=0).squeeze(axis=0) # way to get a view
+ return array
4431
4432
return ndarr
4433
0 commit comments