Category : matplotlib

I have read weather csv file which contains 3 cities temperatures on 4 dates. I want to see how Mumbai city temperature changed over 4 dates using line plot. How can I achieve that? import pandas as pd import matplotlib.pyplot as plt %matplotlib inline w2=pd.read_csv("weather.csv") plt.plot(w2[‘temperature’]) Source: Python..

Read more

I have a long time-series (3 days period)data that contains two events that lasts 60 minutes. Currently when I plot the data in matplotlib, it looks like 2 vertical lines representing those two events and one horizontal line representing steady state between those events. My question is how can I plot those events only without ..

Read more