%pylab inline
Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.kernel.zmq.pylab.backend_inline]. For more information, type 'help(pylab)'.
import pandas as pd
df = pd.read_csv('data.csv', index_col=['date_time'], parse_dates=True, na_values=['-99999.9'])
df.head()
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 |
df['ocean_temperature (C°)'].plot()
<matplotlib.axes.AxesSubplot at 0xb2ea6cc>