get data from dataframe `df` where column 'x' is equal to 0,df.groupby('User')['X'].transform(sum) == 0