gerrymandertests icon indicating copy to clipboard operation
gerrymandertests copied to clipboard

Lots of metrics for quantifying gerrymandering.

Results 4 gerrymandertests issues
Sort by recently updated
recently updated
newest added

Line 53 fails with newer versions of pandas due to unexpected MultiIndex 'labels' syntax. Code runs by replacing 'labels' with 'codes'.

Additional indent in utils.py line 37 throws error. Runs smoothly if outdented to **for** and **else** level.

I'm trying to run the gerrymandertests, but apparently it relies on my separately downloading state-specific files (I'm particularly interested in New Mexico) and I can't find any documentation on where...

This package uses deprecated features from Pandas that are no longer available in Pandas version 1.0 or higher. Accordingly, one should use a virtual environment to install an older version...