title: Python multiple dataframe methods in single line
body: <p>New to Python. Can anyone explain how multiple methods are put together in one single line of code and how do we write a class with such capability?
  Here is the code snippet I got but I dont know exactly how/why it works.</p>
  <p><strong>df = df.div(100).add(1.01).cumprod()</strong></p>
  <p>Thanks</p>