Simple python code implementation of Fisher exact test.
Use to determine if there is a significant association between 2 categorical variables.
Use in small sample size n < 20 or if one of the cell in 2x2 table is less than 5.
This test is an alternative to Chi Square test of indepence.