You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-0fc1191c9b20> in <module>()
----> 1 from tsfresh import extract_relevant_features
/home/nobody/anaconda3/lib/python3.5/site-packages/tsfresh/__init__.py in <module>()
19
20
---> 21 from tsfresh.convenience.relevant_extraction import extract_relevant_features
22 from tsfresh.feature_extraction import extract_features
23 from tsfresh.feature_selection import select_features
/home/nobody/anaconda3/lib/python3.5/site-packages/tsfresh/convenience/relevant_extraction.py in <module>()
5 from __future__ import absolute_import
6 import pandas as pd
----> 7 from tsfresh.feature_extraction import extract_features
8 from tsfresh.feature_selection import select_features
9 from tsfresh.utilities.dataframe_functions import restrict_input_to_index
/home/nobody/anaconda3/lib/python3.5/site-packages/tsfresh/feature_extraction/__init__.py in <module>()
3 """
4
----> 5 from tsfresh.feature_extraction.extraction import extract_features
6 from tsfresh.feature_extraction.settings import FeatureExtractionSettings
/home/nobody/anaconda3/lib/python3.5/site-packages/tsfresh/feature_extraction/extraction.py in <module>()
9 import pandas as pd
10 import numpy as np
---> 11 from tsfresh.utilities import dataframe_functions, profiling
12 from tsfresh.feature_extraction.settings import FeatureExtractionSettings
13
/home/nobody/anaconda3/lib/python3.5/site-packages/tsfresh/utilities/profiling.py in <module>()
6 """
7
----> 8 import cProfile, pstats, StringIO
9 import logging
10
ImportError: No module named 'StringIO'
A little searching shows that the StringIO module is gone in Python 3 and has been replaced with the io module, from whence io.StringIO should be imported.
The text was updated successfully, but these errors were encountered:
I cannot import, the following error appears:
A little searching shows that the
StringIO
module is gone in Python 3 and has been replaced with theio
module, from whenceio.StringIO
should be imported.The text was updated successfully, but these errors were encountered: