Topic Practice · Data Science
NumPy problems
50 problems: 22 Easy, 18 Medium, 10 Hard.
✓1. Sum and Mean
4 test casesEasy✓2. Vectorised Maths
4 test casesEasy✓3. arange
4 test casesEasy✓4. Max and Position
4 test casesEasy✓5. Shape of a Grid
4 test casesEasy✓6. zeros, ones, full
4 test casesEasy✓7. Filter With a Mask
4 test casesEasy✓8. An Array Full of One Value
4 test casesEasy✓9. Slicing Arrays
4 test casesEasy✓10. Clip to a Range
4 test casesEasy✓11. Round, Floor and Ceil
4 test casesEasy✓12. Smallest and Its Position
4 test casesEasy✓13. Add Two Arrays
4 test casesEasy✓14. Square Every Element
4 test casesEasy✓15. What dtype?
4 test casesEasy✓16. How Many Elements?
4 test casesEasy✓17. Which Are Bigger Than k?
4 test casesEasy✓18. Sort an Array
4 test casesEasy✓19. Standard Deviation
4 test casesEasy✓20. First and Last Element
4 test casesEasy✓21. Unique Values
4 test casesEasy✓22. Absolute Values
4 test casesEasy✓23. Reshape
4 test casesMedium✓24. Row and Column Sums
4 test casesMedium✓25. Min-Max Scaling
4 test casesMedium✓26. np.where
4 test casesMedium✓27. Dot Product
4 test casesMedium✓28. Matrix Multiplication
4 test casesMedium✓29. Statistics
4 test casesMedium✓30. Counting Values
4 test casesMedium✓31. Cumulative Sum
4 test casesMedium✓32. Transpose and Flatten
4 test casesMedium✓33. Positions in Sorted Order
4 test casesMedium✓34. Joining Arrays
4 test casesMedium✓35. How Many Above Average?
4 test casesMedium✓36. Standardise With z-Scores
4 test casesMedium✓37. Quartiles
4 test casesMedium✓38. Grades With np.select
4 test casesMedium✓39. Sort Rows by a Column
4 test casesMedium✓40. Identity and Trace
4 test casesMedium✓41. Diagonals
4 test casesHard✓42. Broadcasting
4 test casesHard✓43. linspace
4 test casesHard✓44. Top Three Students
4 test casesHard✓45. Moving Average
4 test casesHard✓46. Distance Between Every Pair
4 test casesHard✓47. Game of Life
4 test casesHard✓48. Fibonacci by Matrix Power
4 test casesHard✓49. Solve Linear Equations
4 test casesHard✓50. Histogram Counts
4 test casesHard
4 test casesEasy✓2. Vectorised Maths
4 test casesEasy✓3. arange
4 test casesEasy✓4. Max and Position
4 test casesEasy✓5. Shape of a Grid
4 test casesEasy✓6. zeros, ones, full
4 test casesEasy✓7. Filter With a Mask
4 test casesEasy✓8. An Array Full of One Value
4 test casesEasy✓9. Slicing Arrays
4 test casesEasy✓10. Clip to a Range
4 test casesEasy✓11. Round, Floor and Ceil
4 test casesEasy✓12. Smallest and Its Position
4 test casesEasy✓13. Add Two Arrays
4 test casesEasy✓14. Square Every Element
4 test casesEasy✓15. What dtype?
4 test casesEasy✓16. How Many Elements?
4 test casesEasy✓17. Which Are Bigger Than k?
4 test casesEasy✓18. Sort an Array
4 test casesEasy✓19. Standard Deviation
4 test casesEasy✓20. First and Last Element
4 test casesEasy✓21. Unique Values
4 test casesEasy✓22. Absolute Values
4 test casesEasy✓23. Reshape
4 test casesMedium✓24. Row and Column Sums
4 test casesMedium✓25. Min-Max Scaling
4 test casesMedium✓26. np.where
4 test casesMedium✓27. Dot Product
4 test casesMedium✓28. Matrix Multiplication
4 test casesMedium✓29. Statistics
4 test casesMedium✓30. Counting Values
4 test casesMedium✓31. Cumulative Sum
4 test casesMedium✓32. Transpose and Flatten
4 test casesMedium✓33. Positions in Sorted Order
4 test casesMedium✓34. Joining Arrays
4 test casesMedium✓35. How Many Above Average?
4 test casesMedium✓36. Standardise With z-Scores
4 test casesMedium✓37. Quartiles
4 test casesMedium✓38. Grades With np.select
4 test casesMedium✓39. Sort Rows by a Column
4 test casesMedium✓40. Identity and Trace
4 test casesMedium✓41. Diagonals
4 test casesHard✓42. Broadcasting
4 test casesHard✓43. linspace
4 test casesHard✓44. Top Three Students
4 test casesHard✓45. Moving Average
4 test casesHard✓46. Distance Between Every Pair
4 test casesHard✓47. Game of Life
4 test casesHard✓48. Fibonacci by Matrix Power
4 test casesHard✓49. Solve Linear Equations
4 test casesHard✓50. Histogram Counts
4 test casesHard