What does df.drop(columns=['a'], inplace=True) return?
-
A
Null
-
B
True
-
C
False
-
D
None
Correct answer
13 views
Explanation
With inplace=True the frame is changed directly and the call returns None.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