Pandas – Drop function error (label not contained in axis)
You must specify the axis argument. default is axis = 0 which is rows columns is axis = 1. so this should be your code. edit: looking at this piece of code: The code you used does not specify that the first column of the csv file contains the index for the dataframe. Thus pandas … Read more