bug fix ... with data-typing in data-frame
This commit is contained in:
parent
ba1f38770d
commit
944a3edbf6
|
@ -169,7 +169,7 @@ class Components :
|
||||||
# let us fix the data types here every _id field will be an np.int64...
|
# let us fix the data types here every _id field will be an np.int64...
|
||||||
#
|
#
|
||||||
for name in df.columns.tolist():
|
for name in df.columns.tolist():
|
||||||
if name.endwith('_id') :
|
if name.endswith('_id') :
|
||||||
df[name] = df[name].astype(np.int64)
|
df[name] = df[name].astype(np.int64)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue