delete first row of dataframe pandas code example
Example 1: pandas delete first row
df = df.iloc[3:]
Example 2: drop the first column pandas
df.set_index['column'] # column refers to column to be set as index
df = df.iloc[3:]
df.set_index['column'] # column refers to column to be set as index