The method race.tail()
is used to display the last five rows of a DataFrame in pandas. Therefore, the correct response is:
last five rows of the table
A table with the results for 10 men in a 100-meter sprint including their place, name, country, and time, including:
1 Kim Collins SKN 10.01
2 Leonard Scott USA 10.10
3 Michael Frater JAM 10.11
4 Jason Gardener UK 10.12
5 Marlon Devonish UK 10.13
6 Darrel Brown TRI 10.14
7 Marc Burns TRI 10.15
8 Ainsley Waugh JAM 10.31
9 Daniel Plummer UK 10.46
DQ Maurice Greene USA DQ
Source: Oxford Designers & Illustrators Ltd. Pearson Education Ltd
Consider the relation race. Which rows of data will be displayed by race.tail()?
(1 point)
Responses
last five rows of the table
last five rows of the table
last three rows of the table
last three rows of the table
first three rows of the table
first three rows of the table
first five rows of the table
1 answer
The method race.tail()
is used to display the last five rows of a DataFrame in pandas. Therefore, the correct response is:
last five rows of the table