Cloud

1

Create a workspace

Create a workspace in Morph and open the editor.

2

Implement data processing in Python

Implement data processing in Python using the morph.func decorator.

src/python/data.py
import pandas as pd

@morph.func(name='data')
def main():
  df = pd.read_csv('data.csv')
  return df

3

Edit MDX file

Edit the MDX file to display the data.

src/pages/index.mdx
# Data Application

<DataTable loadData='data' />
4

See data app on 'Page' tab or viewer mode

See the data app on the ‘Page’ tab or viewer mode.