You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5.2 KiB

Pandas Omdb Lab


A Note on Delivery

  • This unit's lessons will occur in jupyter notebooks
    • Slides will be an introduction to the lesson (no code, just overview)
    • Then, we'll open a notebook and start coding!

Lesson Objectives

  • Apply what youve learned in the Pandas unit to create a working Python program.
  • Wrap up the Pandas unit.
  • Q&A and transition.

You Do: Unit Lab - Pandas

You already have an app that prompts a user for a movie and then, looking up that movie in the OMDB API, either prints search results or finds the Rotten Tomatoes rating.

In todays lab, you will add data analysis to that - what other information can you get? What conclusions can you make?

Note! This lab has two options in it:

  • Option 1:

    • Use the included data set
  • Option 2 (tha' danger zone):

    • Call the API yourself!
    • You must obtain an API key to do this!

Open the Jupyter Notebook {Pandas-Unit-Lab.ipynb} see the lab and its instructions. Follow the instructions there.

Try your best! Raise your hand if you really need help.

--

Debrief: Unit Lab - Pandas

How did it go?

Let's go over it.

Make sure you understand and your code works.


Unit Wrap Up

What can you do?

  • Apply the data science workflow.
  • Use Pandas to:
    • Read in a dataset.
    • Investigate a dataset's integrity.
    • Filter, sort, and manipulate DataFrame series.
  • Identify when you would use a bar chart, pie chart, scatter plot, and histogram.
    • Implement different types of graphs on a given dataset.
  • Identify and handle missing values with Pandas.
  • Implement groupby statements for specific segmented analysis.
  • Use apply functions to clean data with Pandas.

Questions?