KeyError: "['No'] not found in axis" stackoverflow code example Example: KeyError: "['Discount'] not found in axis" df = df.drop('Max',axis=1)