# -*- coding: utf-8 -*- # Convert categorical data to quantitative data. # http://saedsayad.com/encoding.htm