In this function, we are performing the following data manipulations on the biopic dataset
- Filtering out duplicated rows
- Renaming a column
- Filtering out missing values
- Filtering the data based on the year
- Converting columns to categorical
- Creating a new variable
- Changing the earnings from dollars to million dollars
- Sorting the data based on Earnings