I checked several questions from here and tried several methods on my own but didn't work out.
I have a Pandas dataframe of product catalog which contains several columns, and there is a column called 'url', where it has url address to corresponding product.
I'm using Flask to display this dataframe via html, but url column remains as plain text, instead of clickable url.
But it ended up showing nothing in html result (even plain text of url were gone)
Can someone tell me what should I do to convert my plain text url column as clickable, and display it to flask html?
current code:
df['url'] = '<a href="' + df['url'] + '">' + '</a>'
return render_template('result.html', tables=[df.to_html(classes='data',escape=False)], titles=result.columns.values)