Issue
I try to match the string with using regex from 59k rows. Off course I expected the same 59k rows as the result. However the result only return first 10 rows.
I feels this a silly questions, but still wondering what's wrong here.
y = str(data[['geometry']])
z = re.findall("(?<=\()\d.*(?=\))", y)
Solution
I got my own solution with using loop:
location = []
for l in data['geometry']:
latlon = re.findall("(?<=\()\d.*(?=\))", l)
location.append(z)
df_latlon = DataFrame(location)
df_latlon
Answered By - prawirs
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.