In [ ]:
import pandas as pd
import seaborn as sbn
import statsmodels.api as sm
import numpy as np
import matplotlib.pyplot as plt
plt.style.use('ggplot')
%matplotlib inline
In [ ]:
df = pd.read_csv("data/brain_size.csv", sep=";", index_col=0, na_values='.')
df.head()
In [ ]:
df.plot?
In [ ]:
ax = pd.tools.plotting.scatter_matrix(df[['Weight', 'Height', 'MRI_Count']])
In [ ]:
ax = pd.tools.plotting.scatter_matrix(df[['FSIQ', 'PIQ', 'VIQ']])
In [ ]:
# Enter code here
In [ ]:
df = pd.read_csv("data/wages.csv")
df.head()
In [ ]:
ax = sbn.pairplot(df, vars=['WAGE', 'AGE', 'EDUCATION'], kind="reg")
In [ ]:
ax = sbn.pairplot(df, vars=['WAGE', 'AGE', 'EDUCATION'], kind="reg", hue="SEX")
In [ ]:
ax = sbn.lmplot(y="WAGE", x="EDUCATION", data=df)
In [ ]:
# enter code here