drop columns with certain values pandas code example
Example 1: remove columns from dataframe
df.drop('col_name',1) #1 drop column / 0 drop row
Example 2: remove a columns in pandas
DataFrame.drop(self, labels=None, axis=0, index=None, columns=None, level=None, inplace=False, errors='raise')[source]