fschwartzer commited on
Commit
ad44ac7
1 Parent(s): 8b09f68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ if not filtered_df.empty:
145
  total_sum = sum(float(row['Valor Monetário'].replace('R$ ', '').replace(',', '')) for row in data)
146
 
147
  # Append the "Total" row
148
- total_row = pd.DataFrame({'Conta': ['TOTAL'], 'Modelo': [''], 'Valor Monetário': [f'R$ {total_sum:,.2f}']})
149
  table_data = pd.concat([table_data, total_row], ignore_index=True)
150
 
151
  # Calculate and append the rows for "Saúde (12% da RLIT)" and "Educação (25% da RLIT)"
 
145
  total_sum = sum(float(row['Valor Monetário'].replace('R$ ', '').replace(',', '')) for row in data)
146
 
147
  # Append the "Total" row
148
+ total_row = pd.DataFrame({'Conta': ['TOTAL (RLIT)'], 'Modelo': [''], 'Valor Monetário': [f'R$ {total_sum:,.2f}']})
149
  table_data = pd.concat([table_data, total_row], ignore_index=True)
150
 
151
  # Calculate and append the rows for "Saúde (12% da RLIT)" and "Educação (25% da RLIT)"