Dela via


DataFrame.FillNulls Method

Definition

Overloads

FillNulls(IList<Object>, Boolean)

Fills null values in each column with values from values.

FillNulls(Object, Boolean)

Fills null values with value.

FillNulls(IList<Object>, Boolean)

Fills null values in each column with values from values.

public Microsoft.Data.Analysis.DataFrame FillNulls (System.Collections.Generic.IList<object> values, bool inPlace = false);
member this.FillNulls : System.Collections.Generic.IList<obj> * bool -> Microsoft.Data.Analysis.DataFrame
Public Function FillNulls (values As IList(Of Object), Optional inPlace As Boolean = false) As DataFrame

Parameters

values
IList<Object>

The values to replace null with, one value per column. Should be equal to the number of columns in this DataFrame.

inPlace
Boolean

A boolean flag to indicate if the operation should be in place

Returns

A new DataFrame if inPlace is not set. Returns this DataFrame otherwise.

Applies to

FillNulls(Object, Boolean)

Fills null values with value.

public Microsoft.Data.Analysis.DataFrame FillNulls (object value, bool inPlace = false);
member this.FillNulls : obj * bool -> Microsoft.Data.Analysis.DataFrame
Public Function FillNulls (value As Object, Optional inPlace As Boolean = false) As DataFrame

Parameters

value
Object

The value to replace null with.

inPlace
Boolean

A boolean flag to indicate if the operation should be in place

Returns

A new DataFrame if inPlace is not set. Returns this DataFrame otherwise.

Applies to