pmorissette/ffn

in python 11,there are some warnings about ffn

vagrant-psyche opened this issue · 1 comments

Describe the bug
in python 11,there are some warnings about ffn

/root/miniconda3/envs/general/lib/python3.11/site-packages/ffn/core.py:1258: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
return daily_prices[-1] / monthly_prices[-2] - 1

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version:python 11

Additional context
Add any other context about the problem here.