Spaces:
Sleeping
Sleeping
Commit ·
1f675cd
1
Parent(s): fb236d2
fix pandas 2.0 error
Browse files
app.py
CHANGED
|
@@ -200,7 +200,7 @@ def full_report():
|
|
| 200 |
y='total_jumps',
|
| 201 |
color='continent',
|
| 202 |
template="plotly_dark")
|
| 203 |
-
|
| 204 |
daily_df = df.groupby(['day']).sum().reset_index()
|
| 205 |
per_day_plot = px.scatter(daily_df, x='day', y='jumps',
|
| 206 |
trendline='rolling',
|
|
|
|
| 200 |
y='total_jumps',
|
| 201 |
color='continent',
|
| 202 |
template="plotly_dark")
|
| 203 |
+
df.fillna(0, inplace=True)
|
| 204 |
daily_df = df.groupby(['day']).sum().reset_index()
|
| 205 |
per_day_plot = px.scatter(daily_df, x='day', y='jumps',
|
| 206 |
trendline='rolling',
|