how do i remove a column in pandas code example
Example 1: drop columns pandas
df.drop(columns=['B', 'C'])
Example 2: drop a column from dataframe
df = df.drop('column_name', 1)
df.drop(columns=['B', 'C'])
df = df.drop('column_name', 1)