Skip to content

Conversation

@LanesGood
Copy link
Member

Adds the CSV splitting code.

This script splits a CSV file into multiple files based on unique values in the 'Cluster', 'Type', and 'Indicator' columns. It also cleans and converts data types for specific columns before performing the split.

The script assumes that future CSV's will follow the existing structure; any changes to the CSV would need to be reflected in the script.

@willemarcel this relies locally on a virtualenv, and has some dependencies. As this is a stand-alone script, I'm unsure what the standard protocol for checking this into the main codebase would be.

cc @weiji14

Adds the CSV splitting code:

This script splits a CSV file into multiple files based on unique values in the 'Cluster', 'Type', and 'Indicator' columns. It also cleans and converts data types for specific columns before performing the split.
@LanesGood LanesGood requested a review from willemarcel October 23, 2025 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants