RSSAmplifier

Blog

Konrad's Blog

Konrad Patucha's Blog

kpatucha.github.ioRSS feed ↗2 posts

Latest posts

SQL in Jupyter Notebook (JupySQL + VS Code + Jupyter Notebook)

Motivation As a Data Scientist I often work with SQL and Python. I wanted to find a way to blend work with both of these environments seamlessly. I wanted to avoid switching between tools, because I often need to query a database and transfer the result into Python for further processing. Here I present the setup I came up with for VS Code. TL;DR Connect to the database using one of the VS Code…

Dyck paths and Raney’s (cycle) lemma

Motivation In this post I would like to show two methods to count number of Dyck paths - special family of paths on square lattice. There are three main reasons why I think this is interesting problem: It belongs to a family of very common counting problems (here is a YouTube video by Numberphile about these problems) The first method I will be presenting uses neat graphical trick which makes the…