Trying to apply numpy inbuilt function apply_along_axis based on row index position OP: The function: Op: But is there a way to use this function based on row index position for example, if its a even row index then add 10 and if its a odd row index then add 50 Sample: Answer When iterating on array, directly or with