public void Run(ITableFrame tableFrame) { var firstnames = tableFrame.GetData<string>("firstname"); var lastnames = tableFrame.GetData<string>("lastname"); var fullnames = firstnames.Zip(lastnames, FormatFullName); tableFrame.CreateColumn("fullname", fullnames); }
public void Run(ITableFrame tableFrame) { var percentages = tableFrame.GetData<decimal>("percentage"); var normalized = percentages.Select(p => p * 100m); tableFrame.SetData("percentage", normalized); }