how to add quotes in all columns fields in rapidminer

sgnarkhede2016
sgnarkhede2016 New Altair Community Member
edited November 2024 in Community Q&A
how to add quotes in all columns fields in rapidminer

e.g 
In colunm values are
Sachin
Om
Shyam
I want
"Sachin"
"Om"
"Shyam"
Tagged:

Best Answer

Answers

  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    Answer ✓
    Hi @sgnarkhede2016,

    You can use Generate Attributes operator for this task : 

    In attached file, the process.

    Regards,

    Lionel
  • jwpfau
    jwpfau New Altair Community Member
    If you prefer regex you could also use Replace with replace what
    ^.*$ 
    and replace by
    "$0"
  • Telcontar120
    Telcontar120 New Altair Community Member
    But why do you want the quotes inside RapidMiner, where they are not needed?  If it is merely to include in the file when exporting to another format, you have the option to put all nominal values inside quotes in operators such as "Write CSV".