delete row pandas dataframe code example
Example 1: drop columns pandas
df.drop(columns=['B', 'C'])
Example 2: drop a column in pandas
note: df is your dataframe
df = df.drop('coloum_name',axis=1)
df.drop(columns=['B', 'C'])
note: df is your dataframe
df = df.drop('coloum_name',axis=1)