I'm trying to learn to walkaround with dask for my machine learning project.
My data set is too big to play with Pandas, so I must stay in lazy loading.
here a smal sample to show how it is set up:

I try style pandas, but it run with no end...
clean = ds[ds['ptype'] == 0]
this way is same result:
ds_filtered = ds.where(ds['ptype'] != 0, drop=True)
co-pilot show me somes other way but without lazy loading or juste not working solution
UP DATE:
a new way I try, but the ouput df is same as innitial, dimension time not shorter like expected.
def remove_no_prcp(df):
return df[df['ptype'] != 0]
resample = xr.apply_ufunc(remove_no_prcp, ds.chunk({'time': -1}), dask='parallelized', output_dtypes=[float])