In [33]:
import pandas as pd
from scipy import *
%pylab inline


Populating the interactive namespace from numpy and matplotlib
WARNING: pylab import has clobbered these variables: ['show_config', 'log2', 'arccos', 'arctanh', 'fft', 'arcsin', 'sqrt', '__version__', 'power', 'log', 'log10', 'test']
`%matplotlib` prevents importing * from pylab and numpy

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]:
<matplotlib.axes.AxesSubplot at 0x10a4046d0>

In [ ]: