# 'list' as a feature in huggingface dataset

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flist-as-a-feature-in-huggingface-dataset%2F40625%3E%5C
**Category:** 🤗Datasets\
**Created:** [May 22, 2023, 1:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flist-as-a-feature-in-huggingface-dataset%2F40625 "2023-05-22T13:22:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabimaru](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@Gabimaru](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FGabimaru)%5C
**Post date:** [May 22, 2023, 1:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flist-as-a-feature-in-huggingface-dataset%2F40625%2F1 "2023-05-22T13:22:17Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![lhoestq](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lhoestq/32/52888_2.png) [@lhoestq](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flhoestq)%5C
**Post date:** [May 25, 2023, 3:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flist-as-a-feature-in-huggingface-dataset%2F40625%2F2 "2023-05-25T15:09:16Z")

</div>

`Sequence` is a supported feature type, that lets you have nested lists for example 🙂
