arya2004 / arya2004/data-science

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

Open
#11 2 comments 0 reactions 1 assignee Claimed by @Pankaj-Gupta25 View on GitHub
data-science good first issue hacktoberfest hacktoberfest-accepted notebook-to-script python
Dominant language
R
Stars
1
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### 🐍 Convert `04.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/04.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 `04.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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.