Pandas LeetCode Problems: All 15,
With Python Solutions
Every problem in this library that LeetCode tags Pandas. 1 of them carry a complete Python solution, a worked example and the time and space complexity of the approach.
- Easy
- 15
- Medium
- 0
- Hard
- 0
Pandas problems by difficulty
Problems with a complete Python solution are listed first, then by ascending problem number.
Easy (15)
| No. | Problem | Topics |
|---|---|---|
| 2877 | Create a DataFrame from List | |
| 2878 | Get the Size of a DataFrame | |
| 2879 | Display the First Three Rows | |
| 2880 | Select Data | |
| 2881 | Create a New Column | |
| 2882 | Drop Duplicate Rows | |
| 2883 | Drop Missing Data | |
| 2884 | Modify Columns | |
| 2885 | Rename Columns | |
| 2886 | Change Data Type | |
| 2887 | Fill Missing Data | |
| 2888 | Reshape Data: Concatenate | |
| 2889 | Reshape Data: Pivot | |
| 2890 | Reshape Data: Melt | |
| 2891 | Method Chaining |
Eyes only
When the Pandas problem arrives live.
In the live round, Stealth Interview reads the problem off your screen, returns a working solution with a step-by-step explanation and its time and space complexity, and transcribes what the interviewer says. It's a desktop app for macOS and Windows, invisible to screen sharing.
Keep exploring
Other topics
- Array1,569
- String672
- Hash Table588
- Math485
- Dynamic Programming481
- Sorting392
- Greedy346
- Depth-First Search289
- Binary Search253
- Database249
- Tree225
- Breadth-First Search223
- Matrix216
- Two Pointers201
- Bit Manipulation194
- Binary Tree174
- Heap (Priority Queue)163
- Prefix Sum157
- Stack157
- Simulation144
- Graph138
- Counting126
- Design122
- Sliding Window116