geopandas convert lat long to geometry code example
Example: geodataframe from lat lon points python
import geopandas as gpd
import random
latitudes=random.sample(range(0, 90), 10)
longitudes=random.sample(range(-180,180), 10)
points=gpd.GeoDataFrame(geometry=gpd.points_from_xy(longitudes,latitudes))