Writes a data frame to the specified file.
Namespace:
Extreme.Data.R
Assembly:
Extreme.Data (in Extreme.Data.dll) Version: 3.1.0
public static void Write<R, C>(
Stream stream,
DataFrame<R, C> dataFrame,
string name = "df",
bool compress = true,
bool ascii = false
)
Public Shared Sub Write(Of R, C) (
stream As Stream,
dataFrame As DataFrame(Of R, C),
Optional name As String = "df",
Optional compress As Boolean = true,
Optional ascii As Boolean = false
)
public:
generic<typename R, typename C>
static void Write(
Stream^ stream,
DataFrame<R, C>^ dataFrame,
String^ name = L"df",
bool compress = true,
bool ascii = false
)
static member Write :
stream : Stream *
dataFrame : DataFrame<'R, 'C> *
?name : string *
?compress : bool *
?ascii : bool
(* Defaults:
let _name = defaultArg name "df"
let _compress = defaultArg compress true
let _ascii = defaultArg ascii false
*)
-> unit
Parameters
- stream
- Type: System.IOStream
The stream to write the data frame to. - dataFrame
- Type: Extreme.DataAnalysisDataFrameR, C
The data frame to write. - name (Optional)
- Type: SystemString
A name for the data frame. The default is df. - compress (Optional)
- Type: SystemBoolean
Optional. Specifies whether the data
should be compressed. The default is - ascii (Optional)
- Type: SystemBoolean
Optional. Specifies whether the data should
be written in human-readable ASCII format. The default is
.
Type Parameters
- R
- The type of the row keys of the data frame.
- C
- The type of the column keys of the data frame.
Reference