public static DFGenericColumn CreateGenericCol(string name, int rowCount) { Guid[] data = new Guid[rowCount]; for (int i = 0; i < rowCount; i++) { data[i] = Guid.NewGuid(); } DFGenericColumn col = new DFGenericColumn(name, data); Type t = col.ColumnType; return col; }
public static Frame CreateFrame(Guid[] values, string colName) { DFColumn[] cols = new DFColumn[1]; cols[0] = new DFGenericColumn(colName, values); Frame frame = new Frame(Guid.NewGuid(), cols); return frame; }