Manipulation of the Nesoni nway with pandas