PGPortfolio icon indicating copy to clipboard operation
PGPortfolio copied to clipboard

pandas panel

Open lefig opened this issue 5 years ago • 3 comments

Hi there

Apologies for ask as I am not a python programmer, but I have followed the excellent usage instructions but have a problem with running this on a more recent version of pandas.

The panel throws an exception due to invalid parameters:

globaldatamatrix.py:

 panel = pd.Panel(items=features, major_axis=coins, minor_axis=time_index, dtype=np.float32)

The exception: object() takes no parameters

I think that I need to create a multi-index df using the above logic but am not sure.

Thanks!

lefig avatar Feb 26 '20 15:02 lefig

use pandas < 1.0 e.g. 0.24

0xdarkman avatar Mar 03 '20 19:03 0xdarkman

"Panel was removed in 0.25.0. For prior documentation, see the 0.24 documentation"

Note please

hanseul-jeong avatar Nov 11 '20 10:11 hanseul-jeong

Thank you both

lefig avatar Nov 17 '20 22:11 lefig