I'm using the library isbntools to assign book titles to isbns. From a dataframe that has isbns, I want to create a column named title and assign the title to the corresponding isbn. Problem is I get the same title.
Example dataframe:
isbn
01234567
Desidred output
isbn, title
01234567, Curious George
Code:
from isbntools.app import *
for i in range(len(df_all['isbn'])):
for isbnz in df_all['isbn']:
meta_dict = meta(isbnz, service='goob')
title = meta_dict['Title']
df_all.iloc[i, df['Title'][i]]
I tried with iloc but it seems it didn't work