- Pyspark CheatSheet
- Beginner Core Dataframe Operations
- Intermediate Operations
- Expert Complex Transformations
- Stratascratch problems
- LeetcodeSQL50 problems
Below are my soluntions to the Pyspark Problems....
Below are my soluntions to the Pyspark Problems....
Beginner level Core Operations
| ID | QUESTION | IMAGE |
|---|---|---|
| 1 | How to load CSV File into DataFrame | Output |
| 2 | How to print the employee schema | Output |
| 3 | How to count number of rows and columns in employees data | Output |
| 4 | How to count employees in each department | Output |
| 5 | Find the average salary per department | Output |
| 6 | Filter employees hired after 2020 | Output |
| 7 | Find the employees by salary in descending order | Output |
| 8 | How to Rename a column | Output |
| 9 | How to Remove duplicate records | Output |
| 10 | How to handle null values | Output |
| 11 | How to add new column by showing salary in thousands | Output |