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. π
- Host: GitHub
- URL: https://github.com/iamantimpal/leetcode_30_days_of_pandas
- Owner: iamAntimPal
- Created: 2025-03-13T05:39:36.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-28T05:30:27.000Z (6 months ago)
- Last Synced: 2025-03-28T06:26:24.684Z (6 months ago)
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π LeetCode 30 Days of Pandas π

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**