To use wwdata in a project:

import wwdata as ww

As the package was developed with the help of Jupyter Notebook (version 4.4.1) and visualisation is an important part of it, it is highly recommended to make use of a Jupyter Notebook when using the package.

Once the package is imported, the suggested workflow is as follows:

  1. Read data and convert it to a pandas DataFrame (see [the pandas documentation]( for more information); format it in the way you like.

  2. Create an object of any of the three classes in the wwdata package, e.g. the OnlineSensorBased class:

    data = ww.OnlineSensorBased(dataframe,timedata_column="time",data_type="WWTP",experiment_tag="Data 2017")
  3. Explore and format the data (convert to datetime, make absolute time index, make some plots…), e.g.:

  4. Tag non-valid data points. The way to do this depends on the data you are working with, but the general approach would be:


i.e. to simply apply any of the filtering functions to the class object.

  1. Apply any other functionalities to the object. In the below example, this is the filling of the gaps introduced by filtering data in the previous step (for details on the meaning of the arguments, please refer to the documentation provided within the source code):