Spaces:
Runtime error
Runtime error
Update app.py
Browse files210 unmodified lines211212213214215216217210 unmodified linesst.write('The table below presents the data quality metrics focusing on the percentage of missing values and the occurrence of extreme or nonsensical values for the selected country.')yesterday_midnight = pd.Timestamp(datetime.datetime.now().date() - pd.Timedelta(days=1)).replace(hour=23, minute=59, second=59)# Filter data until the end of yesterday (midnight)data_quality = data[data.index <= yesterday_midnight]210 unmodified lines211212213214215216217210 unmodified linesst.write('The table below presents the data quality metrics focusing on the percentage of missing values and the occurrence of extreme or nonsensical values for the selected country.')yesterday_midnight = pd.Timestamp(datetime.now().date() - pd.Timedelta(days=1)).replace(hour=23, minute=59, second=59)# Filter data until the end of yesterday (midnight)data_quality = data[data.index <= yesterday_midnight]
app.py+1-1