bug fixes with data-types

dev
Steve L. Nyemba 4 years ago
parent 846fa99743
commit 20ee62178a

@ -222,7 +222,9 @@ class Components :
# Let us merge the dataset here and and have a comprehensive dataset
_df = pd.DataFrame.join(df,_df)
for _item in _schema :
if _item['type'] in ['DATE','TIMESTAMP','DATETIME'] :
_df[_item['name']] = _df[_item['name']].astype(str)
writer.write(_df[cols],schema=_schema,table=args['from'])
# writer.write(df,table=table)
pass

Loading…
Cancel
Save