Open outs1der opened 4 years ago
I got around the pandas' issue by first installing pandas in the conda environment, and then I proceeded to install minbar and other required packages.
No this is just an issue with the to_pandas
method, which throws an error:
>>> mb = minbar.to_pandas.load_bursts()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/Shared/burst/minbar/pyminbar/minbar/to_pandas.py", line 79, in load_bursts
return _minbar2pandas()
File "/Users/Shared/burst/minbar/pyminbar/minbar/to_pandas.py", line 70, in _minbar2pandas
data = data.byteswap().newbyteorder('N') # Switch to native byteorder for pandas
AttributeError: 'Table' object has no attribute 'byteswap'
It should be possible to use pandas
fine in other contexts
Here's the old text from
README.md
with suggested usage: