Foggiest months


You're given the following dataset, containing information about a year's worth of weather. Using this data, *calculate the percent of time it was raining each month. Note: this will require manipulating and classifying the existing data.

As a reference, below is code to import the dataset:

# Import libraries
%matplotlib inline
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
# Import data
weather_2012 = pd.read_csv('', parse_dates=True, index_col='Date/Time')
# Preview data


Access restricted

Subscribe to premium account to see the solution.

Get premium now