May-16-2023, 08:54 AM
Hi,
I’m trying to read a json url however I’ve got this error:
“TypeError: list indices must be integers or slices, not str”
This is de json url: https://servicios.ine.es/wstempus/js/es/...tip=AM&
and the idea is see it in jupyter notebook as a table with this columns
“Año”, “Municipio”, “De 0 a 4 años”, “De 5 a 9 años”, “De 10 a 14 años”, etc, but I can’t do it
Any idea or help?
Thank you
I’m trying to read a json url however I’ve got this error:
“TypeError: list indices must be integers or slices, not str”
This is de json url: https://servicios.ine.es/wstempus/js/es/...tip=AM&
and the idea is see it in jupyter notebook as a table with this columns
“Año”, “Municipio”, “De 0 a 4 años”, “De 5 a 9 años”, “De 10 a 14 años”, etc, but I can’t do it
Any idea or help?
Thank you