public Dataset <T> Transform(Func <T, T> fn, bool lazy = true) { var trans = new _LazyTransformDataset <T>(this, fn); if (lazy) { return(trans); } return(new SimpleDataset <T>(trans.Data.ToArray())); }
private Dataset <T> Transform(_TransformFirstClosure fn, bool lazy = true) { var trans = new _LazyTransformDataset <T>(this, fn); if (lazy) { return(trans); } return(new SimpleDataset <T>(trans.Data.ToArray())); }