FAQ: Why Data Science? - Time for Python!

Community%20FAQs%20on%20Codecademy%20Exercises

This community-built FAQ covers the “Time for Python!” exercise from the lesson “Why Data Science?”.

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

Data Science

FAQs on the exercise Time for Python!

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!

Why do we jump from the student writing a code to find retention rate, and then jump to Python because SQL can’t do it, and then the project switches to finding Python libraries used? What was it in Python that we needed to continue the retention rate project?

the phyton code script does not work on my machine even I install phyton3. Does anybody know the reason? I did not see any visualisation on browser.

This is an introductory overview of the various capabilities to be studies further on.

When I run the script I see this:

Lesson Completion Rates:
[(‘NumPy’, 100), (‘SciPy’, 100), (‘Pandas’, 96), (‘Matplotlib’, 0), (‘Seaborn’, 0), (‘scikit-learn’, 0)]

I thought I would see a visualization. Am I missing something here?

1 Like

When I run the script I get this:

Lesson Completion Rates:
[(‘NumPy’, 100), (‘SciPy’, 100), (‘Pandas’, 96), (‘Matplotlib’, 0), (‘Seaborn’, 0), (‘scikit-learn’, 0)]

I expected to see a visualization of the data. Am I missing something?