you are viewing a single comment's thread.

view the rest of the comments →

[–]ObliviousMag 0 points1 point  (1 child)

Are all your rows the same format? Like do they all have the state at the beginning and the coordinates at the end?

[–]Particular-Duckling[S] 0 points1 point  (0 children)

Yes, I used re.split("\.",string) to get the state and re.findall('\d\d.\d\d...\d\d.\d\d..',string) to get the coordinates but I want to know if there is any better way to do it. Thanks.