Error in the output of data frame

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