fschwartzer commited on
Commit
49e71cf
·
verified ·
1 Parent(s): f068007

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -167,7 +167,8 @@ def apply_prophet(df_clean):
167
  st.write(f"Concluída a aplicação do modelo de série tempotal")
168
  st.write(all_anomalies.head())
169
  all_anomalies.sort_values(by=['real'], ascending=False, inplace=True)
170
- all_anomalies = all_anomalies[all_anomalies['real'] >= 10,000,000.00]
 
171
  all_anomalies = all_anomalies.astype(str)
172
  return all_anomalies
173
 
 
167
  st.write(f"Concluída a aplicação do modelo de série tempotal")
168
  st.write(all_anomalies.head())
169
  all_anomalies.sort_values(by=['real'], ascending=False, inplace=True)
170
+ all_anomalies['real'] = pd.to_numeric(all_anomalies['real'], errors='coerce')
171
+ all_anomalies = all_anomalies[all_anomalies['real'] >= 10000000.00]
172
  all_anomalies = all_anomalies.astype(str)
173
  return all_anomalies
174