Python Forum

Full Version: Generate Multiple sql Files With csv inputs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
That's Awesome !! This is my first post in this forum and I literally felt stranded. Thanks for saving me. I will try this and let you know if it is working fine.
Can I do it using data frames rather than hardcoding
Of course, I just hardcoded it so I didn't need the data frame.
(Aug-20-2021, 02:39 PM)Yoriz Wrote: [ -> ]Of course, I just hardcoded it so I didn't need the data frame.

Quote:How can I apply the below lines to data frame?

appropriate_name = ".".join((row["DB"], row["SCH"], row["TAB"]))

columns = ",\n".join(row["COLS"].split(","))
Pages: 1 2