Won't be able to make tsfresh work on Windows #976
-
Trying to make tsfresh work under Windows - however, I can't manage to do so. I am using Python 3.10.6 1. What I did Terminal
Then, after choosing the resulting Interpreter, I ran what basically is the example code provided on the
2. What I got The runs properly until 3. What I tried I tried setting up the environment in different ways with different Python versions. To no avail. I also consider(ed) switching to an alternative package named However, I am really in need of setting up a pipeline for extracting features from time series data in a structured and systematic fashion. Does anybody have a clue what could be done about this? Already spent quite some time on this :-/ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @mkatgithub123 - sorry for the massive delay in the answer. If you are using from tsfresh.examples.robot_execution_failures import load_robot_execution_failures
import matplotlib.pyplot as plt
from tsfresh import extract_features
if __name__ == '__main__':
timeseries, y = load_robot_execution_failures()
print(timeseries.head())
timeseries[timeseries['id'] == 3].plot(subplots=True, sharex=True, figsize=(10,10))
plt.show()
timeseries[timeseries['id'] == 20].plot(subplots=True, sharex=True, figsize=(10,10))
plt.show()
extracted_features = extract_features(timeseries, column_id="id", column_sort="time") The |
Beta Was this translation helpful? Give feedback.
Hi @mkatgithub123 - sorry for the massive delay in the answer. If you are using
if __name__ == '__main__':
you want to put everything except the imports under it, like