segregation.inference.simulate_geo_permutation¶
- segregation.inference.simulate_geo_permutation(df, **kwargs)[source]¶
- Simulate a synthetic dataset by random permutation of geographic units. - Parameters:
- dfgeopandas.GeoDataFrame
- geodataframe with population counts to be randomized 
 
- df
- Returns:
- DataFrame
- Simulate a synthetic dataset by randomly allocating the units over space keeping their original values.