I have some cvs data that has an empty column at the end of each row. I would like to leave it out of the import or alternatively delete it after import. My cvs data\'s have a v
Here's a one-liner that does not require specifying the column name
df.drop(df.columns[len(df.columns)-1], axis=1, inplace=True)