Let's say I have a dataframe as shown below. I need to add a new url column to the dataframe and then create a clickable url link by using the values of the other associated rows.
import pandas as pd
url='https://stackoverflow.com/'
df = pd.DataFrame({'A': ('62392411', 60273469), 'B': ('questions/', 'questions/')})
>>> df
A B
0 62392411 questions/
1 60273469 questions/
I am looking to get something like this:
>>> df
A B url
0 62392411 questions/ https://stackoverflow.com/questions/62392411
1 60273469 questions/ https://stackoverflow.com/questions/60273469