bugfix: date type casting bug

This commit is contained in:
Steve Nyemba 2022-04-14 18:29:28 -05:00
parent 01ca780c99
commit 133b0120db
1 changed files with 1 additions and 1 deletions

View File

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