Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'pandas' has no attribute 'Panel4D' #24

Open
lee212 opened this issue Mar 1, 2019 · 0 comments
Open

AttributeError: module 'pandas' has no attribute 'Panel4D' #24

lee212 opened this issue Mar 1, 2019 · 0 comments

Comments

@lee212
Copy link

lee212 commented Mar 1, 2019

>>> segs_s2if['restrained_to_repulsion'][0].data['dHdl'] = get_dHdl_XVG(segs_s2if['restrained_to_repulsion'][0], lower=5000,step=200)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/hrlee/.conda/envs/alchemlyb/lib/python3.7/site-packages/datreant/data/limbs.py", line 186, in __setitem__
    self.add(handle, data)
  File "/home/hrlee/.conda/envs/alchemlyb/lib/python3.7/site-packages/datreant/data/limbs.py", line 139, in inner
    out = func(self, handle, *args, **kwargs)
  File "/home/hrlee/.conda/envs/alchemlyb/lib/python3.7/site-packages/datreant/data/limbs.py", line 218, in add
    self._datafile.add_data('main', data)
  File "/home/hrlee/.conda/envs/alchemlyb/lib/python3.7/site-packages/datreant/data/core.py", line 59, in add_data
    elif isinstance(data, (pd.Series, pd.DataFrame, pd.Panel, pd.Panel4D)):
AttributeError: module 'pandas' has no attribute 'Panel4D'

My panda is 0.24.1 and it seems Panel4D has been removed according to this: http://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.23.0.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant