qobjects = [
{
question: "What is a correct syntax for printing the first 10 rows of a DataFrame?",
options: [
"print(df.top(10))",
"print(df.display(10))",
"print(df.head(10))"
],
correct: 2
},
{
question: "What is a correct syntax for printing the last 10 rows of a DataFrame?",
options: [
"print(df.last(10))",
"print(df.display(-10))",
"print(df.tail(10))"
],
correct: 2
},
{
question: "True or False. If number of rows is not specified, the tail() method will return all rows.",
options: [
"True",
"False"
],
correct: 1
}
]