Welcome to the LeetCode 30 Days of Pandas challenge! πΌ This repository contains solutions to LeetCode SQL problems solved using Pandas.
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
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
# | Problem Name | Solution | LeetCode Link |
---|---|---|---|
1757 | Recyclable and Low Fat Products | π View | π LeetCode |
1873 | Calculate Special Bonus | π View | π LeetCode |
- Fork this repository π΄
- Clone your fork
git clone https://github.com/your-username/LeetCode_30_days_of_pandas.git
- Install dependencies
pip install -r requirements.txt
- Solve a problem & contribute π
- Create a new file in
problems/
- Follow the existing structure
- Submit a Pull Request (PR)
- Create a new file in
- Install Python (>=3.8)
- Install Pandas
pip install pandas
- Run solutions
python problems/1757_recyclable_and_low_fat_products.py
- Star β this repo if you found it helpful
- Share your own Pandas solutions
- Open an Issue for suggestions or corrections
- π LeetCode SQL Problems
- π Pandas Documentation
- π Contribute on GitHub
This README.md
provides:
β
Clear structure
β
Instructions to contribute
β
Links to LeetCode problems
β
Setup & installation guide