Deleting a column using the iloc function of dataframe and slicing, when we have a typical column name with unwanted values:
df = df.iloc[:,1:] # Removing an unnamed index column Here 0 is the default row and 1 is the first column so ,1 where starts and stepping is taking default values, hence :,1: is our parameter for deleting the first column.