From 01ca780c99d2e3dc7a42b1e4642d756f0bd74f15 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Thu, 14 Apr 2022 18:23:43 -0500 Subject: [PATCH] bugfix: date type casting bug --- data/maker/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/data/maker/__init__.py b/data/maker/__init__.py index 6c2a463..c65cbcf 100644 --- a/data/maker/__init__.py +++ b/data/maker/__init__.py @@ -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