DOST AI - Coding Exercises v0.1.pptx - Python Programming Day 1 Jupyter Notebook Familiarization Python Programming Exercises 1 Multiple variables in a

DOST AI - Coding Exercises v0.1.pptx - Python Programming...

This preview shows page 1 - 7 out of 12 pages.

Python Programming Day 1
Image of page 1
Jupyter Notebook Familiarization Python Programming
Image of page 2
Exercises 1. Multiple variables in a 2D Plot 2. New Variables 3. Querying : Advanced filters 4. Clearing outliers and regression on plots 5. Plotting different series 6. Researching sampling methods and how to do KDE Plots 7. Creating a function simulating linear regression
Image of page 3
Multiple variables in a 2D Plot Plot the following variables in one graph num_critic_for_reviews IMDB score gross Steven Spielberg against others
Image of page 4
New Variables Compute sales (gross – budget) and store it in the same data frame
Image of page 5
Querying : Advanced filters Which directors garnered the most total sales? 1. Get the top 10 directors 2. Filter the data frame for only these directors 3. Proceed to plot Which actors garnered the most total sales? 4. We have three actor fields. For now, get only the first one. 5. Filter the data frame for only these actors 6. Proceed to plot 7. Bonus: Create a series / dictionary for the three actor fields to their sales
Image of page 6
Image of page 7

You've reached the end of your free preview.

Want to read all 12 pages?

  • Fall '17
  • ENGR. Achupops

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors