CivicActions / edscrapers

US Department of Education Data Scraping Kit; see https://us-ed-scraping.ckan.io/dataset
GNU Affero General Public License v3.0
15 stars 9 forks source link

Fix pandas error in the stats module #171

Closed georgiana-b closed 4 years ago

georgiana-b commented 4 years ago

There was an error occurring in the stats module when there are duplicates because part of the transformations were applied on the deduplicated dataframe and part of them on the entire dataframe. This PR fixes that error.

Removed the workaround as it won't be needed any longer.