Hapus kolom dari DataFrame
df.drop('column_name', axis=1, inplace=True)
Healthy Hawk
df.drop('column_name', axis=1, inplace=True)
# Best method so far.
df = df.loc[:, ~df.columns.str.contains('^Unnamed')]
del df['column_name']
df.to_csv(path, index=False)