Quiz: Python pandas

We'll cover the following...

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.


1 / 10
...