Dear One Data experts,
I have the following challenge to solve: given a datatable with test cases and execution steps, concatenate the execution step descriptions per test case, obeying an explicit order given by a index field in the test steps.
Example:
test_case_key | step_description | step_index |
---|---|---|
test_1 | “some step description” | 0 |
test_1 | “last step” | 2 |
test_1 | “intermediate step” | 1 |
should result in
test_case_key | concatenated_description |
---|---|
test_1 | “some step description, intermediate step, last step” |
bonus points for any solution that does not use python or R