fschwartzer commited on
Commit
4c3dcca
1 Parent(s): b36d1b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -149,6 +149,9 @@ if not filtered_df.empty:
149
  # Filter the DataFrame for the current 'Conta'
150
  conta_df = tab_df[tab_df['Conta'] == conta]
151
 
 
 
 
152
  # Initialize a variable to store the sum for the current 'Conta'
153
  conta_sum = 0.0
154
 
 
149
  # Filter the DataFrame for the current 'Conta'
150
  conta_df = tab_df[tab_df['Conta'] == conta]
151
 
152
+ if len(conta_df['Modelo'].unique()) > 1 and "Linear Regression" in conta_df['Modelo'].unique():
153
+ conta_df = conta_df[conta_df['Modelo'] == "Linear Regression"]
154
+
155
  # Initialize a variable to store the sum for the current 'Conta'
156
  conta_sum = 0.0
157