[autoreload of pandas.core.computation.pytables failed: Traceback (most recent call last):


 "/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 246, in check

superreload(m, reload, self.old_objects)


 "/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 369, in superreload

module = reload(module)


 "/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/imp.py", line 315, in reload

return importlib.reload(module)


 "/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/importlib/__init__.py", line 166, in reload

_bootstrap._exec(spec, module)


 "<frozen importlib._bootstrap>", line 618, in _exec


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/pandas/core/computation/pytables.py", line 9, in <module>

import pandas.core.common as com
AttributeError: module 'pandas.core' has no attribute 'common'

Traceback (most recent call last):


 "train.py", line 522, in <module>

x = x[random.choices(range(n), weights=w)[0]]
# weighted selection
AttributeError: 'builtin_function_or_method' object has no attribute 'choices'