Do you want to know the details regarding “delete unnamed coloumns in pandas”. If yes, you’re in the correct tutorial.
delete unnamed coloumns in pandas
df.drop('column_name', axis=1, inplace=True)
# Best method so far. df = df.loc[:, ~df.columns.str.contains('^Unnamed')]
del df['column_name'] #to remove a column from dataframe
I hope this tutorial helps you to know about “delete unnamed coloumns in pandas”. If you have any doubts regarding this tutorial please let us know via the comment section. Share this article with your friends & family via social networks.