handle categorical values and na values
Merge pull request #14 from canard0328/issues/#13

Issues/#13