Welcome to the Datanyx Community!

Get Help, Learn Best Practices, Network With Other Datanyx Users
How do I replace th...
 
Notifications
Clear all

How do I replace the values in a column that follows a specific pattern? I need to replace it with the new values.

1 Posts
1 Users
0 Likes
307 Views
Nikhila
(@nikhila)
Member Admin
Joined: 2 years ago
Posts: 338
Topic starter  
Pattern is similar to replace. It matches a specific pattern within column values and replaces it with the given value. 
Step 1: Once data is imported, click on transformation.  
Step 2: Drag and drop the data transformation node onto the main screen. Connect the two nodes. 
Step 3: Click on configure to make changes to the data. A data transformation pop-up appears. Select the columns that need change and choose the ‘Pattern’ option from the dropdown.  
Step 4: Enter the old pattern value and the new pattern value. Click on the ‘apply’ button. (Refer to the image below). 
1673441777-pattern.png

Step 5: Once the data configuration has been done, click on the run button to run the workflow.   

Step 6: Click on the icon in the bottom line. (Refer to the image below).  

1673441807-result.png
Step 7: The data is reflected based on the operations selected. (Refer to the images below). 
1673441831-pattern1.png

   
Quote
Share: