I understand that to drop a column you use df.drop(‘column name’, axis=1). Is there a way to drop a column using a numerical index instead of the column name?

11 Answers
11

Leave a Reply

Your email address will not be published. Required fields are marked *