AiTeky Original Lesson 4 of 6 Learn 25 min ✓ Reviewed by Expert
Reshape tables: pivot_longer and pivot_wider
Turn a wide sheet with one column per subject or month into a long, tidy table with pivot_longer(), total it the usual way, and turn the answer back into a wide report with pivot_wider().
Sign up free to open every AiTeky Original lesson
It takes a minute with your email. AiTeky Pass (₹999/month or ₹9,999/year) is free for your first 30 days.

