Intro To get started with running python queries with SQL Server is actually pretty easy. I waited far too long to tackle this, thinking it was much harder than it turned out to be. Hopefully, this can be a good starting point for you as well.
Why would I want to do this? When you use great tools like dbatools with PowerShell, you come to think that PowerShell is a first class citizen for working with SQL Server.