MatrixMarketFile.ReadDataFrame Method

Definition

Namespace: Extreme.Data.Text
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0

Overload List

ReadDataFrame(Stream, TextOptions) Reads a data frame from a stream in Matrix Market format.
ReadDataFrame<R, C>(Stream, TextOptions) Reads a data frame from a stream in Matrix Market format.

ReadDataFrame(Stream, TextOptions)

Reads a data frame from a stream in Matrix Market format.
C#
public static DataFrame<long, string> ReadDataFrame(
	Stream stream,
	TextOptions options = null
)

Parameters

stream  Stream
A stream.
options  TextOptions  (Optional)
A TextOptions object that specifies the options to use when reading the file.

Return Value

DataFrame<Int64, String>
The data frame that was read from the stream pointed to by stream.

ReadDataFrame<R, C>(Stream, TextOptions)

Reads a data frame from a stream in Matrix Market format.
C#
public static DataFrame<R, C> ReadDataFrame<R, C>(
	Stream stream,
	TextOptions options = null
)

Parameters

stream  Stream
A stream.
options  TextOptions  (Optional)
A TextOptions object that specifies the options to use when reading the file.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

Return Value

DataFrame<R, C>
The data frame that was read from the stream pointed to by stream.

See Also