██╗███╗ ███╗██████╗ █████╗ ██╗ █████╗ ███╗ ██╗ ██████╗███████╗██████╗ ██████╗ █████╗ ████████╗ █████╗
██║████╗ ████║██╔══██╗██╔══██╗██║ ██╔══██╗████╗ ██║██╔════╝██╔════╝██╔══██╗ ██╔══██╗██╔══██╗╚══██╔══╝██╔══██╗
██║██╔████╔██║██████╔╝███████║██║ ███████║██╔██╗ ██║██║ █████╗ ██║ ██║ ██║ ██║███████║ ██║ ███████║
██║██║╚██╔╝██║██╔══██╗██╔══██║██║ ██╔══██║██║╚██╗██║██║ ██╔══╝ ██║ ██║ ██║ ██║██╔══██║ ██║ ██╔══██║
██║██║ ╚═╝ ██║██████╔╝██║ ██║███████╗██║ ██║██║ ╚████║╚██████╗███████╗██████╔╝ ██████╔╝██║ ██║ ██║ ██║ ██║
╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
https://mikewlange.github.io/ImbalancedData-/
From the notebook 'Unsexy Data Science - Part One¶ Dealing with Imbalanced Data (Mortgage loans defaults)'