Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ def create_map(df, selected_year):
|
|
174 |
def create_injuries_fatalities_chart(crash_data, unit_type):
|
175 |
|
176 |
# 5th visualization title
|
177 |
-
st.header("
|
178 |
|
179 |
# Filter rows where we have valid data for all necessary columns
|
180 |
crash_data = crash_data[['DateTime', 'Totalinjuries', 'Totalfatalities', 'Unittype_One', 'Unittype_Two']].dropna()
|
|
|
174 |
def create_injuries_fatalities_chart(crash_data, unit_type):
|
175 |
|
176 |
# 5th visualization title
|
177 |
+
st.header("Total Injuries and Fatalities by Month")
|
178 |
|
179 |
# Filter rows where we have valid data for all necessary columns
|
180 |
crash_data = crash_data[['DateTime', 'Totalinjuries', 'Totalfatalities', 'Unittype_One', 'Unittype_Two']].dropna()
|