bugfix: date type casting bug
This commit is contained in:
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…
Reference in New Issue