Problem with JSON dataset format
MEMBER
Currently the `json` dataset doesn't support this format unfortunately.
However you could load it with
```python
from datasets import Dataset
import pandas as pd

df = pd.read_json("path_to_local.json", orient="index")
dataset = Dataset.from_pandas(df)
```
2020-09-21T08:20:21Z
https://github.com/huggingface/datasets/issues/651#issuecomment-695971935
https://api.github.com/repos/huggingface/datasets/issues/651
MDEyOklzc3VlQ29tbWVudDY5NTk3MTkzNQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/695971935/reactions
2020-09-21T08:20:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/695971935
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
MEMBER
or you can make a custom dataset script as explained in doc here: https://huggingface.co/docs/datasets/add_dataset.html
2020-09-21T12:14:24Z
https://github.com/huggingface/datasets/issues/651#issuecomment-696075198
https://api.github.com/repos/huggingface/datasets/issues/651
MDEyOklzc3VlQ29tbWVudDY5NjA3NTE5OA==
https://api.github.com/repos/huggingface/datasets/issues/comments/696075198/reactions
2020-09-21T12:14:24Z
https://api.github.com/repos/huggingface/datasets/issues/comments/696075198
https://avatars.githubusercontent.com/u/7353373?v=4
https://api.github.com/users/thomwolf/events{/privacy}
https://api.github.com/users/thomwolf/followers
https://api.github.com/users/thomwolf/following{/other_user}
https://api.github.com/users/thomwolf/gists{/gist_id}
https://github.com/thomwolf
thomwolf
MDQ6VXNlcjczNTMzNzM=
https://api.github.com/users/thomwolf/orgs
https://api.github.com/users/thomwolf/received_events
https://api.github.com/users/thomwolf/repos
https://api.github.com/users/thomwolf/starred{/owner}{/repo}
https://api.github.com/users/thomwolf/subscriptions
User
https://api.github.com/users/thomwolf
public
I have a local json dataset with the following form.

{
    'id01234': {'key1': value1, 'key2': value2, 'key3': value3},
    'id01235': {'key1': value1, 'key2': value2, 'key3': value3},
    .
    .
    .
    'id09999': {'key1': value1, 'key2': value2, 'key3': value3}
}
Note that instead of a list of records it's basically a dictionary of key value pairs with the keys being the record_ids and the values being the corresponding record.

Reading this with json:

```
data = datasets.load('json', data_files='path_to_local.json')
```
Throws an error and asks me to chose a field. What's the right way to handle this?