You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the latest Pandas documents, they note that Panel will be deprecated in favor of xarray. This is not pressing, but I think it would be best to use xarray or a DataFrame with a multiindex when building functionality for panel data.
I looked at it a while ago in the context of absorbing categorical variables or crossed fixed effects in panel data.
Besides n-dimensional dataframe analog, it has also good dask integration that might help us for out of core calculation.
However, unless there is a specific use case, I don't think it's urgent to add support for it.
I haven't looked at the details of the panel pandas integration and current pandas stats yet. However, the initial implementation should all use the long format with a 2-dimensional dataframe.
Current functionality in statsmodels just requires extra arrays for groups and time labels which are used similarly to multi-index.
The Panel PR uses mostly multi-indices with usage hidden behind a groupby handling class. But there is still some pandas Panel class used in some draft code (which I never tried to understand).
Activity
josef-pkt commentedon Apr 28, 2016
I looked at it a while ago in the context of absorbing categorical variables or crossed fixed effects in panel data.
Besides n-dimensional dataframe analog, it has also good dask integration that might help us for out of core calculation.
However, unless there is a specific use case, I don't think it's urgent to add support for it.
I haven't looked at the details of the panel pandas integration and current pandas stats yet. However, the initial implementation should all use the long format with a 2-dimensional dataframe.
Current functionality in statsmodels just requires extra arrays for groups and time labels which are used similarly to multi-index.
The Panel PR uses mostly multi-indices with usage hidden behind a
groupby handling class. But there is still some pandasPanelclass used in some draft code (which I never tried to understand).bashtage commentedon Jul 26, 2019
Closing as no action. I don't think there is capacity to use or need for xarray currently