Skip to content

Commit 9303d4b

Browse files
committed
Add small fix to support newer pandas
1 parent f62d28a commit 9303d4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

terminusdb_client/scripts/scripts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ def _df_to_schema(class_name, df):
461461
if k in vars(builtins)
462462
}
463463
np_to_buildin[np.datetime64] = dt.datetime
464+
np_to_buildin[str] = str
464465
for col, dtype in dict(df.dtypes).items():
465466
if embedded and col in embedded:
466467
converted_type = class_name

0 commit comments

Comments
 (0)