arya2004/data-science

Re-implement `06.ipynb` in Python as a `.py` script

Open

#13 opened on Oct 3, 2025

 (1 comment) (0 reactions) (1 assignee)R (6 forks)auto 404
data-sciencegood first issuehacktoberfesthacktoberfest-acceptednotebook-to-scriptpython

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

🐍 Convert 06.ipynb to a Python script

This notebook currently uses R for data analysis and visualization. Your task is to convert the logic into Python and save it as a standalone .py script in the same folder.


📁 Target file path:


projects/06.py


✅ Guidelines:

  • Use pandas for data manipulation
  • Use matplotlib / seaborn for plots
  • Use read_csv() on datasets from the datasets/ folder
  • Match the logic of the original R notebook as closely as possible
  • Add meaningful comments and structure your code clearly
  • You may use argparse if needed to allow parameterization

💡 Bonus Tips:

  • You can preview the R logic inside 06.ipynb before translating it.
  • If any logic seems inefficient in R, feel free to write cleaner Python alternatives.
  • You may wrap sections of the script into functions or classes for clarity.

Once done, open a pull request referencing this issue.
Happy Hacking! 🎉

Contributor guide