Return to Video

Dataframe -- Average Gold Medal - Intro to Data Science

  • 0:01 - 0:03
    All right, why don't we walk through the solution.
  • 0:03 - 0:07
    First we define these Python lists called countries, gold, silver, and
  • 0:07 - 0:12
    bronze, which give us ordered lists of the country names, gold medal counts,
  • 0:12 - 0:13
    silver medal counts, and
  • 0:13 - 0:18
    bronze medal counts as they appear in the Sochi medal count table.
  • 0:18 - 0:22
    Then we create this Python dictionary, Olympic medal counts.
  • 0:22 - 0:24
    Where the keys are our column names and
  • 0:24 - 0:28
    the values are panda series containing these lists.
  • 0:28 - 0:31
    Finally, we create our data frame Olympic_medal_counts_df by
  • 0:31 - 0:34
    passing olympic_medal_counts into the DataFrame function.
タイトル:
Dataframe -- Average Gold Medal - Intro to Data Science
概説:

more » « less
Video Language:
English
Team:
Udacity
プロジェクト:
ud359: Intro to Data Science
Duration:
0:36

English subtitles

改訂 Compare revisions