Click or drag to resize

DataFrameAddColumns(DataColumnCollection, DataRowCollection) Method

Adds a collection of DataColumns and accompanying data to this data frame.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DataFrame AddColumns(
	DataColumnCollection columns,
	DataRowCollection rows
)

Parameters

columns  DataColumnCollection
A DataColumnCollection.
rows  DataRowCollection
A DataRowCollection containing data for each of the new columns.

Return Value

DataFrame
This data frame.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the number of columns in the DataColumnCollection is not equal to the number of columns in the DataRowCollection, or if the DataRowCollection does not contain the same number of rows as this data frame.
See Also