assistant-sdk-python
assistant-sdk-python copied to clipboard
ImportError: cannot import name 'datetools'
Ao fazer a importação destas bibliotecas recebo o seguinte erro:
Importe as bilbiotecas##
import itertools import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import NullFormatter import pandas as pd import numpy as np import matplotlib.ticker as ticker from sklearn import preprocessing import os import seaborn as sns # visualization from scipy import stats from scipy.stats import norm import warnings from sklearn.tree import DecisionTreeClassifier warnings.filterwarnings('ignore') #ignore warnings
%matplotlib inline import gc
import statsmodels.api as sm from statsmodels.formula.api import ols
ModuleNotFoundError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\statsmodels\compat\pandas.py in
ModuleNotFoundError: No module named 'pandas.tseries.tools'
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\statsmodels\api.py in
~\Anaconda3\lib\site-packages\statsmodels\regression\recursive_ls.py in
~\Anaconda3\lib\site-packages\statsmodels\tsa\statespace\mlemodel.py in
~\Anaconda3\lib\site-packages\statsmodels\tsa\base\tsa_model.py in
~\Anaconda3\lib\site-packages\statsmodels\compat\pandas.py in
Seems like you need to install Pandas? This is unrelated to this project.