From bff087f9c3c03ab8c5822e616588ac2d15ee8a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20G=C3=B3mez?= Date: Fri, 12 Jan 2024 14:56:31 +0100 Subject: [PATCH] Kurt function iteration --- src/pykx/pandas_api/pandas_meta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pykx/pandas_api/pandas_meta.py b/src/pykx/pandas_api/pandas_meta.py index 24cc79f..f11e101 100644 --- a/src/pykx/pandas_api/pandas_meta.py +++ b/src/pykx/pandas_api/pandas_meta.py @@ -169,7 +169,7 @@ def kurt(self, axis: int = 0, numeric_only: bool = False): 'n: count x;' 'm2: sum adjusted_sq: adjusted xexp 2;' 'm4: sum adjusted_sq xexp 2;' - 'adj: 3 * xexp[n-1; 2] % (n - 2) * (n - 3);' + 'adj: 3 * xexp[n - 1; 2] % (n - 2) * (n - 3);' 'numerator: n * (n + 1) * (n - 1) * m4;' 'denominator: (n - 2) * (n - 3) * m2 xexp 2;' '(numerator % denominator) - adj}')