arya2004/data-science

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

开放

#8 创建于 2025年10月3日

 (1 条评论) (0 个反应) (1 位负责人)R (6 个派生)auto 404
data-sciencegood first issuehacktoberfesthacktoberfest-acceptednotebook-to-scriptpython

仓库指标

星标
 (1 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南