I have a structure like the following in .xlsx format (written with pandas .to_xlsx() function)
|---------------------|------------------|
| A | B |
|---------------------|------------------|
| [[2 3] [3 4] [4 5]] | 34 |
|---------------------|------------------|
When I read this using df = pd.read_xlsx()
, the df['A']
is a string - '[[2 3]\n[3 4]\n[4 5]]'
Is there a way to read it as a list of list of int or float?