Created
March 6, 2019 19:49
-
-
Save achillesp/336de1d98d4c6e2a5fa0bf2e3e7396b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import matplotlib.pyplot as plt | |
%matplotlib inline | |
df = pd.read_csv("UNdata_Export_20190228_181628056.csv") | |
df.head() | |
df.tail() | |
df.head(1) | |
df.head(10) | |
df.shape | |
df.dtypes | |
df.sort_values(by='Year', ascending=False).head(3) | |
df.Value.sum() | |
round(df.Value.mean()) | |
df.describe() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment