Jak usunąć kolumnę z ramki danych w 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]