FDSRashid commited on
Commit
aba11e2
1 Parent(s): 7d83cce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def get_narrators( city , year1, year2):
52
  fixed = splitIsnad(narrators)
53
  fixed['Teacher Reports'] = fixed['Teacher_ID'].apply(lambda x: narrator_bios[narrator_bios['Rawi ID']== x]['Number of Narrations'].to_list()[0])
54
  fixed['Student Reports'] = fixed['Student_ID'].apply(lambda x: narrator_bios[narrator_bios['Rawi ID']== x]['Number of Narrations'].to_list()[0])
55
- return fixed[['Teacher', 'Student', 'Teacher Reports', 'Student Reports']]
56
  except Exception as e:
57
  return str(e)
58
 
 
52
  fixed = splitIsnad(narrators)
53
  fixed['Teacher Reports'] = fixed['Teacher_ID'].apply(lambda x: narrator_bios[narrator_bios['Rawi ID']== x]['Number of Narrations'].to_list()[0])
54
  fixed['Student Reports'] = fixed['Student_ID'].apply(lambda x: narrator_bios[narrator_bios['Rawi ID']== x]['Number of Narrations'].to_list()[0])
55
+ return fixed[['Teacher', 'Student', 'Teacher Reports', 'Student Reports', 'Isnads', 'Hadiths', 'Tarafs', 'Books']]
56
  except Exception as e:
57
  return str(e)
58