Last answered:

04 Oct 2019

Posted on:

04 Oct 2019

0

Display function

At 4:48 we did display(df) to see the dataframe, but why? Isn't just writing df enough? What is the difference? I did both and they seemed the same to me.
1 answers ( 0 marked as helpful)
Instructor
Posted on:

04 Oct 2019

0
Hi, Colton!   Yes, you can. But in terms of length, sometimes Python displays ... instead of all the rows. I.e. visually, in the output, multiple rows can be skipped in the middle of the table.   To avoid this, we can use display(df).   Hope this helps. Best,
The 365 Team

Submit an answer