dataframe drop column by column indx code example Example: python pandas drop column by index df.drop(a_dataframe.columns[0], axis=1, inplace=True)