pandas drop first row and reset index code example Example: reset index pandas df.reset_index(drop=True)