Deja caer una columna en pandas
note: df is your dataframe
df = df.drop('coloum_name',axis=1)
JAKKA9
note: df is your dataframe
df = df.drop('coloum_name',axis=1)
df.drop(columns=['Unnamed: 0'])
del df['column_name']
df = df.drop(df.columns[[0, 1, 3]], axis=1) # df.columns is zero-based pd.Index
del df['column']
df.drop('col_name',1) #1 drop column / 0 drop row