We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 918508b commit 646b4a2Copy full SHA for 646b4a2
Orange/widgets/data/owpivot.py
@@ -855,9 +855,11 @@ def no_col_feature(self):
855
def skipped_aggs(self):
856
def add(fun):
857
data, var = self.data, self.val_feature
858
+ primitive_funcs = Pivot.ContVarFunctions + Pivot.DiscVarFunctions
859
return data and not var and fun not in Pivot.AutonomousFunctions \
860
or var and var.is_discrete and fun in Pivot.ContVarFunctions \
- or var and var.is_continuous and fun in Pivot.DiscVarFunctions
861
+ or var and var.is_continuous and fun in Pivot.DiscVarFunctions \
862
+ or var and not var.is_primitive() and fun in primitive_funcs
863
skipped = [str(fun) for fun in self.sel_agg_functions if add(fun)]
864
return ", ".join(sorted(skipped))
865
0 commit comments