Skip to content

Commit 3043221

Browse files
author
Michael Erickson
committed
Fixed groupby check in _nunique
1 parent fbee8e0 commit 3043221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swat/cas/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3355,7 +3355,7 @@ def _nunique(self, skipna=True):
33553355
If By groups are specified.
33563356
'''
33573357
#If we have a groupby table, we need to consider that
3358-
if self.get_groupby_vars:
3358+
if self.get_groupby_vars():
33593359
return self._retrieve('simple.distinct', includeMissing=not skipna)
33603360
else:
33613361
distinct_table = self._retrieve('simple.distinct', includeMissing=not skipna)['Distinct']

0 commit comments

Comments
 (0)