Data Pipeline Development
Last updated
# <study_name_1>.py
def <action>_<field_1>(args1: argtype1, ...)->rettype:
...
return ret
def <action>_<field_2>(args1: argtype1, ...)->rettype:
...
return ret
def <action>_<field_3>(args1: argtype1, ...)->rettype:
...
return ret
# entrypoint.py
def execute_pipeline():
data_frame = load_data()
data_frame = <action>_<field_1>(data_frame)
data_frame = <action>_<field_2>(data_frame)
data_frame = <action>_<field_3>(data_frame)
save_data()
project-dir
|-pipeline
|-__init__.py
|-entrypoint.py
|-compute //This is an example of the objective
|-__init__.py
|-compute_<study_name1>.py
|-compute_<study_name2>.py
|-...
|-cleanup //This is an example of the objective
|-__init__.py
|-cleanup_<study_name1>.py
|-cleanup_<study_name2>.py
|-...
|-tests
|-pyproject.toml