Grist-Data-Desk / land-grab-2

Code and methodology to produce the dataset in Grist's Misplaced Trust investigation
https://grist.org/project/indigenous/land-grant-universities-indigenous-lands-fossil-fuels
Creative Commons Zero v1.0 Universal
14 stars 2 forks source link

Handle cession column types correctly #61

Closed clayton-aldern closed 7 months ago

clayton-aldern commented 7 months ago

Okay, take a look here @mariaparazorose. I think this version of the combine_cession_ids function handles the possible types encountered in the all_cession_numbers column correctly. I think we weren't accounting for instances of np.number-type values (and possibly also None-type outputs from the initial chunk of the function) previously.

clayton-aldern commented 7 months ago

(90fb14a also includes the new step_2_5 outputs.)