DataFrame.Append Method

Definition

Overloads

Append(IEnumerable<Object>, Boolean)

Appends a row to the DataFrame

Append(IEnumerable<KeyValuePair<String,Object>>, Boolean)

Appends a row by enumerating column names and values from row

Append(IEnumerable<DataFrameRow>, Boolean)

Appends rows to the DataFrame

Append(IEnumerable<Object>, Boolean)

Appends a row to the DataFrame

public Microsoft.Data.Analysis.DataFrame Append (System.Collections.Generic.IEnumerable<object> row = default, bool inPlace = false);
member this.Append : seq<obj> * bool -> Microsoft.Data.Analysis.DataFrame
Public Function Append (Optional row As IEnumerable(Of Object) = Nothing, Optional inPlace As Boolean = false) As DataFrame

Parameters

inPlace
Boolean

If set, appends a row in place. Otherwise, a new DataFrame is returned with an appended row

Returns

DataFrame

Remarks

If a column's value doesn't match its column's data type, a conversion will be attempted

Applies to

Append(IEnumerable<KeyValuePair<String,Object>>, Boolean)

Appends a row by enumerating column names and values from row

public Microsoft.Data.Analysis.DataFrame Append (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> row, bool inPlace = false);
member this.Append : seq<System.Collections.Generic.KeyValuePair<string, obj>> * bool -> Microsoft.Data.Analysis.DataFrame
Public Function Append (row As IEnumerable(Of KeyValuePair(Of String, Object)), Optional inPlace As Boolean = false) As DataFrame

Parameters

row
IEnumerable<KeyValuePair<String,Object>>

An enumeration of column name and value to be appended

inPlace
Boolean

If set, appends row in place. Otherwise, a new DataFrame is returned with an appended row

Returns

DataFrame

Remarks

If a column's value doesn't match its column's data type, a conversion will be attempted

Applies to

Append(IEnumerable<DataFrameRow>, Boolean)

Appends rows to the DataFrame

public Microsoft.Data.Analysis.DataFrame Append (System.Collections.Generic.IEnumerable<Microsoft.Data.Analysis.DataFrameRow> rows, bool inPlace = false);
member this.Append : seq<Microsoft.Data.Analysis.DataFrameRow> * bool -> Microsoft.Data.Analysis.DataFrame
Public Function Append (rows As IEnumerable(Of DataFrameRow), Optional inPlace As Boolean = false) As DataFrame

Parameters

rows
IEnumerable<DataFrameRow>

The rows to be appended to this DataFrame

inPlace
Boolean

If set, appends rows in place. Otherwise, a new DataFrame is returned with the rows appended

Returns

DataFrame

Remarks

If an input column's value doesn't match a DataFrameColumn's data type, a conversion will be attempted

Applies to