I have the next dataframe with a lot of elements
| code | name |
|---|---|
| a | (name1, -0.948,-1.8288) |
| b | (name2, -0.938,-1.8248) |
| c | (name3, -0.918,-1.8388) |
Is there anyway to create a dataframe with the next result
| code | name | latitude | longitude |
|---|---|---|---|
| a | name1 | -0.948 | -1.8288 |
| b | name2 | -0.938 | -1.8248 |
| c | name3 | -0.918 | -1.8388 |
I want to split the info that I have, the column name on the startup dataframe is an object, type, is there anyway to do it with Python?