bug fix: version update

This commit is contained in:
Steve Nyemba 2023-07-28 12:40:51 -05:00
parent d8035a6705
commit a0a2d8ae56
2 changed files with 4 additions and 2 deletions

View File

@ -187,6 +187,8 @@ class Learner(Process):
no_value = 0 if np.sum(no_value) > 0 else ''
try:
self._df[name] = self._df[name].fillna(no_value)
except Exception as e:
print (['.... skipping ',name,no_value])
finally:
pass
@ -591,7 +593,7 @@ class Shuffle(Generator):
_tmpdf = self._df[_columns].copy()[_columns]
np.random.seed(1)
np.random.shuffle(_index)
print (_columns,_index)
# _values = _tmpdf.values[_index]
#_tmpdf = _tmpdf.iloc[_index]
_tmpdf = pd.DataFrame(_tmpdf.values[_index],columns=_columns)

View File

@ -1 +1 @@
__version__='1.7.2'
__version__='1.7.4'