Morph

Morph DB-utils

morphdb-utils is a powerful toolkit that provides functionalities such as data transformation and storage within Morph's Python cells. It is pre-installed in the Morph cloud version and is available for use as soon as you create a Python cell.

The functionalities provided by morphdb-utils are mainly categorized into two types: APIs and decorators. This section explains their features and benefits.

Overview of morphdb-utils

morphdb-utils is designed to simplify and efficiently perform database operations and data transformations within Python code.

  • Data Integration with Other Cells: By using functions such as ref and load_data, you can retrieve results from other cells or contents from the database. This allows you to link independent cells together to create pipelines.
  • Data Transformation: By using decorators such as @transform, you can easily execute data preprocessing and transformation. Even complex data operations can be consolidated into a single line of code using decorators.
  • Pre-installed: morphdb-utils comes pre-installed with Morph’s cloud version, so no additional installation work is required. Simply import morphdb_utils within a Python cell and start using it immediately.

Next Step

The next section will provide a detailed explanation of the individual APIs and decorators of morphdb-utils.