Coding task · Python course · Module 8: Data Science
Creating a NumPy Array
Create a NumPy array containing Safari animal populations and calculate its mean.
Task
Create an array 'populations' with values [120, 450, 85, 200, 330] and use np.mean() to calculate the average.