In [1]:
%matplotlib inline
import pandas as pd
import matplotlib.pyplot as plt
import sys
sys.path.append('../')

In [2]:
from src.carregamento.dados import escolas_nse_baixo, escolas_nse_medio, escolas_nse_alto


/Users/fmmartin/.pyenv/versions/3.4.4/envs/dados_env/lib/python3.4/site-packages/pandas/core/indexing.py:465: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy
  self.obj[item] = s

In [11]:
plt.scatter(range(len(escolas_nse_baixo.MEDIA_9EF_MT.values)), sorted(escolas_nse_baixo.MEDIA_9EF_MT.values))
plt.ylim(150, 400)
plt.show()



In [4]:
plot = plt.plot(sorted(escolas_nse_medio.MEDIA_9EF_MT.values))
plt.ylim(150, 400)
plt.show()



In [5]:
plot = plt.plot(sorted(escolas_nse_alto.MEDIA_9EF_MT.values))
plt.ylim(150, 400)
plt.show()



In [6]:
plt.hist(escolas_nse_baixo.MEDIA_9EF_MT.values)
plt.xlim(150, 400)
plt.show()



In [7]:
plt.hist(escolas_nse_medio.MEDIA_9EF_MT.values)
plt.xlim(150, 400)
plt.show()



In [8]:
plt.hist(escolas_nse_alto.MEDIA_9EF_MT.values)
plt.xlim(150, 400)
plt.show()