fix importing of categorical values
code formatting
Merge pull request #1250 from bartcharbon/master

fix importing of categorical values