Skip to main content

Read parameters as DataFrame

The following example loads a DataFrame for a provided parameter product in the workflow:

# Import voxel farm client and workflow lambda 
from voxelfarm import voxelfarmclient
from voxelfarm import workflow_lambda

# Obtain the workflow_api interface
workflow_api = workflow_lambda.workflow_lambda_host()

# Read the product as a dataframe
df_stats = workflow_api.get_parameter_dataframe('META_COMPOSITE_STATS')