From the course: Python Data Analysis

Unlock the full course today

Join today to access over 24,500 courses taught by industry experts.

Math and plotting in pandas

Math and plotting in pandas - Python Tutorial

From the course: Python Data Analysis

Math and plotting in pandas

- [Instructor] We have seen how to load and create data frames and how to select roles, but we have not done much with the values in the table. Many data analysis tasks require that we perform computations on the data and visualize the data. Let's try that with Pandas. We will use a data set consisting of global population health and wealth statistics from the amazing Gapminder website. Gapminder is a Swedish foundation created by the late statistician, Hans Rosling, to promote a fact-based worldview and to fight misconceptions about global development. I have prepared a comma separated file with a selection of Gapminder data. The data set includes a number of global statistics. For a country and a year, we get population, life expectancy, the percentage of children born alive who survived to age five, the average number of babies preferred by a woman, and the early domestic product per person in 2017 dollars. We also get the geographical region. We can ask Pandas to compute simple…

Contents