Posts by Leandro Persona • 11 points
2 posts
-
1
votes2
answers334
viewsQ: Return the index of a row with the min function in Python
I am trying to find the index of a numpy matrix (cut of a face detected in opencv) and draw a line where the sum of the pixels is the minimum value. I can’t return the index. Follow the code below…
-
-2
votes1
answer1116
viewsQ: Working with time in pandas and python
I have a dataFrame in which two columns are of the type datetime.time and I need to subtract one from the other and get the value in minutes. To turn into datetime.time did so:…