FAQ: Introduction to Statistics with NumPy - NumPy and Mean


#1

This community-built FAQ covers the “NumPy and Mean” exercise from the lesson “Introduction to Statistics with NumPy”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Data Science

Introduction to Statistics with NumPy

FAQs on the exercise NumPy and Mean

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!


#2

I’m lost as to how to answer Question #3 for this exercise:
"The boss says that we should increase what we stock, but only if the store’s average sales are greater than 7 bottles per week.

Save the store dataset variable name that fits this description to the variable best_seller ."

How do you associate a store name with the value where the store average is greater than 7 in NumPy? i’m so stuck.


#3

best_seller = store_two