select second column and remove in pandas code example
Example 1: drop multiple columns pandas
yourdf.drop(['columnheading1', 'columnheading2'], axis=1, inplace=True)
Example 2: drop column dataframe
df.drop(columns=['Unnamed: 0'])
yourdf.drop(['columnheading1', 'columnheading2'], axis=1, inplace=True)
df.drop(columns=['Unnamed: 0'])