About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Feb 11, 2025
The Field Reorder node defines the natural order used to display
fields downstream. This order affects the display of fields in a variety of places, such as tables,
lists, and when selecting fields. This operation is useful when working with wide datasets to make
fields of interest more visible.
Example
node = stream.create("reorder", "My node") node.setPropertyValue("mode", "Custom") node.setPropertyValue("sort_by", "Storage") node.setPropertyValue("ascending", False) node.setPropertyValue("start_fields", ["Age", "Cholesterol"]) node.setPropertyValue("end_fields", ["Drug"])
properties |
Data type | Property description |
---|---|---|
|
|
You can sort values automatically or specify a custom order. |
|
|
|
|
flag | |
|
[field1 field2 … fieldn] | New fields are inserted after these fields. |
|
[field1 field2 … fieldn] | New fields are inserted before these fields. |
Was the topic helpful?
0/1000