Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -738,7 +738,7 @@ with tab3:
|
|
| 738 |
working_data1 = working_data[plot_var1].rolling('10D').mean()
|
| 739 |
working_data2 = working_data[plot_var2].rolling('10D').mean()
|
| 740 |
join_list = [working_data1, working_data2]
|
| 741 |
-
working_data
|
| 742 |
working_data = working_data.reset_index()
|
| 743 |
elif plot_count == "Three":
|
| 744 |
working_data['Date'] = pd.to_datetime(working_data['Date'])
|
|
@@ -747,7 +747,7 @@ with tab3:
|
|
| 747 |
working_data2 = working_data[plot_var2].rolling('10D').mean()
|
| 748 |
working_data3 = working_data[plot_var3].rolling('10D').mean()
|
| 749 |
join_list = [working_data1, working_data2, working_data3]
|
| 750 |
-
working_data
|
| 751 |
working_data = working_data.reset_index()
|
| 752 |
else:
|
| 753 |
working_data = working_data
|
|
|
|
| 738 |
working_data1 = working_data[plot_var1].rolling('10D').mean()
|
| 739 |
working_data2 = working_data[plot_var2].rolling('10D').mean()
|
| 740 |
join_list = [working_data1, working_data2]
|
| 741 |
+
working_data = pd.concat(join_list, join='outer', axis=1)
|
| 742 |
working_data = working_data.reset_index()
|
| 743 |
elif plot_count == "Three":
|
| 744 |
working_data['Date'] = pd.to_datetime(working_data['Date'])
|
|
|
|
| 747 |
working_data2 = working_data[plot_var2].rolling('10D').mean()
|
| 748 |
working_data3 = working_data[plot_var3].rolling('10D').mean()
|
| 749 |
join_list = [working_data1, working_data2, working_data3]
|
| 750 |
+
working_data = pd.concat(join_list, join='outer', axis=1)
|
| 751 |
working_data = working_data.reset_index()
|
| 752 |
else:
|
| 753 |
working_data = working_data
|