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 cloudy each month.
To help get you started, below is code (Python) to import the referenced dataset:
Import libraries %matplotlib inline import pandas as pd import numpy as np import matplotlib.pyplot as plt # Import data df = pd.read_csv('https://raw.githubusercontent.com/erood/interviewqs.com_code_snippets/master/Datasets/weather_2012.csv')
Subscribe to premium account to see the solution.Get premium now