pythondask

How to show all the data from my dask array in python?


I have a variable called "sum" with this information:

sum (time, lat, lon)float32 dask.array<chunksize=(1, 18, 3600), meta=np.ndarray>

How do I show all the data that this variable has?


Solution

  • You should not keep your variable name `sum`.

    sum is a built-in function name.

    Please change your variable name.

    Call .compute() when you want your result as a NumPy array.

    your_variable.compute()
    

    https://examples.dask.org/array.html