Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. # Convert the CRS of our maps to conform to the good CRS. 4326 is the most used version. 3857 is meters.
  2. Precincts20 = Precincts20.to_crs('epsg:3857')
  3.  
  4. # Calculate the relative area of each precinct
  5. Precinct20Areas = pd.DataFrame(Precincts20.area, columns=['Area'])
  6. Precincts20 = Precincts20.join(Precinct20Areas)