Hub
Pricing About
WorkflowWorkflow

Modify column names using Java Edit Variable

ColumnColumnsRenameHeadings
takbb profile image
Draft Latest edits on 
Mar 31, 2021 12:04 PM
Drag & drop
Like
Download workflow
Workflow preview
Rename columns names using Java Edit Variable so that every column name is upper case, and all spaces are replaced by underscores. Using Java Edit Variable, the code can be easily be modified to allow you to perform other manipulations across all column names in the data set using a small (but simple) piece of Java. You can of course perform much more specific manipulations by modifying the code slightly to (for example) ignore columns with specific names, or containing specific strings. You could also make it add a prefix or a suffix to all column names.
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 4.3.2
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.2

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.0

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits