qobjects = [
{
question: "True or False. A DataFrame is like a table with rows and columns.",
options: [
"True",
"False"
],
correct: 0
},
{
fillintheblanks: "exercise_dataframes1.htm",
},
{
fillintheblanks: "exercise_dataframes2.htm",
},
{
fillintheblanks: "exercise_dataframes3.htm",
},
{
question: "Consider the following Code:data = {
'calories': [420, 380, 390],
'duration': [50, 40, 45]
}
df = pd.DataFrame(data)
print(df.loc[0])
What type will the printed result have?",
options: [
"A String",
"An Integer",
"A Pandas Series",
"A Pandas DataFrame",
],
correct: 2
},
{
fillintheblanks: "exercise_dataframes5.htm",
},
{
fillintheblanks: "exercise_dataframes6.htm",
},
{
fillintheblanks: "exercise_dataframes7.htm",
},
{
fillintheblanks: "exercise_dataframes8.htm",
}
]