[PD] python scripting in pd