Question: Write the Python code to find the average number of hours studying each week that Freshman students in Data Science DISCOVERY have and store that

Write the Python code to find the average number of hours studying each week that Freshman students in Data Science DISCOVERY have and store that number in average:
This problem uses the "Hello" dataset survey that was generated on the first day of class. This dataset contains all students in Data Science DISCOVERY. This dataset has been loaded into df for you already and contains the following variables (columns):
Name (string), user-supplied first name, ex: "Wade", "Karle", ...
Major (string), intended major, ex: "Political Science", "Psychology", ...
School Year (string), current academic class, one of: "Freshman", "Sophomore", "Junior", "Senior", or "Other"
Hours Studying (number), number of hours spent studying each week, ex: 3,1,...
Siblings (number), number of siblings, ex: 0,2,...
Hours of Sleep (number), number of hours sleeping each week, ex: 7,8,...
Shoes Owned (number), number of pairs of shoes owned, ex: 4,20,...
...and other variables, not used in this problem...

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!