DataFrameNaFunctions.Fill 方法

定義

多載

Fill(String, IEnumerable<String>)

傳回新的 DataFrame ,取代指定字串資料行中的 Null 或 NaN 值。 如果指定的資料行不是字串資料行,則會忽略它。

Fill(Int64, IEnumerable<String>)

傳回新的 DataFrame ,取代指定數值資料行中的 Null 或 NaN 值。 如果指定的資料行不是數值資料行,則會忽略它。

Fill(Double, IEnumerable<String>)

傳回新的 DataFrame ,取代指定數值資料行中的 Null 或 NaN 值。 如果指定的資料行不是數值資料行,則會忽略它。

Fill(Boolean, IEnumerable<String>)

傳回新的 DataFrame ,取代指定之布林資料行中的 Null 或 NaN 值。 如果指定的資料行不是布林資料行,則會忽略它。

Fill(String)

傳回新的 DataFrame ,以 取代數值 value 資料行中的 Null 或 NaN 值。

Fill(Int64)

傳回新的 DataFrame ,以 取代數值 value 資料行中的 Null 或 NaN 值。

Fill(Double)

傳回新的 DataFrame ,以 取代數值 value 資料行中的 Null 或 NaN 值。

Fill(IDictionary<String,String>)

傳回新的 DataFrame ,取代 Null 值。

Fill(IDictionary<String,Int64>)

傳回新的 DataFrame ,取代 Null 值。

Fill(IDictionary<String,Int32>)

傳回新的 DataFrame ,取代 Null 值。

Fill(IDictionary<String,Double>)

傳回新的 DataFrame ,取代 Null 值。

Fill(IDictionary<String,Boolean>)

傳回新的 DataFrame ,取代 Null 值。

Fill(Boolean)

傳回新的 DataFrame ,以 取代布林 value 資料行中的 Null 值。

Fill(String, IEnumerable<String>)

傳回新的 DataFrame ,取代指定字串資料行中的 Null 或 NaN 值。 如果指定的資料行不是字串資料行,則會忽略它。

public Microsoft.Spark.Sql.DataFrame Fill (string value, System.Collections.Generic.IEnumerable<string> columnNames);
member this.Fill : string * seq<string> -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (value As String, columnNames As IEnumerable(Of String)) As DataFrame

參數

value
String

要取代的目標值

columnNames
IEnumerable<String>

資料行名稱

傳回

DataFrame 物件

適用於

Fill(Int64, IEnumerable<String>)

傳回新的 DataFrame ,取代指定數值資料行中的 Null 或 NaN 值。 如果指定的資料行不是數值資料行,則會忽略它。

public Microsoft.Spark.Sql.DataFrame Fill (long value, System.Collections.Generic.IEnumerable<string> columnNames);
member this.Fill : int64 * seq<string> -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (value As Long, columnNames As IEnumerable(Of String)) As DataFrame

參數

value
Int64

要取代的目標值

columnNames
IEnumerable<String>

資料行名稱

傳回

DataFrame 物件

適用於

Fill(Double, IEnumerable<String>)

傳回新的 DataFrame ,取代指定數值資料行中的 Null 或 NaN 值。 如果指定的資料行不是數值資料行,則會忽略它。

public Microsoft.Spark.Sql.DataFrame Fill (double value, System.Collections.Generic.IEnumerable<string> columnNames);
member this.Fill : double * seq<string> -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (value As Double, columnNames As IEnumerable(Of String)) As DataFrame

參數

value
Double

要取代的目標值

columnNames
IEnumerable<String>

資料行名稱

傳回

DataFrame 物件

適用於

Fill(Boolean, IEnumerable<String>)

傳回新的 DataFrame ,取代指定之布林資料行中的 Null 或 NaN 值。 如果指定的資料行不是布林資料行,則會忽略它。

public Microsoft.Spark.Sql.DataFrame Fill (bool value, System.Collections.Generic.IEnumerable<string> columnNames);
member this.Fill : bool * seq<string> -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (value As Boolean, columnNames As IEnumerable(Of String)) As DataFrame

參數

value
Boolean

要取代的目標值

columnNames
IEnumerable<String>

資料行名稱

傳回

DataFrame 物件

適用於

Fill(String)

