Skip to content

Commit

Permalink
FAQ: How to use tsfresh with windows (blue-yonder#191)
Browse files Browse the repository at this point in the history
* Added FAQ - how to use tsfresh with windows.

* Some reformatting.

* Some more reformatting.

* Some more reformatting.

* Typos.
  • Loading branch information
moritzgelb authored and nils-braun committed Apr 6, 2017
1 parent ca0fdbf commit a7f5ef7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/text/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,31 @@ FAQ


1. **Does tsfresh support different time series lengths?**

Yes, it supports different time series lengths. However, some feature calculators can demand a minimal length
of the time series. If a shorter time series is passed to the calculator, a NaN is returned for those
features.



2. **Is it possible to extract features from rolling/shifted time series?**

Yes, the :func:`tsfresh.dataframe_functions.roll_time_series` function allows to conviniently create a rolled
time series datframe from your data. You just have to transform your data into one of the supported tsfresh
:ref:`data-formats-label`.
Then, the :func:`tsfresh.dataframe_functions.roll_time_series` give you a DataFrame with the rolled time series,
that you can pass to tsfresh.
On the following page you can find a detailed description: :ref:`rolling-label`.


3. **How can I use tsfresh with windows?**

We recommend to use `Anaconda <https://www.continuum.io/downloads#windows>`_. After installing, open the
Anaconda Prompt, create an environment and set up tsfresh:
::
conda create -n ENV_NAME python=VERSION
conda install -n ENV_NAME pip requests numpy pandas scipy statsmodels patsy scikit-learn future six tqdm
activate ENV_NAME
pip install tsfresh

Please be aware that we're using multiprocessing, which can be `problematic <http://stackoverflow.com/questions/18204782/runtimeerror-on-windows-trying-python-multiprocessing>`_.

0 comments on commit a7f5ef7

Please sign in to comment.