human
Python Pandas drop columns based on max value of column
assistant
Here is some code to drop all columns in dataframe `df` that holds a maximum value bigger than 0

df.columns[df.max() > 0]

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