public DataFrame(params DataFrameColumn[] columns) { _columnCollection = new DataFrameColumnCollection(columns, OnColumnsChanged); _rowCollection = new DataFrameRowCollection(this); }
/// <summary> /// Constructs a <see cref="DataFrame"/> with <paramref name="columns"/>. /// </summary> /// <param name="columns">The columns of this <see cref="DataFrame"/>.</param> public DataFrame(IEnumerable <DataFrameColumn> columns) { _columnCollection = new DataFrameColumnCollection(columns, OnColumnsChanged); _rowCollection = new DataFrameRowCollection(this); }