When transforming the categorical columns of a datset to numeric via ds/categorical->number the attached categorical map contains a field "result-datatype". (and it can be specified manaully as well)
This is unused when we transform "back" using the function 'reverse-map-categorical-xforms' which uses
'invert-categorical-map'
Not sure, if this is a bug or only misleading to me.
It is true that the "pair" of:
``` `fit-categorical-map
transform-categorical-map``
uses it
But these seem to be two different path ways.