Icon

Exercise2

There has been no title set for this workflow's metadata.

Chapter 4 / Exercise 2

Read file date_time_ex2.csv
Apply moving average to sales trend of last 12 months.

This exercise applies two moving averages with different window size and compares them visually using a line plot.

Annotations and comments
  • Workflow: Chapter 4/Exercise 2 Read file date_time_ex2.csv. Apply moving average to sales trend of last 12 months. This exercise applies two moving averages with different window size and compares them visually using a line plot.
  • date_time_ex2.csv This file was generated in Chapter4/Exercise1
  • calculate the time difference between today and date in column in no of Days
  • time diff > 12 months Only sales with DateTime older than 12 months are kept.
  • Conversion to DateTime because the "File Reader" reads DateTime as String.
  • by DateTime
  • on RowID inner join
  • compare the two moving average lines vs.date
  • "Center simple" moving average on column "sum(price)" with moving window size of 11 samples
  • "Center simple" moving average on column "sum(price)" with moving window size of 21 samples

Nodes

Extensions

Links