daily pastebin goal


a guest Jul 11th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from IPython import display
  2. import matplotlib.pyplot as plt
  3. from revoscalepy import RxInSqlServer, rx_exec
  4. # create a remote compute context with connection to SQL Server
  5. sql_compute_context = RxInSqlServer(connection_string = connection_string.format(new_db_name))
  6. # use rx_exec to send the function execution to SQL Server
  7. image = rx_exec(send_this_func_to_sql, compute_context = sql_compute_context)[0]
  8. # only an image was returned to my jupyter client. All data remained secure and was manipulated in my db.
  9. display.Image(data=image)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand