How to turn multiple observations into a single observation

Maybe this topic is easier to find if the title should contain the word ‘split’ ?