Traceback (most recent call last):


 "/mnt/beegfs/xwang/app/anaconda2/lib/python2.7/site-packages/distributed/utils.py", line 229, in f

result[0] = yield make_coro()


 "/mnt/beegfs/xwang/app/anaconda2/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run

value = future.result()


 "/mnt/beegfs/xwang/app/anaconda2/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result

raise_exc_info(self._exc_info)


 "/mnt/beegfs/xwang/app/anaconda2/lib/python2.7/site-packages/tornado/gen.py", line 1063, in run

yielded = self.gen.throw(*exc_info)


 "/mnt/beegfs/xwang/app/anaconda2/lib/python2.7/site-packages/distributed/client.py", line 1246, in _gather

traceback)


 "/mnt/beegfs/xwang/app/anaconda2/lib/python2.7/site-packages/dask/dataframe/methods.py", line 166, in sample

return df.sample(random_state=rs, frac=frac, replace=replace)


 "/mnt/beegfs/xwang/app/anaconda2/lib/python2.7/site-packages/pandas/core/generic.py", line 2900, in sample

locs = rs.choice(axis_length, size=n, replace=replace, p=weights)


 "mtrand.pyx", line 1115, in mtrand.RandomState.choice (numpy/random/mtrand/mtrand.c:17104)
ValueError: a must be greater than 0

Traceback (most recent call last):

 "/Users/arundurvasula/anaconda/bin/cookiecutter", line 9, in <module>
load_entry_point('cookiecutter==0.9.1', 'console_scripts', 'cookiecutter')()

 "/Users/arundurvasula/anaconda/lib/python2.7/site-packages/cookiecutter/main.py", line 169, in main
cookiecutter(args.input_dir, args.checkout, args.no_input)

 "/Users/arundurvasula/anaconda/lib/python2.7/site-packages/cookiecutter/main.py", line 105, in cookiecutter
context=context

 "/Users/arundurvasula/anaconda/lib/python2.7/site-packages/cookiecutter/generate.py", line 181, in generate_files
env = Environment(keep_trailing_newline=True)TypeError: __init__() got an unexpected keyword argument 'keep_trailing_newline'