In [2]:
%pylab inline
Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.kernel.zmq.pylab.backend_inline].
For more information, type 'help(pylab)'.
In [4]:
import pandas as pd
In [19]:
df = pd.read_csv('data.csv', index_col=['date_time'], parse_dates=True, na_values=['-99999.9'])
In [20]:
df.head()
Out[20]:
station_id latitude (degrees north) longitude (degrees east) depth (meters) ocean_temperature (C°) sea_level_pressure (hPa) wind_direction_drift (degT)
date_time
2013-04-15 00:00:00 3757812 65.638 -11.094 0 2.4 NaN -1000000
2013-04-15 01:00:00 3757812 65.638 -11.094 0 2.4 NaN -1000000
2013-04-15 02:00:00 3757812 65.638 -11.094 0 2.4 NaN -1000000
2013-04-15 03:00:00 3757812 65.633 -11.100 0 2.4 NaN -1000000
2013-04-15 04:00:00 3757812 65.633 -11.100 0 2.4 NaN -1000000
In [18]:
df['ocean_temperature (C°)'].plot()
Out[18]:
<matplotlib.axes.AxesSubplot at 0xb2ea6cc>
In [ ]: