bugfix: date type casting bug

dev
Steve Nyemba 3 years ago
parent 93ebe8ee1b
commit 01ca780c99

@ -284,6 +284,7 @@ class Generator (Learner):
_df[name] = _df[name].astype('datetime64[ns]')
else:
_df[name] = _df[name].astype(str)
_df[name] = _df[name].fillna('')
if r :
self.log(**{'action':'format','input':r})
return _df

Loading…
Cancel
Save