DataFrame.Append 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
Append(IEnumerable<Object>, Boolean, CultureInfo) |
Appends a row to the DataFrame |
Append(IEnumerable<KeyValuePair<String,Object>>, Boolean, CultureInfo) |
Appends a row by enumerating column names and values from |
Append(IEnumerable<DataFrameRow>, Boolean, CultureInfo) |
Appends rows to the DataFrame |
Append(IEnumerable<Object>, Boolean, CultureInfo)
Appends a row to the DataFrame
public Microsoft.Data.Analysis.DataFrame Append (System.Collections.Generic.IEnumerable<object> row = default, bool inPlace = false, System.Globalization.CultureInfo cultureInfo = default);
member this.Append : seq<obj> * bool * System.Globalization.CultureInfo -> Microsoft.Data.Analysis.DataFrame
Public Function Append (Optional row As IEnumerable(Of Object) = Nothing, Optional inPlace As Boolean = false, Optional cultureInfo As CultureInfo = Nothing) As DataFrame
Parameters
- row
- IEnumerable<Object>
- inPlace
- Boolean
If set, appends a row
in place. Otherwise, a new DataFrame is returned with an appended row
- cultureInfo
- CultureInfo
Culture info for formatting values
Returns
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, CultureInfo)
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, System.Globalization.CultureInfo cultureInfo = default);
member this.Append : seq<System.Collections.Generic.KeyValuePair<string, obj>> * bool * System.Globalization.CultureInfo -> Microsoft.Data.Analysis.DataFrame
Public Function Append (row As IEnumerable(Of KeyValuePair(Of String, Object)), Optional inPlace As Boolean = false, Optional cultureInfo As CultureInfo = Nothing) 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
- cultureInfo
- CultureInfo
Culture info for formatting values
Returns
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, CultureInfo)
Appends rows to the DataFrame
public Microsoft.Data.Analysis.DataFrame Append (System.Collections.Generic.IEnumerable<Microsoft.Data.Analysis.DataFrameRow> rows, bool inPlace = false, System.Globalization.CultureInfo cultureInfo = default);
member this.Append : seq<Microsoft.Data.Analysis.DataFrameRow> * bool * System.Globalization.CultureInfo -> Microsoft.Data.Analysis.DataFrame
Public Function Append (rows As IEnumerable(Of DataFrameRow), Optional inPlace As Boolean = false, Optional cultureInfo As CultureInfo = Nothing) 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
- cultureInfo
- CultureInfo
culture info for formatting values
Returns
Remarks
If an input column's value doesn't match a DataFrameColumn's data type, a conversion will be attempted