cutting out first column of a dataframe python code example
Example 1: drop a column in pandas
note: df is your dataframe
df = df.drop('coloum_name',axis=1)
Example 2: drop column dataframe
df.drop(columns=['Unnamed: 0'])
note: df is your dataframe
df = df.drop('coloum_name',axis=1)
df.drop(columns=['Unnamed: 0'])