bug fix urgh

This commit is contained in:
Steve Nyemba 2020-04-15 10:23:14 -05:00
parent 02d8588f5b
commit 9fff0d123e
1 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ class Binary :
This function will return the columns that are available for processing ...
"""
values = column.dropna().value_counts().index
if size > 0 :
if size > 0 and column.size > size:
values = values[:size]
values.sort_values()
return values