tobler.area_weighted.area_join¶
- tobler.area_weighted.area_join(source_df, target_df, variables)[source]¶
Join variables from source_df based on the largest intersection. In case of a tie it picks the first one.
- Parameters:¶
- source_df : geopandas.GeoDataFrame¶
GeoDataFrame containing source values
- target_df : geopandas.GeoDataFrame¶
GeoDataFrame containing source values
- variables : string or list-like¶
column(s) in source_df dataframe for variable(s) to be joined
- Returns:¶
joined – target_df GeoDataFrame with joined variables as additional columns
- Return type:¶