Home / Report Question

Q. Which method is used to set a column as the index of a DataFrame?
  • A. set_index()
  • B. index_column()
  • C. assign_index()
  • D. reset_index()