Why : With the development of data science applications, It can be useful to let users write custom formulas with supervision in order to be able to replicate this formulas in the backend with ease.
What :
The <editor-formula-python></editor-formula-python>
provides
- ✅ Variable suggestions
- ✅ Function suggestions
- ✅ Formula syntax checker
@ Input | Description | Type | Required | Default |
---|---|---|---|---|
formulas | List of authorized formulas | Formula[] | No | [] |
variables | List of authorized variables | Variable[] | No | [] |
@ Output | Description | Type |
---|---|---|
formulaParsing | Parsing formula with Acorn.js (for python) | { node: AcornNode, error: string } |