how to remove the first column in pandas dataframe code example
Example 1: drop columns pandas
df.drop(columns=['B', 'C'])
Example 2: delete a row in pandas dataframe
df.drop(df.index[2])
df.drop(columns=['B', 'C'])
df.drop(df.index[2])