Jinja2 template (deprecated)¶
- 
class node_text_operations.Jinja2TemplateOld[source]¶
- Create and render a jinja2 template. See Jinja2 for full syntax of the template engine. - Use {{column name}} for accessing the first row of a column, or use ‘arg’ inside a jinja for-loop to access full table. - Example of iterating over each column: - {% for name in arg.column_names() %} The column name is: {{name}} The column data is: {% for value in arg.col(name).data %} {{value}} {% endfor %} {% endfor %} - Example of iterating over each row: - {% for row in arg.to_rows() %} {% for value in row %} {{value}} {% endfor %} {% endfor %} - Inputs: - in : table
- Input data 
 - Outputs: - out : text
- Rendered Template 
 - Configuration: - Template:
- Enter template here