Average of multiple slices in a spanwise direction

Hello All,
Corresponding to the thread Averaging in spanwise direction and plotiing the data I got the idea that by creating multiple slices and averaging all those slices I will get the spanwise average value of the velocity. I managed to create multiple slices in the spanwise direction but don’t know how to average those slices to get the “averaged spanwise slice” so that after getting the “averaged spanwise slice” I would extract the line plot at different location of the aerofoil. Any suggestion/comments will be a great help.