odd question indeed.
head() and take() methods perform a similar operation of retrieving rows from the beginning of the DataFrame. However, head() may be slightly slower than take() due to additional checks for boundary conditions. I can't see the difference in terms of retrieving 1st three rows.
Both head and take gives list as an output , am confused need to do more investigation
upvoted 2 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
azure_bimonster
9 months, 3 weeks agonewusername
1 year, 2 months agocookiemonster42
1 year, 3 months agoryanmu
1 year, 5 months agozozoshanky
1 year, 4 months ago