Cleaning and analyzing employee data
Below is a snippet from a table that contains information about employees that work at Company XYZ:
Company XYZ recently migrated database systems causing some of the date_joined records to be NULL. You're told by an analyst in human resources NULL records for the date_joined field indicates the employees joined prior to 2010. You also find out there are multiple employees with the same name and duplicate records for some employees.
Given this, write code to find the number of employees that joined each month. You can group all of the null values as Dec 1, 2009.
Click here to view this problem in an interactive Colab (Jupyter) notebook.
Subscribe to premium account to see the solution.Get premium now