FDSRashid commited on
Commit
2b5e2b5
·
verified ·
1 Parent(s): 028d3cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ books = load_dataset('FDSRashid/Hadith_info', data_files='Books.csv', token = Se
55
 
56
  matn_info['Book_ID'] = matn_info['bookid_hadithid'].apply(lambda x: int(x.split('_')[0]))
57
  matn_info['Hadith Number'] = matn_info['bookid_hadithid'].apply(lambda x: int(x.split('_')[1]))
58
- pd.merge(matn_info, books, on='Book_ID')
59
 
60
  def value_to_hex(value):
61
  rgba_color = cmap(value)
 
55
 
56
  matn_info['Book_ID'] = matn_info['bookid_hadithid'].apply(lambda x: int(x.split('_')[0]))
57
  matn_info['Hadith Number'] = matn_info['bookid_hadithid'].apply(lambda x: int(x.split('_')[1]))
58
+ matn_info = pd.merge(matn_info, books, on='Book_ID')
59
 
60
  def value_to_hex(value):
61
  rgba_color = cmap(value)