Home / Report Question

Q. Which pandas method is used to change column names in-place?
  • A. columns()
  • B. rename(columns=..., inplace=True)
  • C. set_columns()
  • D. update_columns()