I have the links in the column but I am trying to convert them to images
thumbnails = []
for index,row in pdr.iterrows():
s = row['videoId']
thumbnail_url = f"https://i.ytimg.com/vi/{s}/maxresdefault.jpg"
thumbnails.append(thumbnail_url)
pdr['thumbnail'] = thumbnails
This is the output. I am trying to fill the 'thumbnail' column with images as opposed to linked text.