Data frame in Pandas has a method which takes a column name (for a regular…

PYQ DSSSB 2024

Data frame in Pandas has a method which takes a column name (for a regular index) or a list of column names to create a new, re-indexed data frame, which of the following is correct method?

  1. A.

    dFb

  2. B.

    data.index ( )

  3. C.

    set_index ( )

  4. D.

    dFmi

Attempted by 797 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…