Shuffle
Last updated
Was this helpful?
Last updated
Was this helpful?
This operation rearranges the elements of an input string, list, or dataset into a random order. It’s a useful operation for tasks like randomization, testing, or introducing entropy into datasets.
These are the input/output expected data types for this operation:
- Strings whose characters will be shuffled.
- Resulting strings after shuffling the characters.
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Suppose you want to shuffle the characters of a series of strings in your input data:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Shuffle.
Set Delimiter to Nothing (separate chars)
.
Give your Output field a name and click Save. The characters in your input strings will be shuffled.
For example:
You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.