We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f0cd7 commit b5412a1Copy full SHA for b5412a1
examples/ndarray/arange-constructor.py
@@ -19,7 +19,7 @@
19
shape = (N,)
20
print(f"*** Creating a blosc2 array with {N:_} elements (shape: {shape}) ***")
21
t0 = time()
22
-a = blosc2.arange(shape=shape, dtype=np.int32)
+a = blosc2.arange(N, shape=shape, dtype=np.int32)
23
cratio = a.schunk.nbytes / a.schunk.cbytes
24
print(
25
f"Time: {time() - t0:.3f} s ({N / (time() - t0) / 1e6:.2f} M/s)"
0 commit comments