drop 5th column number pandas code example
Example 1: drop a column in pandas
note: df is your dataframe
df = df.drop('coloum_name',axis=1)
Example 2: drop the first column pandas
df.set_index['column'] # column refers to column to be set as index