Hamilton helps data scientists and engineers define testable, modular, self-documenting dataflows, that encode lineage/tracing and metadata. Runs and scales everywhere python does.
This PR adds a Jupyter Notebook for the reusing_functions example to provide a less intimidating entry point for data scientists who prefer using notebooks over Python scripts. The notebook mirrors the functionality of the existing main.py file, enabling users to experiment and try things out interactively.
Changes
A Jupyter notebook was added for the reusing_functions example. The notebook mirrors the functionality of main.py.
How I tested this
Tested the notebook by running all cells and verifying that the outputs match those from main.py. Ensured that all functions and processes work as expected within the notebook environment.
Notes
This is part of an ongoing effort to provide Jupyter notebooks for all examples to make them more accessible for data scientists.
No major changes were made to the underlying code; the notebook serves as an alternative to main.py.
Checklist
[ ] PR has an informative and human-readable title (this will be pulled into the release notes)
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future TODOs are captured in comments
[ ] Project documentation has been updated if adding/changing functionality.
This PR adds a Jupyter Notebook for the
reusing_functions
example to provide a less intimidating entry point for data scientists who prefer using notebooks over Python scripts. The notebook mirrors the functionality of the existingmain.py
file, enabling users to experiment and try things out interactively.Changes
A Jupyter notebook was added for the
reusing_functions
example. The notebook mirrors the functionality ofmain.py
.How I tested this
Tested the notebook by running all cells and verifying that the outputs match those from
main.py
. Ensured that all functions and processes work as expected within the notebook environment.Notes
main.py
.Checklist