You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeError: Type is not JSON serializable: numpy.ndarray/recarray #729
We probed JSON serialization with crate-python and discovered it does not work well in all situations yet, for example when the data payload includes an array/list, and is read from JSON using pandas or Polars.
{"foo":"bar","baz":["qux"]}
The reason is that the decoded payload includes numpy.ndarray or recarray types.
Activity
amotl commentedon Nov 3, 2025
Importing this file with
pl.read_parquet(), then trying to write it usingdf.write_database()causes the same problem.https://cdn.crate.io/downloads/datasets/cratedb-datasets/misc/cities.parquet