Dataiku Q & A - Recent questions tagged numbers
https://answers.dataiku.com/tag/numbers
Powered by Question2Answerextraction first "0", and the length if "0" is at the beginning
https://answers.dataiku.com/2338/extraction-first-0-and-the-length-if-0-is-at-the-beginning
Good afternoon,<br />
<br />
Is it possible to get the first character as 0? For example i have two numbers<br />
<br />
24567 and 02456, so i tried the fonction get (x,0,1) but at the sacond case its giving to me "2" instead of "0", as well if i calculate the length, it will be "4" instead of "5". Which function should i use to get first 0 and the legth of characters as 5?<br />
<br />
PS: I tried transfer my data to string and after use the function but it didnt work.<br />
<br />
<br />
<br />
Thank you in advance! Anastasiiahttps://answers.dataiku.com/2338/extraction-first-0-and-the-length-if-0-is-at-the-beginningThu, 18 Jan 2018 17:02:44 +0000Rounding issues
https://answers.dataiku.com/2137/rounding-issues
<p>Hi,</p>
<p>I don't understand why in a prepare recipe, the sum of 2 values rounded at a single decimal can be a number with more than one decimal ?</p>
<p><img alt="" src="https://answers.dataiku.com/?qa=blob&qa_blobid=4406693197766998052" style="height:217px; width:600px"></p>https://answers.dataiku.com/2137/rounding-issuesFri, 24 Nov 2017 11:37:09 +0000cleaning cell from the numbers
https://answers.dataiku.com/2057/cleaning-cell-from-the-numbers
Hello!<br />
<br />
I have a question according the cleaning data. I have the colomnes with names and surenames and some times i have some numbers with the text information, as:<br />
<br />
NOM PRENOM<br />
Soloma Anastasiia2<br />
Ri5grit Stephanie<br />
<br />
Is any code existe to clean all the numbers from these colomnes?<br />
<br />
<br />
<br />
Thank you in advance!<br />
<br />
<br />
<br />
Best regards,<br />
Anastasiiahttps://answers.dataiku.com/2057/cleaning-cell-from-the-numbersTue, 14 Nov 2017 10:09:22 +0000Change Precision of Double Number
https://answers.dataiku.com/1027/change-precision-of-double-number
Hello. I have numbers in a dataset that look like this: 1.6199999999999974<br />
<br />
I want to reduce the precision to 3 decimal places. I saw there is a format function for strings, but didn't see anything similar for numbers. What is the best way to reduce the precision to 3 decimal places? Do I need to use a script for that? If so, can you help me with what it might look like?<br />
<br />
Thanks for your help.https://answers.dataiku.com/1027/change-precision-of-double-numberMon, 23 Jan 2017 20:48:21 +0000