AI HubApps

Writing custom functions

Follow these guidelines when writing custom cleaning, validation, or integration functions to use in Build.

The standard Python library is supported, except for the logging service. As an alternative to logging, you can use print() statements totaling up to 4 KB in length. If needed, you can split results into multiple print statements.

In addition to the standard Python library, you can import these external libraries at the version indicated.

  • datetime 4.4

  • dateparser 1.1.4

  • numpy 1.21.6

  • pandas1.5.3

  • regex 2022.10.31

  • requests 2.25.1

  • typing 3.6.2

  • typing-extensions 4.5.0

For example:

1import pandas as pd
2print(pd.Series([1,2,3]))

Related topics

Was this page helpful?