pandas iloc include header code example Example: pandas iloc include header new_header = df.iloc[0] df = df[1:] df.columns = new_header