LearnPy Hub
← All topics
Topic Practice · Data Science

Pandas: Cleaning & Preprocessing problems

50 problems: 22 Easy, 18 Medium, 10 Hard.

Review the Pandas: Cleaning & Preprocessing lesson
✓1. Sales per Region
4 test cases
EasyNot tracked
✓2. Orders per Product
4 test cases
EasyNot tracked
✓3. Count Missing Values
4 test cases
EasyNot tracked
✓4. Complete Rows Only
4 test cases
EasyNot tracked
✓5. Fill With Zero
4 test cases
EasyNot tracked
✓6. Total and Average Sale
4 test cases
EasyNot tracked
✓7. Which Products Were Sold?
4 test cases
EasyNot tracked
✓8. Biggest Single Sale
4 test cases
EasyNot tracked
✓9. Rows With Something Missing
4 test cases
EasyNot tracked
✓10. Biggest Sale in Each Region
4 test cases
EasyNot tracked
✓11. Total per Product
4 test cases
EasyNot tracked
✓12. Orders per Region
4 test cases
EasyNot tracked
✓13. Marks Present
4 test cases
EasyNot tracked
✓14. Fill With the Median
4 test cases
EasyNot tracked
✓15. Drop Rows Missing English
4 test cases
EasyNot tracked
✓16. Who Is Missing Math?
4 test cases
EasyNot tracked
✓17. Mean Skips the Gaps
4 test cases
EasyNot tracked
✓18. Average Sale per Region
4 test cases
EasyNot tracked
✓19. Only Tea Sales
4 test cases
EasyNot tracked
✓20. Sales From Largest to Smallest
4 test cases
EasyNot tracked
✓21. Add a Month Column
4 test cases
EasyNot tracked
✓22. Total Marks With Gaps as Zero
4 test cases
EasyNot tracked
✓23. Average per Region
4 test cases
MediumNot tracked
✓24. Several Summaries
4 test cases
MediumNot tracked
✓25. Best Region
4 test cases
MediumNot tracked
✓26. Fill With the Mean
4 test cases
MediumNot tracked
✓27. Sales by Month
4 test cases
MediumNot tracked
✓28. Busiest Weekday
4 test cases
MediumNot tracked
✓29. Remove Duplicates
4 test cases
MediumNot tracked
✓30. Merge Tables
4 test cases
MediumNot tracked
✓31. Clean Messy Text
4 test cases
MediumNot tracked
✓32. Biggest Sale per Region
4 test cases
MediumNot tracked
✓33. Orders Table
4 test cases
MediumNot tracked
✓34. Rolling Average
4 test cases
MediumNot tracked
✓35. Rank Within Each Region
4 test cases
MediumNot tracked
✓36. Outliers With the IQR Rule
4 test cases
MediumNot tracked
✓37. Min-Max Scaling
4 test cases
MediumNot tracked
✓38. One-Hot Encode the Region
4 test cases
MediumNot tracked
✓39. Label Encode the Product
4 test cases
MediumNot tracked
✓40. Each Student's Average
4 test cases
MediumNot tracked
✓41. Pivot Table
4 test cases
HardNot tracked
✓42. Top Sales
4 test cases
HardNot tracked
✓43. Share of Total
4 test cases
HardNot tracked
✓44. Running Total by Date
4 test cases
HardNot tracked
✓45. Regions Over a Target
4 test cases
HardNot tracked
✓46. Grade Bands with cut
4 test cases
HardNot tracked
✓47. Change From Month to Month
4 test cases
HardNot tracked
✓48. Did Each Region Hit Its Target?
4 test cases
HardNot tracked
✓49. Messy Rows to a Clean Table
4 test cases
HardNot tracked
✓50. Encode and Scale for a Model
4 test cases
HardNot tracked
← Back to all topics
Pandas: Cleaning & Preprocessing practice problems · LearnPy Hub