+1 vote
in Python by (30.8k points)

 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 (30.8k points)

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.

Related questions

...