Update app.py
Browse files
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)
|