I have an excel workbook with a multiple sheets. Out of these, in one sheet, a column is full of hyperlinks.
I want to read this particular column and get all the labels(text) without hyperlinks as text/list. I have a solution to get this text for single cell. But I am looking for full column operation. As shown in the image, all the ids here are associated with a hyperlink
I am using pandas,openpyxl. When I am reading this through `
data = pd.read_excel('info.xlsx', sheet_name='Data')
data[[data.columns[4]]]
,
output
: All ids (that have hyperlinks) values asNan
Could someone explain me why/how I can extract this particular column of text in an excel without hyperlinks and not ending up as Nan
. Or where am I going wrong?