From 9fff0d123e9a1a4d89dd996f9c2a10db5fc78be7 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Wed, 15 Apr 2020 10:23:14 -0500 Subject: [PATCH] bug fix urgh --- data/bridge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/bridge.py b/data/bridge.py index 137a504..902c6d3 100644 --- a/data/bridge.py +++ b/data/bridge.py @@ -198,9 +198,9 @@ 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() + values.sort_values() return values def _get_column_values(self,column,size=-1):