panel apply SO#18946452 #notebook #pandas