Question: Question 1 . 3 . Then create a DataFrame called chamber _ music that contains all the rows of artpower for events where the 'Category'

Question 1.3. Then create a DataFrame called chamber_music that contains all the rows of artpower for events where the 'Category' is 'Chamber Music', and all the rows for events where the 'Category' is 'Chamber Music*', but no additional rows.In []: grader.check("q1_3")
Question 1.4. Suppose you want to extract the day of the week (e.g. Monday) for each event. Write a function called day_of_week that takes as input one entry from the 'Time' column and outputs the three-letter abbreviation of the day of the week associated with that entry. For example, the call day_of_week ('FRI 7:30 pm') should return the string 'FRI'. You can assume that the inputs to your function will always be in the format shown in the 'Time' column of artpower.
In []: def day_of_week(time):
In []: grader.check("q1_4")
Question 1 . 3 . Then create a DataFrame called

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!