Describe the bug
Error importing MapieTimeSeriesRegressor because pandas is not a required package in mapie.
cd
conda activate
conda create -n test-mapie --yes python=3.9
conda activate test-mapie
pip install mapie==0.8.0
python
Python 3.9.18 (main, Sep 11 2023, 08:38:23)
[Clang 14.0.6 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from mapie.regression import MapieTimeSeriesRegressor
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "***/opt/anaconda3/envs/test-mapie/lib/python3.9/site-packages/mapie/__init__.py", line 1, in <module>
from . import classification, metrics, regression
File "***/opt/anaconda3/envs/test-mapie/lib/python3.9/site-packages/mapie/classification.py", line 19, in <module>
from .metrics import classification_mean_width_score
File "***/opt/anaconda3/envs/test-mapie/lib/python3.9/site-packages/mapie/metrics.py", line 9, in <module>
from .utils import (calc_bins, check_alpha,
File "***/opt/anaconda3/envs/test-mapie/lib/python3.9/site-packages/mapie/utils.py", line 6, in <module>
from pandas import DataFrame, Series
ModuleNotFoundError: No module named 'pandas'
Expected behavior
Add pandas to the package requirements or remove this dependency to resolve the error ModuleNotFoundError.
Describe the bug Error importing
MapieTimeSeriesRegressor
because pandas is not a required package in mapie.Expected behavior Add pandas to the package requirements or remove this dependency to resolve the error
ModuleNotFoundError
.