replace dfno by the result of dropping the columns in the to_drop variable code example
Example: drop multiple columns pandas
yourdf.drop(['columnheading1', 'columnheading2'], axis=1, inplace=True)
yourdf.drop(['columnheading1', 'columnheading2'], axis=1, inplace=True)