zhengruifeng commented on code in PR #47866:
URL: https://github.com/apache/spark/pull/47866#discussion_r1730611794
##########
python/pyspark/pandas/plot/core.py:
##########
@@ -437,6 +438,37 @@ def get_fliers(colname, outliers, min_val):
return fliers
+ @staticmethod
+ def get_multicol_fliers(colnames, multicol_outliers, multicol_whiskers):
+ scols = []
+ extract_colnames = []
+ for i, colname in enumerate(colnames):
+ formated_colname = "`{}`".format(colname)
+ outlier_colname = "__{}_outlier".format(colname)
+ min_val = multicol_whiskers[colname]["min"]
Review Comment:
I feel it weird to select the outliers by the distance `|value -
lower_whisker|`, which is used in series.boxplot.
It should be something like `|value - median|` or `|value - mean|`, will
revisit this later.
--
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]