This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pandas import read_excel | |
import json | |
URL = 'https://www.bccr.fi.cr/indicadores-economicos/cabys/Catalogo-de-bienes-servicios.xlsx' | |
# Los nombres de las columnas Excel vs nombres cortos y eventualmente | |
# propiedades del json | |
cols = { | |
'Descripción (categoría 1)': 'c1', | |
'Descripción (categoría 2)': 'c2', |