import pandas as pd
url = "https://gist.githubusercontent.com/hunterowens/10649493/raw/5c430952728e92db657fd34b73db306524ac88ac/renmin.csv"
data = pd.read_csv(url)
data.head(5)
download_speed = data.ix[0:2].set_index('type_of_connection').download
dplot = download_speed.plot(kind="bar")
dplot.set_ylabel("Download Speed (Mbps)")
upload_speed = data.ix[0:2].set_index('type_of_connection').upload
uplot = upload_speed.plot(kind="bar")
uplot.set_ylabel("Upload Speed (Mbps)")
vpn_download = data.ix[3:5].set_index('type_of_connection').download
vpndp = vpn_download.plot(kind="bar")
vpndp.set_ylabel("Download Speed (Mbps)")
ping = data.set_index('type_of_connection').ping
ping_plot = ping.plot(kind="bar")
ping_plot.set_ylabel("Time ms")