Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am new in python. How can i count repetetive array in numpy?

X = [[1,2], [5,1], [1,2], [2,-1] , [5,1]]

I want to count "frequency" of repetitive elements for example [1,2]