Quiz: Python pandas
Multiple-choice question
1
In the following example, what does inplace
do?
data.set_index("distance", inplace= True)
A)
It modifies the existing DataFrame without creating a copy.
B)
It creates and modifies a copy of the original DataFrame.
C)
It makes the code faster.
D)
None of the above.
Question 1 of 100 attempted
Get hands-on with 1400+ tech skills courses.