Error in output of dataframe

can you please explain me why my output is so different than what i expect it to be or what it is showing in the lecture. why is not displaying the values from the table in its respective position in the dataframe