brianthegreat
brianthegreat
WWindmill
Created by brianthegreat on 8/29/2024 in #help
DataFrame in Script and Flow Showing Incorrect Column Order
No description
12 replies
WWindmill
Created by brianthegreat on 8/29/2024 in #help
DataFrame in Script and Flow Showing Incorrect Column Order
I'm so sorry I'm so dumb... And I'm still a python beginner. Can you please help to edit the code for me? I don't understand what you mean...
12 replies
WWindmill
Created by brianthegreat on 8/29/2024 in #help
DataFrame in Script and Flow Showing Incorrect Column Order
@rubenf sorry I don't really understand the docs. I tried this but still doesn't work
[...]
# Return the DataFrame
return df2[['Status', 'ID', 'Amount']].to_dict('records')
[...]
# Return the DataFrame
return df2[['Status', 'ID', 'Amount']].to_dict('records')
Can you please help edit my code to follow your solution?
12 replies
WWindmill
Created by brianthegreat on 8/29/2024 in #help
DataFrame in Script and Flow Showing Incorrect Column Order
can you please explain what you mean by
add the columns in the right order at top
?
12 replies
WWindmill
Created by brianthegreat on 8/29/2024 in #help
[Solved] DataFrame in Script and Flow Showing Incorrect Headers
Hi @wendrul there's a continuation of this issue, can you please help check my other post? https://discord.com/channels/930051556043276338/1278663127893807114
4 replies
WWindmill
Created by brianthegreat on 8/29/2024 in #help
[Solved] DataFrame in Script and Flow Showing Incorrect Headers
I'm not sure if it's pandas issue or windmill, but it's working fine in notebook, I assume it's Windmills (?) Thanks @Etienne ! It's working with your suggestion.
4 replies