Question: 1 # load the pandas module as pd 2 3 titanic = # load titanic.csv 4 5 first_south = # subset the titanic dataset to

1 # load the pandas module as pd 2 3 titanic = # load titanic.csv 4 5 first_south = # subset the titanic dataset to include first class passengers who embarked in Southampton 7 second_third = # subset the titanic dataset to include either second or third class passengers 9 print(first_south.head() 10 print(second_third.head) 6 8 Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box. Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) - main.py (Your program) 1 Output (shown below)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
