Only this week, get the SQL Complete Track of 9 courses in a special prize of $330 $89!
Course Recap
Final challenge
16. Final challenge – exercise 6


Perfect! Let's move on.


Modify the DataFrame provided in the template by completing these steps:

  • Only show rows for 2017.
  • Only show rows with sex equal to 'Females'.
  • Create a new column named unable to work, which will be calculated as population (x 1,000) minus labour_force (x 1,000).
  • Delete the row with status equal to 'Born in Canada'.
  • Delete the status column.

Store your final DataFrame in a variable named canada_2017_female_immigrants.