0

I used this code to drop 4 columns from my dataframe.

HRdfMerged.drop(['Over18', 'StandardHours', 'MaritalStatus', 'RelationshipSatisfaction'], axis = 1)

When I run list(HRdfMerged) after dropping, those columns are still showing in my dataframe. Am I missing something?

0 Answers0