Typescript Change Value In Dataframe Reshape Numpy Python