Manipulate SQL output with Python

How can I further manipulate SQL output using Python and displaying the results through metabase?

Hi @SankaraJ
By manipulating the data and saving it back to the database, so Metabase can see the data.
The question really isn’t specific to Metabase, but generally about how to manipulate data with a programming language as middle-layer.