Lucid.CSV.AddFormulaColumn

This task type adds a column to a CSV file by evaluation a formula for each row.

Supported functions and operators:

  • sin cos tan asin acos atan atan2

  • sinh cosh tanh asinh acosh atanh

  • floor ceiling frac

  • exp log sinc

  • max min sqrt abs sign

  • + - * / % **

  • or and ^

  • == != > >= < <=

  • ( )

  • True False

  • Piecewise

  • ... if ... else ...

Full DataFrame access:

  • df (Full DataFrame object)

  • df.column1.median(), df.column1.mean(), df.column1.std(), …

  • polyfit(df.x, df.y, degree)

  • row (Full row Series object), row.name (row index)