S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which method is used to create a pivot table in pandas?

  • (A) pivot()
  • (B) pivot_table()
  • (C) groupby()
  • (D) melt()
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
pivot_table() creates a spreadsheet-style pivot table for aggregation and analysis.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics