https://ipython.pythonprogramminghelp.com/5-amazing-tips-conditional-probability/