segregation.singlegroup.Delta

class segregation.singlegroup.Delta(data, group_pop_var, total_pop_var, **kwargs)[source]

Delta Index.

Parameters:
datapandas.DataFrame or geopandas.GeoDataFrame, required

dataframe or geodataframe if spatial index holding data for location of interest

group_pop_varstr, required

name of column on dataframe holding population totals for focal group

total_pop_varstr, required

name of column on dataframe holding total overall population

Notes

Based on Massey, Douglas S., and Nancy A. Denton. “The dimensions of residential segregation.” Social forces 67.2 (1988): 281-315.

Reference: [Massey and Denton, 1988].

Attributes:
statisticfloat

Delta Index

core_dataa pandas DataFrame

A pandas DataFrame that contains the columns used to perform the estimate.

__init__(data, group_pop_var, total_pop_var, **kwargs)[source]

Init.

Methods

__init__(data, group_pop_var, total_pop_var, ...)

Init.