Integer Value identification
PARA
Registered Posts: 7 ✭✭✭
How do i flag integer value in a column using visual recipe.
Tagged:
Answers
-
Manuel Alpha Tester, Dataiker Alumni, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 193 ✭✭✭✭✭✭✭
Your scenario is not entirely clear:
- If it is to find an integer within a String column, you can use the "Extract with regular expression" processor. This processor can create a special "found" column;
- If it is to find the integer within a Double column, you can use a Formula processor to test (with an If statement) whether the Floor of a number [
<span class="pre">floor(4.7)</span>
returns<span class="pre">4</span>
] equals the number.