wendrul
wendrul
WWindmill
Created by brianthegreat on 8/29/2024 in #help
[Solved] DataFrame in Script and Flow Showing Incorrect Headers
Hmm, I agree I would have expected it to work like that too. I'm not sure if it's an issue with how pandas serializes dataframes or if it has to do with windmill, but i can try checking. In any case there seems to be a workaround, you can just add this and it will behave as you expect:
[...]
return df.to_dict('records')
[...]
return df.to_dict('records')
4 replies