In [33]:
import pandas as pd
from scipy import *
%pylab inline
In [23]:
data = pd.DataFrame.from_csv('87895-paraderos-geo-referenciados-de-la-troncal-del-corredor-tga.csv',index_col=False)
In [54]:
latlon=data[['LATITUD','LONGITUD','NOMBRE']];
In [55]:
l = list([list(x) for x in latlon.values])
In [56]:
import json
with open('data.json', 'w+') as outfile:
json.dump(l, outfile)
In [57]:
latlon.plot(x='LATITUD', y='LONGITUD')
Out[57]:
In [ ]: