To explain how to use cumprod in Pandas library to calculate cumulative portfolio return and single asset return in an efficient code with Python.