tmthyjames / SQLCell

SQLCell is a magic function for the Jupyter Notebook that executes raw, parallel, parameterized SQL queries with the ability to accept Python values as parameters and assign output data to Python variables while concurrently running Python code. And *much* more.
MIT License
150 stars 11 forks source link

Converting data to CSV format should only be done on button click #95

Open tmthyjames opened 6 years ago

tmthyjames commented 6 years ago

This line:

str_data = df.to_csv(sep="\t", encoding='utf-8') # for downloading

Should only be executed when the "Save" button is clicked by the user and not before.