Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,11 +40,11 @@ elif menu_selection == "Marketing and Communication":
|
|
| 40 |
"JULI": "Q3", "AGUSTUS": "Q3", "SEPTEMBER": "Q3",
|
| 41 |
"OKTOBER": "Q4", "NOVEMBER": "Q4", "DESEMBER": "Q4"
|
| 42 |
}
|
| 43 |
-
df_google['Quarter'] = df_google['
|
| 44 |
|
| 45 |
if view_option == "Monthly":
|
| 46 |
data_to_plot = df_google
|
| 47 |
-
x_axis = '
|
| 48 |
else:
|
| 49 |
data_to_plot = df_google
|
| 50 |
x_axis = 'Quarter'
|
|
|
|
| 40 |
"JULI": "Q3", "AGUSTUS": "Q3", "SEPTEMBER": "Q3",
|
| 41 |
"OKTOBER": "Q4", "NOVEMBER": "Q4", "DESEMBER": "Q4"
|
| 42 |
}
|
| 43 |
+
df_google['Quarter'] = df_google['Month'].map(quarter_map)
|
| 44 |
|
| 45 |
if view_option == "Monthly":
|
| 46 |
data_to_plot = df_google
|
| 47 |
+
x_axis = 'Month'
|
| 48 |
else:
|
| 49 |
data_to_plot = df_google
|
| 50 |
x_axis = 'Quarter'
|