renaming does not work?

User: "Fred12"
New Altair Community Member
Updated by Jocelyn
<?xml version="1.0" encoding="UTF-8"?><process version="7.2.002">
<context>
<input>
<location>//Daten/Masterdatensätze/Master3Klassen_nominal</location>
</input>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="7.2.002" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="retrieve" compatibility="7.2.002" expanded="true" height="68" name="Retrieve Iris" width="90" x="45" y="238">
<parameter key="repository_entry" value="//Samples/data/Iris"/>
</operator>
<operator activated="true" class="rename_by_replacing" compatibility="7.2.002" expanded="true" height="82" name="Rename by Replacing" width="90" x="246" y="187">
<parameter key="attribute_filter_type" value="single"/>
<parameter key="attribute" value="label"/>
<parameter key="include_special_attributes" value="true"/>
<parameter key="replace_what" value="Iris-setosa"/>
<parameter key="replace_by" value="test"/>
</operator>
<connect from_op="Retrieve Iris" from_port="output" to_op="Rename by Replacing" to_port="example set input"/>
<connect from_op="Rename by Replacing" from_port="example set output" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>

I tried a simple renaming the label column if name is Iris-setosa, I want to give it another name... how is this done?

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Thomas_Ott"
    New Altair Community Member
    Accepted Answer

    Hi Fred,

     

    Rename by Replacing is for Attribute names (the column names) not for the actual values. To do that, use the Replace operator.