train_test_split error: 'dict' object has no attribute 'deepcopy'
MEMBER
It was fixed in 2ddd18d139d3047c9c3abe96e1e7d05bb360132c.
Could you pull the latest changes from master @morganmcg1 ?
2020-07-17T11:27:44Z
https://github.com/huggingface/datasets/issues/409#issuecomment-660055246
https://api.github.com/repos/huggingface/datasets/issues/409
MDEyOklzc3VlQ29tbWVudDY2MDA1NTI0Ng==
https://api.github.com/repos/huggingface/datasets/issues/comments/660055246/reactions
2020-07-17T11:27:44Z
https://api.github.com/repos/huggingface/datasets/issues/comments/660055246
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
NONE
Thanks @lhoestq, works fine now!
2020-07-21T14:34:49Z
https://github.com/huggingface/datasets/issues/409#issuecomment-661899210
https://api.github.com/repos/huggingface/datasets/issues/409
MDEyOklzc3VlQ29tbWVudDY2MTg5OTIxMA==
https://api.github.com/repos/huggingface/datasets/issues/comments/661899210/reactions
2020-07-21T14:34:49Z
https://api.github.com/repos/huggingface/datasets/issues/comments/661899210
https://avatars.githubusercontent.com/u/20516801?v=4
https://api.github.com/users/morganmcg1/events{/privacy}
https://api.github.com/users/morganmcg1/followers
https://api.github.com/users/morganmcg1/following{/other_user}
https://api.github.com/users/morganmcg1/gists{/gist_id}
https://github.com/morganmcg1
morganmcg1
MDQ6VXNlcjIwNTE2ODAx
https://api.github.com/users/morganmcg1/orgs
https://api.github.com/users/morganmcg1/received_events
https://api.github.com/users/morganmcg1/repos
https://api.github.com/users/morganmcg1/starred{/owner}{/repo}
https://api.github.com/users/morganmcg1/subscriptions
User
https://api.github.com/users/morganmcg1
public
`train_test_split` is giving me an error when I try and call it:

`'dict' object has no attribute 'deepcopy'`

## To reproduce

```
dataset = load_dataset('glue', 'mrpc', split='train')
dataset = dataset.train_test_split(test_size=0.2)
```

## Full Stacktrace
```
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-12-feb740dbec9a> in <module>
      1 dataset = load_dataset('glue', 'mrpc', split='train')
----> 2 dataset = dataset.train_test_split(test_size=0.2)

~/anaconda3/envs/fastai2_me/lib/python3.7/site-packages/nlp/arrow_dataset.py in train_test_split(self, test_size, train_size, shuffle, seed, generator, keep_in_memory, load_from_cache_file, train_cache_file_name, test_cache_file_name, writer_batch_size)
   1032                     "writer_batch_size": writer_batch_size,
   1033                 }
-> 1034                 train_kwargs = cache_kwargs.deepcopy()
   1035                 train_kwargs["split"] = "train"
   1036                 test_kwargs = cache_kwargs.deepcopy()

AttributeError: 'dict' object has no attribute 'deepcopy'
```