An open API service indexing awesome lists of open source software.

https://github.com/iamantimpal/leetcode_30_days_of_pandas

This repo contains solutions to LeetCode’s 30-Day pandas challenge, showcasing efficient data manipulation techniques. Each day’s problem is solved using pandas functions like groupby, merge, and pivot. Code is well-structured, documented, and ideal for learning pandas through real-world problems. πŸš€
https://github.com/iamantimpal/leetcode_30_days_of_pandas

Last synced: 6 months ago
JSON representation

This repo contains solutions to LeetCode’s 30-Day pandas challenge, showcasing efficient data manipulation techniques. Each day’s problem is solved using pandas functions like groupby, merge, and pivot. Code is well-structured, documented, and ideal for learning pandas through real-world problems. πŸš€

Awesome Lists containing this project

README

          

# πŸ“Š LeetCode 30 Days of Pandas πŸš€

![LeetCode](https://upload.wikimedia.org/wikipedia/commons/1/19/LeetCode_logo_black.png)

Welcome to the **LeetCode 30 Days of Pandas** challenge! 🐼 This repository contains solutions to **LeetCode SQL problems** solved using **Pandas**.

---

## πŸ“Œ **About the Challenge**
LeetCode has introduced a **30-day SQL Challenge**, but instead of using SQL, this repository provides solutions in **Python (Pandas)**.

Each problem includes:
βœ… Problem Statement
βœ… Input & Output Example
βœ… Solution using Pandas
βœ… Explanation

---

## πŸ“‚ **Repository Structure**
```
LeetCode_30_days_of_pandas/
│── πŸ“ problems/
β”‚ β”œβ”€β”€ 1757_recyclable_and_low_fat_products.py
β”‚ β”œβ”€β”€ 1873_calculate_special_bonus.py
β”‚ β”œβ”€β”€ 0000_example_problem.py
│── πŸ“ datasets/
β”‚ β”œβ”€β”€ products.csv
β”‚ β”œβ”€β”€ employees.csv
│── README.md
│── requirements.txt
```

---

## πŸ† **Problems Solved**
| # | Problem Name | Solution | LeetCode Link |
| ---- | ----------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------- |
| 1757 | **Recyclable and Low Fat Products** | [πŸ”— View](problems/1757_recyclable_and_low_fat_products.py) | [πŸ”— LeetCode](https://leetcode.com/problems/recyclable-and-low-fat-products/) |
| 1873 | **Calculate Special Bonus** | [πŸ”— View](problems/1873_calculate_special_bonus.py) | [πŸ”— LeetCode](https://leetcode.com/problems/calculate-special-bonus/) |

---

## πŸ”₯ **Want to Participate?**
1. **Fork** this repository 🍴
2. **Clone** your fork
```
git clone https://github.com/your-username/LeetCode_30_days_of_pandas.git
```
3. **Install dependencies**
```
pip install -r requirements.txt
```
4. **Solve a problem & contribute** πŸš€
- Create a new file in `problems/`
- Follow the existing structure
- Submit a **Pull Request (PR)**

---

## πŸ›  **Installation & Setup**
1. Install **Python** (>=3.8)
2. Install **Pandas**
```
pip install pandas
```
3. Run solutions
```
python problems/1757_recyclable_and_low_fat_products.py
```

---

## 🀝 **Contribute & Support**
- Star ⭐ this repo if you found it helpful
- Share your own **Pandas solutions**
- Open an **Issue** for suggestions or corrections

---

## πŸ“Œ **Useful Links**
- πŸ”— [LeetCode SQL Problems](https://leetcode.com/problemset/database/)
- πŸ”— [Pandas Documentation](https://pandas.pydata.org/)
- πŸ”— [Contribute on GitHub](https://github.com/your-username/LeetCode_30_days_of_pandas)

---

## πŸ’‘ *Happy coding! Let's master Pandas together! πŸš€*

This `README.md` provides:
βœ… **Clear structure**
βœ… **Instructions to contribute**
βœ… **Links to LeetCode problems**
βœ… **Setup & installation guide**