Rolling sums on pandas dataframe
<p>I have this pandas dataframe:</p>

<pre><code>area    name    colA    colB
2.7     val 3.760826923 3.502604167
0.12    val 5.96003125  5.833534
12.9    val 3.595288462 3.243333
21.81   val 5.037025    4.571475667
57.42   val 2.132785714 2.456866667
0.03    val 3.0935  3.229389833
2.07    val 3.336634615 3.421142
</code></pre>

<p>Is there a way to convert all numeric columns into cumulative sums, so that resulting dataframe is like this:</p>

<pre><code>area    name    colA    colB
2.7     val 3.760826923 3.502604167
2.82    val 9.720858173 9.336138167
15.72   val 13.31614663 12.57947117
37.53   val 18.35317163 17.15094683
94.95   val 20.48595735 19.6078135
94.98   val 23.57945735 22.83720333
97.05   val 26.91609196 26.25834533
</code></pre>

<p>NOTE:
Please note that I would strongly prefer not manually specifying column names</p>