Zoho DataPrep 3.0 Custom Transforms and Python Code Studio

Zoho DataPrep 3.0 Custom Transforms: Python Code Studio, Anomaly Detection and New Functions

Prepared by 1 Cloud Consultants, a Zoho Authorized Partner based in the UK. Find out about our Zoho products work.

Cleaning and reshaping data is most of the work in any data project. Zoho DataPrep already has more than 400 built-in transforms. Version 3.0 adds three more ways to deal with data that does not fit them: a Python Code Studio for your own transformations, anomaly detection for spotting bad values, and more than 50 new formula functions. This article covers each one. It is part of our series on Zoho DataPrep 3.0.

Python Code Studio

When you need something specific to your business, Code Studio lets you write your own transformations in Python. It is now generally available with Zoho DataPrep 3.0. You can use it to:

  • Create custom data transformations in Python.
  • Connect to external systems through custom API integrations, for reconciliation and enrichment.
  • Test your script against sample data, then deploy it to run across your full dataset.

Anomaly detection

Anomaly detection identifies outliers and unexpected values in your datasets, so you catch likely data quality problems before they reach downstream reports and analytics.

More than 50 new formula functions

The formula builder now has more than 50 new out-of-the-box functions, giving more ways to express your logic without writing code. Zoho names examples in four groups:

For Examples of the new functions
Handling nullsNvl, Nvl2, Nullif
Cleaning textRegexp Extract All, Parse Url, Translate
StatisticsPercentile Approx, Stddev Samp
Ranking rowsNtile

What the announcement does not say

It does not say which Python version or libraries Code Studio provides, where the code runs, whether there are limits on run time or memory, or how anomaly detection decides what counts as unexpected. Zoho's own text also describes the formula builder as having both "400+" functions and "50+" new ones, so treat the exact count as approximate. Check these in your own account before you rely on them.

Using them well: our advice

This section is our own advice, not Zoho's.

  1. Reach for a built-in transform first. Code is more flexible, but it is also harder for the next person to read and maintain.
  2. Treat Python as real code. Keep it in version control, comment it, and have someone else review it, as for any script that changes business data.
  3. Guard your API keys. Custom API calls need credentials. Store them in the proper secrets area, not in the script, and give them only the access they need.
  4. Test on awkward data. A sample of tidy rows proves little. Include blanks, odd characters, and extreme values before you run it on the whole set.
  5. Do not treat an anomaly as an error. An outlier may be a genuine, important value. Review before you delete or correct it.
  6. Mind personal data when calling external services from code, because that moves data out of DataPrep. This is general guidance and not legal advice.

Related: Agentic Ask Zia and the dForge Engine.

Need help? As a Zoho Partner serving the UK and Ireland, we can build and review custom transformations for your Zoho DataPrep pipelines. Email zoho@1cloudconsultants.com or raise a support request with 1 Cloud Consultants.