Hi there again. Running into an issue wher I pass ...
# ask-community
i
Hi there again. Running into an issue wher I pass two
pamdas dataframes
However the
merge
fails with a
pandas error
ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
Without the
merge
command both return valid
dataframes
. Any suggestions?
c
what version of prefect are you using? I believe this was fixed in one of the latest releases
i
0.6.6
FWIW: I wrote the
make_node
flow
both imperatively and functionally. Imperative is easier to read. Functional is easier to write and take less
prefect
knowledge.
💯 2
c
yea it looks like this was fixed in 0.6.7 so I’d recommend upgrading and let me know if that solves your problem!
i
Upgraded to 0.6.7. All good
marvin 2
This is the basic flow I keep on asking about. It makes a node for a knowledge graph -> which in turn will be used to make a simple vocabulary games.
c
very cool, will you be able to open source / share any of this code when you’re done?
i
I've been thinking about that. It's worth a discussion. The main problem is all the credentials to various api's
c
yea that’s fair, you could abstract those as either secrets or environment variables
i
But if you want to use flows for use cases or blogs it can be refactored
c
many of our users use prefect for proprietary use cases, so it’d be nice to have some other in-depth public-facing examples