What would be the equivalent of transforming this to a dask format
df['x'] = np.where(df['y'].isin(a_list), 'yes', 'no')
The df will be a dask dataframe with n partitions and a_list is a just a list of items.
The error I am getting if i just change np.where to da.where ,while using the dask dataframe is that number of partitions do not match 1 != n