Return to Video

Plotting in Python - Intro to Data Science

  • 0:00 - 0:03
    Lets assume that we have a csv file called
  • 0:03 - 0:09
    hr_year.csv, which contains two columns, yearID and HR. YearID
  • 0:09 - 0:11
    is the year and HR is the total number
  • 0:11 - 0:14
    of home runs. With these two columns, the csv file
  • 0:14 - 0:16
    contains the number of home runs hit in Major
  • 0:16 - 0:19
    League Baseball every year. Can you write a function line
  • 0:19 - 0:22
    plot that creates a pandas data frame from this
  • 0:22 - 0:26
    csv file and then creates a chart with points connected
  • 0:26 - 0:28
    by lines, both colored red, showing the number
  • 0:28 - 0:31
    of home runs by year? You want to do this
  • 0:31 - 0:33
    using the ggplot library with the syntax
  • 0:33 - 0:36
    that we just discussed. Your code should go here.
Title:
Plotting in Python - Intro to Data Science
Description:

more » « less
Video Language:
English
Team:
Udacity
Project:
ud359: Intro to Data Science
Duration:
0:37

English (United States) subtitles

Revisions