Nirmal16 commited on
Commit
cf0665a
·
verified ·
1 Parent(s): 2b3866a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -244,9 +244,6 @@ def create_injuries_fatalities_chart(crash_data):
244
  return line_chart
245
 
246
  def create_crash_trend_chart(df, weather=None):
247
- """
248
- Creates a line graph showing crash trends over time, optionally filtered by weather condition.
249
- """
250
  # Filter by weather condition if provided
251
  if weather and weather != 'All Conditions':
252
  df = df[df['Weather'] == weather]
 
244
  return line_chart
245
 
246
  def create_crash_trend_chart(df, weather=None):
 
 
 
247
  # Filter by weather condition if provided
248
  if weather and weather != 'All Conditions':
249
  df = df[df['Weather'] == weather]