Issue by skrawcz
Thursday Dec 23, 2021 at 02:10 GMT
Originally opened as stitchfix/hamilton#32
Goal of this PR is to provide more extensive examples.
Inspiration is from:
https://github.com/Netflix/metaflow/blob/master/metaflow/tutorials/01-playlist/playlist.py
Two interesting things to note here:
- We could have the driver do the loading of the CSV, or we could have a function to do it.
- Filter operations are easiest to happen in the driver I think. Not to say you can't do it,
we'd just need better logic around creating the dataframe, and not trying to combine series
with various index lengths. Hmm.
Additions
Removals
Changes
Testing
- The example works. Tested locally.
Todos
- [] add more examples and see if this makes sense.
Checklist
Testing checklist
Python
skrawcz included the following code: https://github.com/stitchfix/hamilton/pull/32/commits
Thursday Dec 23, 2021 at 02:10 GMT
Originally opened as stitchfix/hamilton#32
Goal of this PR is to provide more extensive examples.
Inspiration is from:
https://github.com/Netflix/metaflow/blob/master/metaflow/tutorials/01-playlist/playlist.py
Two interesting things to note here:
we'd just need better logic around creating the dataframe, and not trying to combine series
with various index lengths. Hmm.
Additions
Removals
Changes
Testing
Todos
Checklist
Testing checklist
Python
skrawcz included the following code: https://github.com/stitchfix/hamilton/pull/32/commits