dotnet / dotnet/machinelearning

Let DataFrame support UInt32 columns to be compatible with MapValueToKey

Open
#5,898 2 comments 0 reactions 0 assignees View on GitHub
area-DataFrame enhancement
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

ML.NETs Transforms.Conversion.MapValueToKey() adds a UInt32 column with an auto generated integer category key.
Unfortunately the resulting dataview crashes when trying to convert to ToDataFrame(), because it does not support UInt32.

However converting to DataFrame is essential to easily display the results in a Jupyter Notebook (which works nicely in VS Code for DataFrames).

Contributor guide

Open the contributing guide

Research direction

Start by locating the ToDataFrame conversion and its UInt32 type handling, then reproduce the MapValueToKey flow described in the issue. Done means a dataview containing the generated UInt32 key converts to a DataFrame successfully and can be displayed in a Jupyter Notebook.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, jupyter-notebook
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.