Skip to content

Conversation

@IamYunusAli
Copy link

In this pull request, the following implementation has been made:

  • load_data.py: Write a function to load a CSV file into a DataFrame.
  • clean_data.py: Clean the data—handle missing values, fix invalid entries.
  • evaluate.py: Write a class that checks if each row meets safe pH and turbidity ranges.
  • main.py: Load, clean, evaluate, and print results—run your full pipeline here.
  • Save the output to results.csv.
  • Count how many lakes are safe vs unsafe.

To test the workflow and see the pipeline working

  1. Install dependencies by running
pip install -r requirements.txt 
  1. Run the main.py file from the root directory.
python src/main.py 
  1. Check the result saved in results/results.csv

If you have questions, mention me and ask your question. By mentioning me, I can clarify anything that you need

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