segregation.batch.batch_compute_multigroup¶
- segregation.batch.batch_compute_multigroup(gdf, groups, **kwargs)[source]¶
Batch compute multi-group indices.
- Parameters:
- gdf
DataFrame
orGeoDataFrame
DataFrame holding demographic data for study region
- groups
list
The variables names in data of the groups of interest of the analysis.
- **kwargs
dict
additional keyword arguments passed to each index (e.g. for setting a random seed in indices like ModifiedGini or ModifiedDissm)
- gdf
- Returns:
pandas.DataFrame
dataframe with statistic name as dataframe index and statistic value as dataframe values