Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

stack concatenate dataframe

import geopandas as gpd
import pandas as pd
gdf1 = gpd.GeoDataFrame()
gdf2 = gpd.GeoDataFrame()
dataframesList = [gdf1, gdf2]
gpd.GeoDataFrame(pd.concat(dataframesList, ignore_index=True))
 
PREVIOUS NEXT
Tagged: #stack #concatenate #dataframe
ADD COMMENT
Topic
Name
5+9 =