Hi ,
Thank you for your work on the ta library. it's a great tool for technical analysis in Python.
I wanted to inform you about a FutureWarning from pandas that appears when using your library:
FutureWarning: Series.setitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To set a value by position, use ser.iloc[pos] = value
It seems that somewhere in the library, there is a line similar to:
series[0] = value
This works now but will behave differently in future versions of pandas. To avoid issues and suppress the warning, this should be updated to:
series.iloc[0] = value
I just wanted to report this to help future-proof the library and ensure compatibility with upcoming versions of pandas.
Hi ,
Thank you for your work on the ta library. it's a great tool for technical analysis in Python.
I wanted to inform you about a FutureWarning from pandas that appears when using your library:
FutureWarning: Series.setitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To set a value by position, use
ser.iloc[pos] = valueIt seems that somewhere in the library, there is a line similar to:
series[0] = value
This works now but will behave differently in future versions of pandas. To avoid issues and suppress the warning, this should be updated to:
series.iloc[0] = value
I just wanted to report this to help future-proof the library and ensure compatibility with upcoming versions of pandas.