[autoreload of pandas.core.sparse.frame 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/sparse/frame.py", line 21, in <module>

import pandas.core.algorithms as algos
AttributeError: module 'pandas.core' has no attribute 'algorithms'

Traceback (most recent call last):


 "<pyshell#38>", line 1, in <module>

import statsmodels.api as sm


 "C:\Users\mm22\AppData\Local\Programs\Python\Python36\lib\site-packages\statsmodels\api.py", line 35, in <module>

from .stats import api as stats


 "C:\Users\mm22\AppData\Local\Programs\Python\Python36\lib\site-packages\statsmodels\stats\api.py", line 65, in <module>

from .mediation import Mediation


 "C:\Users\mm22\AppData\Local\Programs\Python\Python36\lib\site-packages\statsmodels\stats\mediation.py", line 22, in <module>

import statsmodels.compat.pandas as pdc
# pragma: no cover
AttributeError: module 'statsmodels' has no attribute 'compat'
