The Trillion-Row Spreadsheet (TRS) timeline makes it easy to insert Python code into
your analysis.
With the Code operation in the TRS timeline, the Insights
Platform now supports adding a snippet of Python language code into your analysis. If
you use the Code operation to add Python language code, it is not
necessary to add the CDATA
syntax. Simply write your Python code in the
Code panel.
Note: Your 1010data Insights Platform instance must exist in the cloud, or you will
get an error message when you attempt to submit the operation.
To use the TRS timeline to insert Python code:
-
In the TRS, click the operation in the timeline where you want the Python code
to follow.
-
Click the Insert operation (
) icon.
The TRS inserts the
New operation panel after the
currently selected operation in the timeline.

-
In the New Operation panel of the TRS timeline, click
Code.
The
Code panel appears in the TRS
timeline.

-
Select Python from the Language
drop-down list.
The following sample Python code appears:

-
Edit the Python code and click the Submit operation
(
) icon.