DataFrame.FillNulls Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FillNulls(IList<Object>, Boolean) |
Fills |
FillNulls(Object, Boolean) |
Fills |
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
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.