How to normalize E-notations or exponential values?

How to normalize E-notations or exponential values?

Case 1: When your dataset contains a column with exponential values


Let's take a dataset with negative and positive exponential notation in a column. These exponential values must be converted to their decimal equivalent. To achieve this please try using the Split transforms to split the columns with exponential values and apply the Formula transforms on the split columns.

Steps to be followed to convert your exponential values to decimal equivalent

1. Import your dataset into DataPrep from the required data source.

The dataset contains exponential values in the Exponent column.


2. Now, use the Split transform on the Exponent column with the exponential values.

To split the column:

  • Choose delimiter: Select and highlight the letter E, using which you can split the column. The selection will be highlighted in yellow. 

    Note: This method of selecting and applying transforms is called Text selection transforms. Click here to learn more.

  • DataPrep shows a list of suggestions on the right hand side pane. 

  • Hover the mouse over the Split transform suggestions for a quick preview.




  • Click on the suggestion for a full preview, which will be displayed on the data grid.

  • When you click the suggestion, the buttons Edit and Apply will appear within the suggestion.

  • Click on Apply to apply the Split transform.



3. After applying the split transform, let's apply Formula transform on the split columns to get the decimal equivalent of the exponential value.

Formula transform to extract the decimal value from the E-notation number:

  • Click on the Transform menu and select the Formula column option.

  • Provide a name for the new column name in the New column name field.

  • You can insert the following functions in the Formula field by typing the function names.

    Formula : mul(`Split_Column1`,pow(10,`Split_Column2`))

  • Click Apply. The output will be generated in a new column.



Note: When the exponential value is negative, the decimal equivalent will support 40 precision and 15 scale 

where, 
Precision is the number of digits in a number. Of the 40, maximum 25 digits can be placed to the left of the decimal point. 
Scale is the number of digits after the decimal point.

When the exponential value is positive, the decimal equivalent will support 25 digits.
Eg. 1.45E-17, the decimal equivalent is supported only till -15 so the answer is 0. 
2.34E+26, the decimal equivalent is supported only till +25 so the answer is 23400000000000000000000000.

4. Now, I will remove some of the columns created ("Exponent_split_1," Exponent_split_2") during this process to get the result. 

  1. Now we have a clean dataset with the decimal equivalent of the exponential values.


Case2: When your dataset contains a column mixed with exponential values


Let's consider a dataset with a column that includes numbers, decimals, and values in exponential notation. When imported into DataPrep, the column is identified as a numeric datatype, but the exponential values are marked as invalid. To rectify this, we need to convert the exponential values into their decimal equivalents to make them valid. To achieve this, you can use the Split transforms to split the column with exponential values, Fill the empty cells with "0" and then apply the Formula transforms to the split columns.

Steps to be followed to convert your exponential values to decimal equivalent

1. Import your dataset into DataPrep from the required data source.

The dataset contains numbers, decimals, and values in exponential notation in the Value column.

2. Now, use the Split transform on the Value column with the numbers, decimals, and exponential values.

To split the column:

Steps to split the columns with exponential values can be found here.


2. 
DataPrep allows you to fill the empty cells in a column using the Fill empty cells transform. Fill the empty cells with value 0 using the following steps.

To fill empty cells

  • Right-click the column name and select the Fill empty cells option from the context menu.

  • Choose the Custom value option from the Fill empty cells using section and enter 0.

  • DataPrep shows a live preview of the column during the transformation. 

  • After selecting the required option, click Apply.




3. After applying the split transform, let's apply Formula transform on the split columns to get the decimal equivalent of the exponential value.

Formula transform to extract the decimal value from the E-notation number:

The step to apply formula transform can be found from here.

4. Now, I will remove some of the columns created ("Value_split_1," Value_split_2") during this process to get the result. 


5. Now we have a clean dataset with the decimal equivalent of the exponential values.




    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION











                                        You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                            Manage your brands on social media

                                              Zoho Desk Resources

                                              • Desk Community Learning Series


                                              • Digest


                                              • Functions


                                              • Meetups


                                              • Kbase


                                              • Resources


                                              • Glossary


                                              • Desk Marketplace


                                              • MVP Corner


                                              • Word of the Day


                                                Zoho Marketing Automation

                                                  Zoho Sheet Resources

                                                   

                                                      Zoho Forms Resources


                                                        Secure your business
                                                        communication with Zoho Mail


                                                        Mail on the move with
                                                        Zoho Mail mobile application

                                                          Stay on top of your schedule
                                                          at all times


                                                          Carry your calendar with you
                                                          Anytime, anywhere




                                                                Zoho Sign Resources

                                                                  Sign, Paperless!

                                                                  Sign and send business documents on the go!

                                                                  Get Started Now




                                                                          Zoho TeamInbox Resources



                                                                                  Zoho DataPrep Resources



                                                                                    Zoho DataPrep Demo

                                                                                    Get a personalized demo or POC

                                                                                    REGISTER NOW


                                                                                      Design. Discuss. Deliver.

                                                                                      Create visually engaging stories with Zoho Show.

                                                                                      Get Started Now









                                                                                                          • Related Articles

                                                                                                          • Smart selection

                                                                                                            Zoho DataPrep offers you an array of suggestions using the pattern matching notations when you select portions of the column data that you wish to transform. Note: If you are not familiar with pattern matching in DataPrep, read about it here . You ...
                                                                                                          • Change case

                                                                                                            You can change the case of texts in a column using one of the following options: Upper case (E.g., ZOHO IS THE OPERATING SYSTEM FOR YOUR BUSINESS) Lower case (E.g., zoho is the operating system for your business) Title case (E.g., Zoho is the ...
                                                                                                          • Functions available to add formula columns

                                                                                                            Abs abs(num) Returns the absolute value of the numeric value. Parameters Name Description num Decimal Parameter must be a numeric value from a column or an expression that returns a number. Example Function Result abs(-1) 1 Div ...
                                                                                                          • Create buckets - Number

                                                                                                            The bucketing transformation groups values in multiple ranges or buckets for easier understanding of highly scaled data. The granular details of such data can prevent us from getting a broad view of the data. This form of grouping values in a range ...
                                                                                                          • Round off

                                                                                                            Round off simplifies data by rounding values in a numerical column up or down, or standardize values with different number of decimal places to the same level of precision. To round off numerical values 1. Right-click the numerical column and select ...
                                                                                                            Wherever you are is as good as
                                                                                                            your workplace

                                                                                                              Resources

                                                                                                              Videos

                                                                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                              eBooks

                                                                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                              Webinars

                                                                                                              Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                              CRM Tips

                                                                                                              Make the most of Zoho CRM with these useful tips.



                                                                                                                Zoho Show Resources