Bagikan melalui


DataFrame.WriteCsv Metode

Definisi

Overload

WriteCsv(DataFrame, Stream, Char, Boolean, Encoding, CultureInfo)
Kedaluwarsa.

Menulis DataFrame ke dalam CSV.

WriteCsv(DataFrame, String, Char, Boolean, Encoding, CultureInfo)
Kedaluwarsa.

Menulis DataFrame ke dalam CSV.

WriteCsv(DataFrame, Stream, Char, Boolean, Encoding, CultureInfo)

Perhatian

WriteCsv is obsolete and will be removed in a future version. Use SaveCsv instead.

Menulis DataFrame ke dalam CSV.

[System.Obsolete("WriteCsv is obsolete and will be removed in a future version. Use SaveCsv instead.")]
public static void WriteCsv (Microsoft.Data.Analysis.DataFrame dataFrame, System.IO.Stream csvStream, char separator = ',', bool header = true, System.Text.Encoding encoding = default, System.Globalization.CultureInfo cultureInfo = default);
[<System.Obsolete("WriteCsv is obsolete and will be removed in a future version. Use SaveCsv instead.")>]
static member WriteCsv : Microsoft.Data.Analysis.DataFrame * System.IO.Stream * char * bool * System.Text.Encoding * System.Globalization.CultureInfo -> unit
Public Shared Sub WriteCsv (dataFrame As DataFrame, csvStream As Stream, Optional separator As Char = ',', Optional header As Boolean = true, Optional encoding As Encoding = Nothing, Optional cultureInfo As CultureInfo = Nothing)

Parameter

dataFrame
DataFrame

DataFrame

csvStream
Stream

aliran data CSV yang akan ditulis

separator
Char

pemisah kolom

header
Boolean

memiliki header atau tidak

encoding
Encoding

pengodean karakter. Default ke UTF8 jika tidak ditentukan

cultureInfo
CultureInfo

info budaya untuk nilai pemformatan

Atribut

Berlaku untuk

WriteCsv(DataFrame, String, Char, Boolean, Encoding, CultureInfo)

Perhatian

WriteCsv is obsolete and will be removed in a future version. Use SaveCsv instead.

Menulis DataFrame ke dalam CSV.

[System.Obsolete("WriteCsv is obsolete and will be removed in a future version. Use SaveCsv instead.")]
public static void WriteCsv (Microsoft.Data.Analysis.DataFrame dataFrame, string path, char separator = ',', bool header = true, System.Text.Encoding encoding = default, System.Globalization.CultureInfo cultureInfo = default);
[<System.Obsolete("WriteCsv is obsolete and will be removed in a future version. Use SaveCsv instead.")>]
static member WriteCsv : Microsoft.Data.Analysis.DataFrame * string * char * bool * System.Text.Encoding * System.Globalization.CultureInfo -> unit
Public Shared Sub WriteCsv (dataFrame As DataFrame, path As String, Optional separator As Char = ',', Optional header As Boolean = true, Optional encoding As Encoding = Nothing, Optional cultureInfo As CultureInfo = Nothing)

Parameter

dataFrame
DataFrame

DataFrame

path
String

Jalur file CSV

separator
Char

pemisah kolom

header
Boolean

memiliki header atau tidak

encoding
Encoding

Pengodean karakter. Default ke UTF8 jika tidak ditentukan

cultureInfo
CultureInfo

info budaya untuk nilai pemformatan

Atribut

Berlaku untuk