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