Ravindra BagaleCourses & study guides मराठी Track your progress

17. Practice Exercises with Answer Hints

Data Science

17.5 Charts and Story

Exercise I. Horizontal bar of Delivered GMV by city; save PNG.

Hint I

groupby sum → sort_values → plot(kind="barh") → savefig.

Exercise J. Six-line manager story for fictional Diwali spike (no ML).

Hint J

Follow Chapter 15 template: headline, two evidences, caveat, ask.

Ravindra Bagale's Tip

Try Exercise I on your own for ten minutes before you open Hint I. With plot(kind="barh"), pandas draws the first row at the bottom, so sort with sort_values() in ascending order if you want the biggest city at the top. Save the chart with savefig, so your six-line story in Exercise J can point to that PNG.

Practice task

Pick any three exercises, time yourself (25 minutes total), and paste outputs into your notebook with a short “what I struggled with” note.

Thodkyaat sangaycha tar (quick recap)

  • Filter → groupby → merge → clean → dates → melt → chart → story
  • Hints are scaffolds, not answer keys

Samajla ka? Aata pudhe jaauya interview questions and answers.