<human>:  How to subset a data frame using Pandas based on a group criteria?
<bot>:.filter(lambda x: x.sum() == 0)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.