Skip to content

Commit 7f299b5

Browse files
wilsonfreitasclaude
andcommitted
Fix taxajuros docs: update Modalidade filter to match BCB API rename
BCB renamed the modalidade value from 'Cheque especial - Pré-fixado' to 'Cheque especial - Prefixado', causing the filter to return empty results and breaking the Sphinx build with a KeyError on groupby. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 71aabba commit 7f299b5

4 files changed

Lines changed: 1 addition & 1 deletion

File tree

1 Byte
Loading
617 Bytes
Loading
2.68 KB
Loading

docs/taxajuros.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pelas instituições financeiras.
3535
ep = em.get_endpoint('TaxasJurosDiariaPorInicioPeriodo')
3636
df_cheque = (ep.query()
3737
.filter(ep.Segmento == 'PESSOA FÍSICA',
38-
ep.Modalidade == 'Cheque especial - Pré-fixado')
38+
ep.Modalidade == 'Cheque especial - Prefixado')
3939
.collect())
4040
grp = df_cheque.groupby('InicioPeriodo')
4141
df_mean = grp.agg({'TaxaJurosAoMes': 'median'})

0 commit comments

Comments
 (0)