cara menghapus kolom dari dataframe di python
del df['column']
Bewildered Barracuda
del df['column']
cols = [c for c in df.columns if c.lower()[:6] != 'string']
df=df[cols]
DataFrame.drop(self, labels=None, axis=0, index=None, columns=None, level=None, inplace=False, errors='raise')[source]