Error Message in 5:35 of Creating DataFrame from Scratch - Part I
The Instructor had stated at the abovementioned timing that there is an error message due to the incomplete data in the column
However, the error seem to be caused by the a missing comma in line 4 of the code. When i have input the same code, with comma, a dataframe did return but with the missing row value as an NAN
Confusingly, an error did surface when I used a different method to create the dataframe
could someone kindly advice with an explanation of what is going on? Why is there an error in one but not the other and was there some kind of mistake made by the Instructor?