Skip to content

add feature to MeanTransform #1326

Open
2 tasks done
TsoyAlV opened this issue Jul 22, 2023 · 1 comment
Open
2 tasks done

add feature to MeanTransform #1326

TsoyAlV opened this issue Jul 22, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@TsoyAlV
Copy link

TsoyAlV commented Jul 22, 2023

🚀 Feature Request

It is not possible to take average data for a certain period (start, stop).
Important!
The function "MeanTransform" takes data from future

Proposal

  • 1) First of all, I want data not taken from the future
  • 2) Add option to select averaging period

Test cases

No response

Additional context

image

@TsoyAlV TsoyAlV added the enhancement New feature or request label Jul 22, 2023
@Mr-Geekman
Copy link
Contributor

Hello!
If you want for MeanTransform not to use data for the current timestamp you can do it by applying MeanTransform to lagged values.
In that case you create lagged values using LagTransform(in_column="column_name", lags=[my_lag], out_column="lag") and then add MeanTransform(in_column=f"lag_{my_lag}", window=my_window).

Add option to select averaging period

Can you elaborate on this? We have window parameter, isn't it enough?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants