HK3-Lab-Team / pytrousse

PyTrousse collects into one toolbox a set of data wrangling procedures tailored for composing reproducible analytics pipelines.
Apache License 2.0
0 stars 1 forks source link

Add OperationList #75

Closed alessiamarcolini closed 3 years ago

alessiamarcolini commented 3 years ago

_OperationsList is a Sequence containing FeatureOperations. The FeatureOperation can be accessed via square brackets using an index (to get the i-th operation) or using a string representing the column name (to get all the operations related to that column). It can be iterated over and is possible to get the derived columns from a column or to get the original columns that generated a column.

An instance of _OperationsList will be contained in a Dataset to keep track of the preprocessing steps on that Dataset [implementation in a successive PR]

fixes #49