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