This message was deleted.
# hamilton-help
s
This message was deleted.
s
Thanks for the question. Just to clarify. Do you want to output multiple data frames? Or input multiple data frames? Or both?
o
Input multiple data frames
I am working with about 11 data frames.
s
Great. I can respond more fully in about an hour. Short answer is you can pass them in directly and have functions that require them as input, or have functions to load them. The thing to think about is ensuring they have indexes that are compatible for aligning rows of that's required.
o
Thanks Stefan, Can you point me to a docs about this?
The two options.
s
In terms of creating loading functions — you can just create one for each dataframe, e.g. multiple functions like https://github.com/stitchfix/hamilton/blob/main/examples/data_quality/pandera/data_loaders.py#L54-L72 Or pass in the dataframes as static input when constructing the driver - e.g. instead of pandas series like shown here, you instead pass in dataframes - https://github.com/stitchfix/hamilton/blob/main/examples/hello_world/my_script.py#L10-L14 - and you’d have some functions take these dataframes in as input.
👍 1
Happy to give pointers on the code that you’re writing - or set up a call to walkthrough things.
o
@Stefan Krawczyk Thanks, let me get started with this. If anything comes up, I will hit you up. Thank you
👍 1
e
Also welcome!