I am attempting to remove some columns from a DataFrame. I can successfully remove the first column but when I attempt to remove the second, it failed and I am not sure why.
Code:
I have also attempted with the same outcome:
df.drop(["StockName", "DirectorName"], 1)