I have converted a pandas DataFrame to an Excel sheet using df.to_excel.
Now, I want to add hyperlinks to the values in one column. In other words, when a customer
You can use:
df = pd.DataFrame(list(range(5)), columns=['a']) df['a'] = df['a'].apply(lambda x: 'link'.format(x)) HTML(df.to_html(escape=False))