- segregation.inference.simulate_evenness_geo_permutation(df, group=None, total=None, groups=None)¶
Simulate evenness followed by random permutation of geographic units.
geodataframe with population data to be randomized
name of column on geodataframe that holds the group total (for use with single group indices)
name of column on geodataframe that holds the total population for each unit (for use with single group indices)
list of columns on input dataframe that hold total population counts for each group of interest
geodataframe with evenly distributed population groups