Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adicionar um nome padrão para séries obtidas com o bcb.sgs.get #14

Open
fmv1992 opened this issue Sep 11, 2023 · 0 comments
Open

adicionar um nome padrão para séries obtidas com o bcb.sgs.get #14

fmv1992 opened this issue Sep 11, 2023 · 0 comments

Comments

@fmv1992
Copy link

fmv1992 commented Sep 11, 2023

Olá, primeiramente obrigado por disponibilizar esta API.

Uma sugestão: adicionar um .name para a série baixada, por exemplo:

from bcb import sgs
xx = sgs.get(1)
xx.iloc[:, 0].name
# '1'
# 
# Eu esperaria algo como `' 1 - exchange rate - free - united states dollar (sale) - 1'`.
# Fonte: https://www3.bcb.gov.br/sgspub/consultarvalores/consultarValoresSeries.do?method=consultarSeries&series=1

Sei que a API permite um dicionário mas suponho que essa informação já venha junto à requisição.

Obrigado novamente.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant