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