Pandas common function classification summary