    raise TypeError( TypeError: Provided `function` which is applied to all elements of table returns a variable of type <class 'list'>. Make sure provided `function` returns a variable of type `dict` to update the dataset or `None` if you are only interested in side effects.
{'login': 'keloemma', 'id': 40454218, 'node_id': 'MDQ6VXNlcjQwNDU0MjE4', 'avatar_url': 'https://avatars.githubusercontent.com/u/40454218?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/keloemma', 'html_url': 'https://github.com/keloemma', 'followers_url': 'https://api.github.com/users/keloemma/followers', 'following_url': 'https://api.github.com/users/keloemma/following{/other_user}', 'gists_url': 'https://api.github.com/users/keloemma/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/keloemma/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/keloemma/subscriptions', 'organizations_url': 'https://api.github.com/users/keloemma/orgs', 'repos_url': 'https://api.github.com/users/keloemma/repos', 'events_url': 'https://api.github.com/users/keloemma/events{/privacy}', 'received_events_url': 'https://api.github.com/users/keloemma/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}]
[]
## Describe the bug
A clear and concise description of what the bug is.
I am trying to use Dataset to load my file in order to use Bert embeddings model baut when I finished loading using dataset and I want to pass to the tokenizer using the function map; I get the following error : raise TypeError(
TypeError: Provided `function` which is applied to all elements of table returns a variable of type <class 'list'>. Make sure provided `function` returns a variable of type `dict` to update the dataset or `None` if you are only interested in side effects.

I was able to load my file using dataset before but since this morning , I keep getting this erreor.
## Steps to reproduce the bug
```python
# Xtrain, ytrain, filename, len_labels = read_file_2(fic)
	# Xtrain, lge_size = get_flaubert_layer(Xtrain, path_to_model_lge)

	data_preprocessed = make_new_traindata(Xtrain)
	
	my_dict = {"verbatim": data_preprocessed[1], "label": ytrain} # lemme avec conjonction
	dataset = Dataset.from_dict(my_dict)
```

## Expected results
A clear and concise description of the expected results.

## Actual results
Specify the actual results or traceback.

## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version:
- Platform:
- Python version:
- PyArrow version:

{'url': 'https://api.github.com/repos/huggingface/datasets/issues/2963/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}