diff --git a/schematic/models/validate_manifest.py b/schematic/models/validate_manifest.py index 977a9c279..419d78b88 100644 --- a/schematic/models/validate_manifest.py +++ b/schematic/models/validate_manifest.py @@ -292,6 +292,9 @@ def validate_manifest_values( warnings = [] col_attr = {} # save the mapping between column index and attribute name + # Replace nans with empty strings so jsonschema + manifest = manifest.replace({np.nan: ""}) + # numerical values need to be type string for the jsonValidator for col in manifest.select_dtypes( include=[int, np.int64, float, np.float64]