Skip to content

:result-datatype is unused in invert-categorical-map #423

@behrica

Description

@behrica

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions