Issue Summary

A summary of the issue and the browser/OS environment in which it occurs.

Technical details:

  • Redash Version: v8.0.0
  • Browser/OS: Firefox / Ubunutu
  • How did you install Redash: AWS AMI

How can I convert python’s execute_query result to redash table?
when I print the result it shows the result of type [“rows”: , columns: ] format. But it does not reflect as a table. How can I do so?

If you are referring to using the Python runner you will need to update the result object (it’s basically a dictionary, if I remember correctly) that is available within the Python runner runtime. You can do that by using the add_result_row and iterating over the rows and adding it to the result object.

1 Like