Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +11 -1
src/streamlit_app.py
CHANGED
|
@@ -20,7 +20,17 @@ def cargar_csv_s3(bucket_name, nombre):
|
|
| 20 |
|
| 21 |
|
| 22 |
df_total = cargar_csv_s3(bucket_name, nombre)
|
| 23 |
-
df_total
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
import matplotlib.pyplot as plt
|
| 25 |
import matplotlib.dates as mdates
|
| 26 |
import pytz
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
df_total = cargar_csv_s3(bucket_name, nombre)
|
| 23 |
+
df_total = df_total[
|
| 24 |
+
(~df_total['PAGE'].isin([
|
| 25 |
+
'/NORDES/asignacion-personal',
|
| 26 |
+
'/NORDES/corto-plazo',
|
| 27 |
+
'/plan-semanal',
|
| 28 |
+
'/corto-plazo',
|
| 29 |
+
'/trisemanal',
|
| 30 |
+
'/NORDES/trisemanal'
|
| 31 |
+
])) &
|
| 32 |
+
(df_total['PAGE'].str.contains('NORDES/'))
|
| 33 |
+
]
|
| 34 |
import matplotlib.pyplot as plt
|
| 35 |
import matplotlib.dates as mdates
|
| 36 |
import pytz
|