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)
Hi, Colton!
Yes, you can. But in terms of length, sometimes Python displays
The 365 Team
...
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