Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,10 @@ import datetime
|
|
| 7 |
# Load the CSV file
|
| 8 |
df = pd.read_csv("anomalies.csv", quotechar='"')
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Filter 'real' higher than 10 Million
|
| 11 |
df= df[df['real'] >= 1000000.]
|
| 12 |
|
|
|
|
| 7 |
# Load the CSV file
|
| 8 |
df = pd.read_csv("anomalies.csv", quotechar='"')
|
| 9 |
|
| 10 |
+
df.rename(columns={"ds": "Ano e mês", "real": "Despesa", "group": "Grupo"})
|
| 11 |
+
|
| 12 |
+
print(df)
|
| 13 |
+
|
| 14 |
# Filter 'real' higher than 10 Million
|
| 15 |
df= df[df['real'] >= 1000000.]
|
| 16 |
|