-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
In [92]: fd.keys()
Out[92]:
['data_cube',
'gridfile',
'itime',
'timestamp',
'species',
'rel_i',
'spec_i',
'dry',
'wet',
'slabs',
'shape',
'max',
'min']
In [93]: fd['timestamp']
TypeError Traceback (most recent call last)
in ()
----> 1 fd['timestamp']
TypeError: 'FDC' object is not subscriptable
In [94]: del(fd)
In [95]: fd = H.FD[(0, '20070121100000')]
In [96]: fd['timestamp']
TypeError Traceback (most recent call last)
in ()
----> 1 fd['timestamp']
TypeError: 'FDC' object is not subscriptable
In [97]: fd.timestamp
Out[97]: datetime.datetime(2007, 1, 21, 10, 0)
In [98]:
Metadata
Metadata
Assignees
Labels
No labels