Hey team, 2 questions: 1. I can't seem to see my r...
# hamilton-help
a
Hey team, 2 questions: 1. I can't seem to see my runs in hamilton UI - not sure what I'm doing wrong 2. my
to_parquet
is not working, and somehow my
df
is a dict, and not a df despite using the pandas
result_builder
. a. it created a df before using Builder pattern for my driver.
t
Hi Amirali! I think it should be a simple fix. In this case,
.with_adapters()
expects multiple adapters, not a list of adapters. Rewriting the code to:
Copy code
dr = (
  driver.Builder()
  .with_modules(*modules)
  .with_adapters(tracker, rga)
  .with_materializers(saver)
  .build()
)
Should properly setup the pandas result builder and the Hamilton tracker to populate the UI. Then, to materialize the result, you will have to call
.execute(["features__parquet"])
, in other words, the
id
you set in the
to.parquet
object. When requesting
.execute(["output_data"])
you are producing the dataframe, but not the
parquet
file, which is the next node in the DAG. This gives you some control over when you want to produce the file or not
🙌 1
Hoping this unblocks you! Let me know if anything else comes up
a
woww thanks a ton! solved
😁 1
e
Nice! This should error out, too…
👍 2