Hitachi Vantara Pentaho Community Wiki
Access Keys:
Skip to content (Access Key - 0)




Swaps two values of a nominal attribute.


The table below describes the options available for SwapValues.

Option Description
attributeIndex Sets which attribute to process. This attribute must be nominal ("first" and "last" are valid values)
firstValueIndex The index of the first value.("first" and "last" are valid values)
secondValueIndex The index of the second value.("first" and "last" are valid values)


The table below describes the capabilites of SwapValues.

Capability Supported
Class Empty nominal class, Missing class values, Binary class, Date class, Nominal class, Relational class, Numeric class, String class, Unary class, No class
Attributes String attributes, Date attributes, Relational attributes, Numeric attributes, Binary attributes, Empty nominal attributes, Missing values, Unary attributes, Nominal attributes
Min # of instances 0

This documentation is maintained by the Pentaho community, and members are encouraged to create new pages in the appropriate spaces, or edit existing pages that need to be corrected or updated.

Please do not leave comments on Wiki pages asking for help. They will be deleted. Use the forums instead.

Adaptavist Theme Builder Powered by Atlassian Confluence