rusackas commented on code in PR #44657:
URL: https://github.com/apache/superset/pull/44657#discussion_r4173224032


##########
superset/charts/client_processing.py:
##########
@@ -817,9 +817,9 @@ def union_currency_context(
     "Sum": pd.Series.sum,
     "Average": pd.Series.mean,
     "Median": pd.Series.median,
-    "Sample Variance": lambda series: pd.series.var(series) if len(series) > 1 
else 0,
+    "Sample Variance": lambda series: pd.Series.var(series) if len(series) > 1 
else 0,

Review Comment:
   @sadpandajoe added a parametrized `pivot_table_v2` test with values 10 and 
20 at one address, asserting variance 50 and standard deviation ~7.071 with 
number formatting off.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to