+1 vote
in Python by

 Given a dataframe with rainfall data (day of the week and rainfall inches), write a function to find the median amount of rainfall for the days on which it rained.

1 Answer

0 votes
by

There are two steps to solve the problem:

Step 1. Remove all days with no rain.

Step 2. Calculate the attribute median of the dataframe.

...