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

Pandas is deprecating Panel #142

Open
moorepants opened this issue Aug 30, 2018 · 1 comment
Open

Pandas is deprecating Panel #142

moorepants opened this issue Aug 30, 2018 · 1 comment

Comments

@moorepants
Copy link
Member

Relevant warning from the tests:

gaitanalysis.tests.test_controlid.TestSimpleControlSolver.test_compute_estimated_controls ... /home/moorepants/miniconda3/envs/gaitanalysistoolkit-dev/lib/python2.7/site-packages/nose/util.py:471: FutureWarning: 
Panel is deprecated and will be removed in a future version.
The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
Pandas provides a `.to_xarray()` method to help automate this conversion.

  return func()
@moorepants
Copy link
Member Author

Panel was removed in Pandas 0.25.0, see https://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.25.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