In [3]:
%matplotlib notebook
import pandas as pd
import matplotlib.pyplot as pl

In [7]:
df = pd.read_csv('dimitris2.csv')
df.head()


Out[7]:
0.000 0.000.1
0 0.001 0.0
1 0.002 0.0
2 0.003 0.0
3 0.004 0.0
4 0.005 0.0

In [8]:
pl.plot(df.time, df.angle)


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-8-5e3c8dad097a> in <module>
----> 1 pl.plot(df.time, df.angle)

~/vsci/lib/python3.7/site-packages/pandas/core/generic.py in __getattr__(self, name)
   5065             if self._info_axis._can_hold_identifiers_and_holds_name(name):
   5066                 return self[name]
-> 5067             return object.__getattribute__(self, name)
   5068 
   5069     def __setattr__(self, name, value):

AttributeError: 'DataFrame' object has no attribute 'time'

In [6]:
time = df.time[(df.time>7.5) & (df.time < 18)]
angle = df.angle[(df.time>7.5) & (df.time < 18)]
pl.plot(time,angle,'b.')


Out[6]:
[<matplotlib.lines.Line2D at 0x116232ed0>]

In [ ]: