Deedle


VirtualVectorSource

Namespace: Deedle.Vectors.Virtual

Module that implements various helper operations over IVirtualVectorSource type

Nested types and modules

TypeDescription
IBoxedVectorSource<'T>

Marks IVirtualVectorSource that has been created by boxing another source

ICombinedVectorSource<'T>

Marks IVirtualVectorSource that has been created by combining another sources

IMappedVectorSource<'T, 'R>

Marks IVirtualVectorSource that has been created by mapping from source

Functions and values

Function or valueDescription
boxSource(source)
Signature: source:IVirtualVectorSource<'T> -> IVirtualVectorSource<obj>
Type parameters: 'T

Creates a new vector source that boxes all values The result also implements IBoxedVectorSource

combine f sources
Signature: f:(OptionalValue<'T> list -> OptionalValue<'R>) -> sources:IVirtualVectorSource<'T> list -> IVirtualVectorSource<'R>
Type parameters: 'T, 'R

Creates a new vector that combines (zips) vectors using a given function The result also implements ICombinedVectorSource

createRowReader(...)
Signature: vectorCtor:(IVirtualVectorSource<'T> -> IVector) -> builder:IVectorBuilder -> irt:IRowReaderTransform -> vectors:IVector<IVector> -> sources:IVirtualVectorSource<'T> list -> IVirtualVectorSource<IVector<obj>>
Type parameters: 'T

Creates a "row reader vector" - that is a vector that provides source for the series returned by frame.Rows. This is combined from a number of sources, but we do not fully materialize anything to create the vector. The first parameter is a ctor for VirtualVector which is defined below in the file.

map rev f source
Signature: rev:('TNew -> 'V) option -> f:(IVectorLocation -> OptionalValue<'V> -> OptionalValue<'TNew>) -> source:IVirtualVectorSource<'V> -> IVirtualVectorSource<'TNew>
Type parameters: 'TNew, 'V

Creates a new vector that transforms source values using a given function The result also implements IMappedVectorSource

Fork me on GitHub