Hi,petrusc!
I’m experienced Python developer, and data science is one of my main fields of knowledge. In most of my projects I use Postgres and definitely can analyze your workflow and identify the bottlneck.
Please contact me to discuss project details,
Best regards,
Vlad