Javascript Get Maximum Value From Array To Dataframe In Python