0417d5f7b0
The previous `moving_parkinson_estimator` contained an explicit loop that iterated over DataFrame slices, making it O(N^2) computationally. This PR applies vectorized pandas rolling operations to calculate the exact same metric in O(N) time. Measured a ~1800x speedup (5.2 seconds down to 0.003 seconds) on 10,000 rows. Correctness is fully maintained relative to the original output. Co-authored-by: maghdam <63883156+maghdam@users.noreply.github.com>