samedi 14 décembre 2019

How to check if the value is between two consecutive rows in dataframe or numpy array?

I need to write a code that checks if a certain value is between 2 consecutive rows, for example:

row <10 < next row

meaning if the value is between row and its consecutive row.

I've read through SOF but couldn't find an answer.

Greatly appreciate your help.

Aucun commentaire:

Enregistrer un commentaire