傳回新的 DataFrame ,以 取代數值 value 資料行中的 Null 或 NaN 值。

public Microsoft.Spark.Sql.DataFrame Fill (string value);
member this.Fill : string -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (value As String) As DataFrame

參數

value
String

要取代的目標值

傳回

DataFrame 物件

適用於

Fill(Int64)

傳回新的 DataFrame ,以 取代數值 value 資料行中的 Null 或 NaN 值。

public Microsoft.Spark.Sql.DataFrame Fill (long value);
member this.Fill : int64 -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (value As Long) As DataFrame

參數

value
Int64

要取代的目標值

傳回

DataFrame 物件

適用於

Fill(Double)

傳回新的 DataFrame ,以 取代數值 value 資料行中的 Null 或 NaN 值。

public Microsoft.Spark.Sql.DataFrame Fill (double value);
member this.Fill : double -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (value As Double) As DataFrame

參數

value
Double

要取代的目標值

傳回

DataFrame 物件

適用於

Fill(IDictionary<String,String>)

傳回新的 DataFrame ,取代 Null 值。

public Microsoft.Spark.Sql.DataFrame Fill (System.Collections.Generic.IDictionary<string,string> valueMap);
member this.Fill : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (valueMap As IDictionary(Of String, String)) As DataFrame

參數

valueMap
IDictionary<String,String>

要取代 Null 值的值

傳回

DataFrame 物件

備註

地圖的索引鍵是資料行名稱,而地圖的值則是取代值。

適用於

Fill(IDictionary<String,Int64>)

傳回新的 DataFrame ,取代 Null 值。

public Microsoft.Spark.Sql.DataFrame Fill (System.Collections.Generic.IDictionary<string,long> valueMap);
member this.Fill : System.Collections.Generic.IDictionary<string, int64> -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (valueMap As IDictionary(Of String, Long)) As DataFrame

參數

valueMap
IDictionary<String,Int64>

要取代 Null 值的值

傳回

DataFrame 物件

備註

地圖的索引鍵是資料行名稱,而地圖的值則是取代值。

適用於

Fill(IDictionary<String,Int32>)

傳回新的 DataFrame ,取代 Null 值。

public Microsoft.Spark.Sql.DataFrame Fill (System.Collections.Generic.IDictionary<string,int> valueMap);
member this.Fill : System.Collections.Generic.IDictionary<string, int> -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (valueMap As IDictionary(Of String, Integer)) As DataFrame

參數

valueMap
IDictionary<String,Int32>

要取代 Null 值的值

傳回

DataFrame 物件

備註

地圖的索引鍵是資料行名稱,而地圖的值則是取代值。

適用於

Fill(IDictionary<String,Double>)

傳回新的 DataFrame ,取代 Null 值。

public Microsoft.Spark.Sql.DataFrame Fill (System.Collections.Generic.IDictionary<string,double> valueMap);
member this.Fill : System.Collections.Generic.IDictionary<string, double> -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (valueMap As IDictionary(Of String, Double)) As DataFrame

參數

valueMap
IDictionary<String,Double>

要取代 Null 值的值

傳回

DataFrame 物件

備註

地圖的索引鍵是資料行名稱,而地圖的值則是取代值。

適用於

Fill(IDictionary<String,Boolean>)

傳回新的 DataFrame ,取代 Null 值。

public Microsoft.Spark.Sql.DataFrame Fill (System.Collections.Generic.IDictionary<string,bool> valueMap);
member this.Fill : System.Collections.Generic.IDictionary<string, bool> -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (valueMap As IDictionary(Of String, Boolean)) As DataFrame

參數

valueMap
IDictionary<String,Boolean>

要取代 Null 值的值

傳回

DataFrame 物件

備註

地圖的索引鍵是資料行名稱,而地圖的值則是取代值。

適用於

Fill(Boolean)

傳回新的 DataFrame ,以 取代布林 value 資料行中的 Null 值。

public Microsoft.Spark.Sql.DataFrame Fill (bool value);
member this.Fill : bool -> Microsoft.Spark.Sql.DataFrame
Public Function Fill (value As Boolean) As DataFrame

參數

value
Boolean

要取代的目標值

傳回

DataFrame 物件

適用於