bug fix: no value data-type np.nan_to_num

dev
Steve L. Nyemba 5 years ago
parent 52e91ec063
commit 50da909867

@ -536,7 +536,7 @@ class Predict(GNet):
self.values = args['values']
self.ROW_COUNT = args['row_count']
self.oROW_COUNT = self.ROW_COUNT
self.MISSING_VALUES = np.nan
self.MISSING_VALUES = np.nan_to_num(np.nan)
if 'no_value' in args and args['no_value'] not in ['na','','NA'] :
self.MISSING_VALUES = args['no_value']

Loading…
Cancel
Save