跳转至

Reusable logic(可复用逻辑)

In analytical applications, you can choose to save pieces of logic for reuse by other users. This can be helpful to limit duplicative work, reduce time-to-value, and to allow users to leverage logic created by domain experts or more technical collaborators.

Contour

In Contour, you can save expressions to easily reuse logic across analyses and paths, as well as share logic with others. Saved expressions can be used to create or replace columns or to perform aggregates. Learn more about Contour.

Example screenshot of Contour saved expressions

Quiver

A visual function in Quiver consists of one or more Quiver cards that load, combine, and transform data. Visual functions automatically apply a set of logical steps to data inputs within a Quiver analysis, and can be used by others in their analyses. Learn more about Quiver.

Example screenshot of Quiver visual functions

Code Workbook

By abstracting code away behind a simple form-based interface, Code Workbook templates provide a lightweight way for highly technical users to collaborate with users who may be less comfortable writing code. Values selected by users are substituted into a template, which can then be run like any other transform in the workbook. Any transform that can be created with code, such as Matplotlib or Plotly visualizations, can be built with code templates. Learn more about Code Workbook.

Example screenshot of Code Workbook templates


中文翻译

可复用逻辑

在分析型应用中,您可以选择保存逻辑片段供其他用户复用。这有助于减少重复工作、缩短价值实现时间,并让用户能够利用领域专家或技术能力更强的协作者所创建的逻辑。

Contour

在 Contour 中,您可以保存表达式,以便在多个分析和路径中轻松复用逻辑,并与他人共享。保存的表达式可用于创建或替换列,或执行聚合操作。了解更多关于 Contour 的信息。

Contour 保存表达式示例截图

Quiver

Quiver 中的可视化函数(Visual Function)由一个或多个 Quiver 卡片组成,用于加载、合并和转换数据。可视化函数会自动将一组逻辑步骤应用于 Quiver 分析中的数据输入,其他用户可以在自己的分析中使用这些函数。了解更多关于 Quiver 的信息。

Quiver 可视化函数示例截图

Code Workbook

通过将代码抽象到简单的表单式界面背后,Code Workbook 模板为技术能力较强的用户与不太熟悉编写代码的用户之间的协作提供了一种轻量级方式。用户选择的值会被替换到模板中,然后可以像工作簿中的任何其他转换一样运行。任何可以通过代码创建的转换,例如 Matplotlib 或 Plotly 可视化,都可以通过代码模板构建。了解更多关于 Code Workbook 的信息。

Code Workbook 模板示例截图