Skip to main content

Tool to analyse Racial Polarized Voting

Reason this release was yanked:

replaced by VRAresultsTest

Project description

Racial Block Voting Tools

Homogeneous Precinct Analysis

Homogeneous_Precinct(df, idx, MajorityPopCol, MinorityPopCol, TotalPopCol, MajorityParty, MinorityParty)

Ecological Regression Analysis

Ecological_Regression(df, TotalPopCol, MinorityPopCol, MajorityParty, MinorityParty)

df - pandas Dataframe

MajorityPopCol - Column name for column that has Majority population

MinorityPopCol - Column name for column that has Minority population

TotalPopCol - Column name for column that has Total population

MajorityParty - Column name for column that has Majority Vote

MinorityParty - Column name for column that has Minority Vote

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Racial_Polarized_Voting_Tools-0.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page