Typescript Array Shift Method Pandas Disease