-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
love this library btw, much thanks.
>>> import pandas as pd
>>> import numpy as np
>>> import xray
>>> pd.__version__
u'0.17.1'
>>> np.__version__
'1.10.4'
>>> xray.__version__
'0.6.1'
>>> import pytz
>>> import datetime
>>> datetime_index = pd.date_range(start=datetime.datetime.now(), tz=pytz.timezone('America/New_York'), periods=32, freq='1h')
>>> da = xray.DataArray(data=a, dims=['example', 'channel', 'row', 'column'], coords={'example': datetime_index, 'channel': np.arange(1), 'row': np.arange(28), 'column': np.arange(28)})
>>> print da
Traceback (most recent call last):
[...]
TypeError: data type not understood