0

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?

PaulCoder
  • 37
  • 6
  • 1
    Does this answer your question? [Split a Pandas column of lists into multiple columns](https://stackoverflow.com/questions/35491274/split-a-pandas-column-of-lists-into-multiple-columns) – Z Li Dec 03 '21 at 19:06

0 Answers0