Skip to content

Commit a7f5ef7

Browse files
moritzgelbnils-braun
authored andcommitted
FAQ: How to use tsfresh with windows (blue-yonder#191)
* Added FAQ - how to use tsfresh with windows. * Some reformatting. * Some more reformatting. * Some more reformatting. * Typos.
1 parent ca0fdbf commit a7f5ef7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/text/faq.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,31 @@ FAQ
33

44

55
1. **Does tsfresh support different time series lengths?**
6+
67
Yes, it supports different time series lengths. However, some feature calculators can demand a minimal length
78
of the time series. If a shorter time series is passed to the calculator, a NaN is returned for those
89
features.
910

1011

1112

1213
2. **Is it possible to extract features from rolling/shifted time series?**
14+
1315
Yes, the :func:`tsfresh.dataframe_functions.roll_time_series` function allows to conviniently create a rolled
1416
time series datframe from your data. You just have to transform your data into one of the supported tsfresh
1517
:ref:`data-formats-label`.
1618
Then, the :func:`tsfresh.dataframe_functions.roll_time_series` give you a DataFrame with the rolled time series,
1719
that you can pass to tsfresh.
1820
On the following page you can find a detailed description: :ref:`rolling-label`.
21+
22+
23+
3. **How can I use tsfresh with windows?**
24+
25+
We recommend to use `Anaconda <https://www.continuum.io/downloads#windows>`_. After installing, open the
26+
Anaconda Prompt, create an environment and set up tsfresh:
27+
::
28+
conda create -n ENV_NAME python=VERSION
29+
conda install -n ENV_NAME pip requests numpy pandas scipy statsmodels patsy scikit-learn future six tqdm
30+
activate ENV_NAME
31+
pip install tsfresh
32+
33+
Please be aware that we're using multiprocessing, which can be `problematic <http://stackoverflow.com/questions/18204782/runtimeerror-on-windows-trying-python-multiprocessing>`_.

0 commit comments

Comments
 (0)