Question: Please write the PySpark code to find the following: Count the employees whose Total Working Years are greater than 20. Hint: Find EmployeeNumber, EducationField,
Please write the PySpark code to find the following: Count the employees whose Total Working Years are greater than 20. Hint: Find EmployeeNumber, EducationField, JobRole for all the employees whose Age is between 25 and 30 and Education is 5. Use display() to show Employee Number, EducationField, and JobRobe only. The result is 207.2
Step by Step Solution
3.31 Rating (163 Votes )
There are 3 Steps involved in it
You can use PySpark to achieve this by filtering the DataFram... View full answer
Get step-by-step solutions from verified subject matter experts
