I put a list into an excel cell, and when I read it with pandas, it did not return me a list, it returned me a string, is there anyway I can get a list in return instead?
eg. in the cell: ['a', 'b', 'c'] output from pandas: '['a', 'b', 'c']'
here is my code:
df = pd.read_excel('example.xlsx', index_col=None, header=None)
print(df.iloc[5, 3])
print(type(df.iloc[5, 3]))
## and the code would return the type of df.iloc[5, 3] is equal to a list