After an interview I created a simple example of Python code for Google Colab to connect with PostgreSQL and write 1 million rows (not a practical case but for illustration):
Python code for Google Colab to connect with PostgreSQL


After an interview I created a simple example of Python code for Google Colab to connect with PostgreSQL and write 1 million rows (not a practical case but for illustration):