%matplotlib inline
import pandas as pd
import datetime as dt
url='http://www.neracoos.org/erddap/tabledap/B01_sbe37_all.csvp?time,temperature&depth=1&temperature_qc=0&time>=2017-03-13T00:00:00Z'
df = pd.read_csv(url, parse_dates=True, index_col=0)
df.plot()
<matplotlib.axes._subplots.AxesSubplot at 0x7fb1f3eaa828>
df.head()
temperature (celsius) | |
---|---|
time (UTC) | |
2017-03-13 00:00:00 | 3.896 |
2017-03-13 00:30:00 | 3.909 |
2017-03-13 01:00:00 | 3.939 |
2017-03-13 01:30:00 | 3.942 |
2017-03-13 02:00:00 | 3.920 |
url='http://www.neracoos.org/erddap/tabledap/B01_sbe37_all.csvp?time,temperature'
df = pd.read_csv(url, parse_dates=True, index_col=0)
df.plot();
df.plot(ylim=(-10,40));
df['2007-12-01':'2008-06-01'].plot(ylim=(-10,40));
url='http://www.neracoos.org/erddap/tabledap/B01_sbe37_all.csvp?time,temperature&temperature_qc=0&depth=20.0'
df = pd.read_csv(url, parse_dates=True, index_col=0)
df.plot();