data manipulaiton

It would make it easier for everyone if you could read this first, then provide a reproducible example before posting.