githubEdit

Remove duplicates from list transform action

Use case

You are working with a list of users however, the dataset contains multiple objects with the same GUID, you would like to remove the duplicates from the list.

Overview

Returns a list of unique items from the given list/iterable.

Parameters

Parameter
Description
Required

Attribute

Filter objects with unique values for this attribute; Only required for lists of objects.

Case Sensitive

Treat upper and lowercase strings as distinct.

List

List to remove duplicates from.

circle-info

For nested field names, separate them by dots (e.g., details.age).

Usage

chevron-rightExample 1: Filter List For Unique Objects Based On Usernamehashtag

Inputs

Attribute: username Case Sensitive: False List:

chevron-rightExample 2: Filter List of Integers For Unique Integershashtag

Inputs

Attribute: username Case Sensitive: False List:

Results output

The expected output for this transform is a new list of the unique items from the previous list.

Result of Example 1:

Result of Example 2:

Last updated

Was this helpful?