Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ matn_info['Hadith Number'] = matn_info['bookid_hadithid'].apply(lambda x: int(x.
|
|
29 |
matn_info = matn_info.join(books, on='Book ID')
|
30 |
cols_to_use = df.columns.difference(matn_info.columns)
|
31 |
|
32 |
-
joined_df = matn_info.merge(df[cols_to_use, left_index=True, right_on='__index_level_0__')
|
33 |
df = joined_df.copy()
|
34 |
taraf_max = np.max(df['taraf_ID'].unique())
|
35 |
|
|
|
29 |
matn_info = matn_info.join(books, on='Book ID')
|
30 |
cols_to_use = df.columns.difference(matn_info.columns)
|
31 |
|
32 |
+
joined_df = matn_info.merge(df[cols_to_use], left_index=True, right_on='__index_level_0__')
|
33 |
df = joined_df.copy()
|
34 |
taraf_max = np.max(df['taraf_ID'].unique())
|
35 |
|