How can I increase the speed of the following loop operation? In the code below: DF3= Dataframe OP and k are two columns in DF3 dataframe.
memory.limit(size =