fix typo in cxgtool bool handler (#1404)

This commit is contained in:
Bruce Martin
2020-04-17 11:11:14 -07:00
committed by GitHub
parent 03a75ec566
commit d22300e3db
+1 -1
View File
@@ -164,7 +164,7 @@ def dtype_to_schema(dtype):
elif dtype == np.int32:
return (np.int32, {})
elif dtype == np.bool_:
return (np.uint8, {type: "boolean"})
return (np.uint8, {"type": "boolean"})
elif dtype == np.str:
return (np.unicode, {"type": "string"})
elif dtype == "category":