Closed schneiderfelipe closed 4 years ago
@schneiderfelipe
That's a great spot. Unfortunately, I always forget to update requirements.txt
as I am using poetry
for version control.
For this particular issue, I will revert it back to .dot
since the marginal elegance of using @
is not worth making people update pandas. Will push a fix shortly.
I just tested the latest repo version of PyPortfolioOpt and got some errors related to the usage of
@
:TypeError: unsupported operand type(s) for @: 'DataFrame' and 'Series'
.I installed PyPortfolioOpt with
pip3 -e .
, which means all dependencies were satisfied.Pandas stable (0.25.3) says
@
can be used for dot product. But since I'm using Pandas 0.25.1, it might be a version issue.Since PyPortfolioOpt currently depends on Pandas 0.21.0 or higher, should we change requirements.txt?
Full test output: