We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab7cce9 commit b8f630eCopy full SHA for b8f630e
libcbm/input/sit/sit_parser.py
@@ -43,7 +43,7 @@ def unpack_column(table, column_description, table_name):
43
col_name = column_description["name"]
44
if "type" in column_description:
45
try:
46
- data = data.astype(column_description['type'], skipna=True)
+ data[data.notna()] = data.astype(column_description['type'])
47
except ValueError:
48
raise ValueError(
49
f"{table_name} table, column: '{col_name}' contains values "
0 commit comments