跳转至

Set math(集合运算 (Set math))

Takes as input two (or more) object sets of the same type and returns a combined object set based on operations defined by the user. Supported operations are the union, intersection, or difference of two object sets.

Input type

Object set

Output type

Object set

Examples

In the example below, we are using set math to find the difference between a set of 48,895 Airbnb objects ($B) and a filtered set of 22,326 Airbnb objects ($D). The output is the set ($E) of 26,569 Airbnb objects in $B but not in $D.

Airbnb data used in this example is open source.

Example of set math

Usage information

Functionality Availability
Standard Quiver card Supported
Transform table transform Unsupported

中文翻译


集合运算 (Set math)

接收两个(或更多)同类型的对象集作为输入,并基于用户定义的运算返回合并后的对象集。支持的运算包括两个对象集的并集 (union)、交集 (intersection) 或差集 (difference)。

输入类型

对象集 (Object set)

输出类型

对象集 (Object set)

示例

在以下示例中,我们使用集合运算来求取包含 48,895 个 Airbnb 对象的集合 ($B) 与包含 22,326 个 Airbnb 对象的过滤后集合 ($D) 之间的差集。输出结果为集合 ($E),其中包含 26,569 个存在于 $B 但不存在于 $D 中的 Airbnb 对象。

此示例中使用的 Airbnb 数据为开源数据。

集合运算示例

使用信息

功能 可用性
标准 Quiver 卡片 (Standard Quiver card) 支持
转换表转换 (Transform table transform) 不支持