'list' as a feature in huggingface dataset

i have a list of several dictionaries.

I can convert them to dataset by using from_pandas(pd.DataFrame(data = data))

The problem is that some of the values in the dictionaries are themselves lists.

I saw from the feature list given in the documentation that list was not of the the feature values supported.

Is there a way to get around it?

Sequence is a supported feature type, that lets you have nested lists for example :slight_smile:

1 Like