Fix TypeError: Couldn't cast array of type...

#4
by lhoestq HF staff - opened

To fix the issue I set the struct type to be string types instead (they can be loaded using json.loads() in python if needed). This concerns those fields: doc, metadata, and attributes.

Alternatively we could define a new type json for datasets (feel free to open a PR !), let me know what you think

amanrangapur changed pull request status to merged
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment