Skip to content

Commit a7ca8be

Browse files
committed
Statistics.util.unique: No counts by defult
1 parent 38b3897 commit a7ca8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/statistics/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def nanmean(x):
290290
return np.nansum(x.data) / n_values
291291

292292

293-
def unique(x, return_counts=True):
293+
def unique(x, return_counts=False):
294294
""" Equivalent of np.unique that supports sparse or dense matrices. """
295295
if not sp.issparse(x):
296296
return np.unique(x, return_counts=return_counts)

0 commit comments

Comments
 (0)