snowflake-demo-notebooks icon indicating copy to clipboard operation
snowflake-demo-notebooks copied to clipboard

refactor: snowparkify example_helper dataframe expr

Open sfc-gh-twhite opened this issue 6 months ago • 0 comments

I'm submitting this pull request to refactor the dataframe expression in the source_df definition. The current expression is a bit hard to read and maintain, so I'd like to simplify it using the table method and list concatenation.

The refactored version avoids string concatenation, which can be error-prone. I've tested the refactored code and it produces the same result as the original code.

Thank you for considering this pull request!

sfc-gh-twhite avatar Aug 13 '24 20:08 sfc-gh-twhite