arya2004/data-science

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

Aperta

#12 aperta il 3 ott 2025

 (2 commenti) (0 reazioni) (1 assegnatario)R (6 fork)auto 404
data-sciencegood first issuehacktoberfesthacktoberfest-acceptednotebook-to-scriptpython

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

🐍 Convert 05.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/05.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 05.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! 🎉

Guida contributor