Exemplo n.º 1
0
            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);
            }
Exemplo n.º 2
0
            public void Run(ITableFrame tableFrame)
            {
                var percentages = tableFrame.GetData<decimal>("percentage");

                var normalized = percentages.Select(p => p * 100m);

                tableFrame.SetData("percentage", normalized);
            }