1

Which method is used to shift the data in a Series or DataFrame by a certain number of periods?

Correct Answer: shift()

Make the most of this question

This page focuses on one Pandas MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Pandas MCQs MCQ: Which method is used to shift the data in a Series or DataFrame by a certain number of periods? | Extra Education