Indicators.jl icon indicating copy to clipboard operation
Indicators.jl copied to clipboard

Support views

Open Roh-codeur opened this issue 3 years ago • 2 comments

hi, Any idea why this package does not support views? it would help a lot reduce memory usage

Thanks!

Roh-codeur avatar Jul 11 '22 18:07 Roh-codeur

@Roh-codeur Could you help me understand what you mean by "view" and how you would envision it with respect to this package specifically?

dysonance avatar Dec 06 '22 10:12 dysonance

@dysonance : so, I have a dataframe with ticker and OHLCV values. I have to calculate the indicator values for each ticker. I do a groupby on the dataframe which gives me a subdataframe. if I look for OHLCV values, it gives me a view over the subdataframe. since this library does not support views, I have to convert it into an array.

hope this helps. I must admit, I am not a Julia expert, so please excuse my ignorance if a quick fix is available thanks!

Roh-codeur avatar Dec 07 '22 20:12 Roh-codeur