Pandas Sum Two Rows, sum () function in Pandas allows users to compute the sum of values along a specified axis.