pmorissette / ffn

ffn - a financial function library for Python
pmorissette.github.io/ffn
MIT License
2.03k stars 300 forks source link

'DataFrame' object has no attribute 'ix' #107

Closed pacov closed 3 years ago

pacov commented 3 years ago

perf[2].display_monthly_returns() is not running

eervin123 commented 3 years ago

.ix is deprecated in the new pandas release. Change .ix to .loc and .iloc and everything should work correctly.

Note this issue was already mentioned in several other issues #80, #89, #96

It appears the codebase was updated in GitHub but not on PyPI

eervin123 commented 3 years ago

@timkpaine I just updated my response, It appears this is a PyPI issue, not a code bug. I think the newer release just needs to be pushed.

eervin123 commented 3 years ago

It appears this was fixed in 2018

pacov commented 3 years ago

Thank you very much. I’ll update PyPI.

El El mié, 18 de noviembre de 2020 a la(s) 7:46, Eric Ervin < notifications@github.com> escribió:

@timkpaine https://github.com/timkpaine I just updated my response, It appears this is a PyPI issue, not a code bug. I think the newer release just needs to be pushed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pmorissette/ffn/issues/107#issuecomment-729726481, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMJXSIIJHQ4VUEHFJN2LQLSQPM3TANCNFSM4TPRQ4PA .

timkpaine commented 3 years ago

closing, will do a release in the nearish future. Feel free to use an older version of pandas in the mean time.