renaming `df` parameter to `d`
added 'column sanitize'
Merge pull request #17 from OuhscBbmc/RefClassTry

Ref class try