Logo Deedle

Frame Type

Static helpers that extend the Frame concept with ML.NET conversions. Open Deedle.MicrosoftML to bring these into scope alongside the standard Deedle Frame module. ML.NET IDataView integration

Static members

Static member Description

Frame.ofDataView dataView

Full Usage: Frame.ofDataView dataView

Parameters:
Returns: Frame<int, string>

Convert an ML.NET IDataView to a Deedle Frame with integer (0-based) row keys.

Column types are mapped as:

  • Doublefloat
  • Singlefloat32
  • Int32int
  • Int64int64
  • Booleanbool
  • Textstring
  • Vector(Single)float32 array (one array per row)
  • Vector(Double)float array (one array per row)
  • Other composite types → null

dataView : IDataView
Returns: Frame<int, string>

Frame.toDataView frame

Full Usage: Frame.toDataView frame

Parameters:
    frame : Frame<'R, string>

Returns: IDataView
Type parameters: 'R (requires equality)

Convert a Deedle Frame to an ML.NET IDataView.

Column types are inferred from the stored values:

  • float columns → Double
  • string columns → Text (ReadOnlyMemory<char>)
  • bool columns → Boolean
  • int32 / int64 / float32 → their ML.NET equivalents
  • float32 array columns → fixed-length VectorDataViewType(Single)
Missing values become NaN for numeric columns and empty string for text.

frame : Frame<'R, string>
Returns: IDataView

Type something to start searching.