Question
Given a Pandas series called sequences, the command which will display the first 4 rows is $\qquad$(A) print (sequences.head(4))(B) print (sequences.Head(4))(C) print (sequences.heads(4))(D) print (sequences.Heads(4))
Step 1
The method used for this purpose is `head()`, which returns the first n rows of the series. Show more…
Show all steps
Your feedback will help us improve your experience
Watch the video solution with this free unlock.
EMAIL
PASSWORD