mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-18 12:20:12 +08:00
For beta calculation: Remove `.dropna` , since it was creating a new Series and Index which inflated memory usage as algorithm run time progressed. For downside risk calculations: Instead of using pd.Series calculations, pass the underlying numpy array which have already been sliced to the exact dt, so that the call to `round` does not create a new Series.