hope you guys can indicate with pandas functions i need to use in order to achieve the desired output.
Example input (real data will have v4, v5, v6, .... v20 on the