'numpy.ndarray' object has no attribute 'value_counts ...
https://newbedev.com/numpy-ndarray-object-has-no-attribute-value...Example 1: 'numpy.ndarray' object has no attribute 'count' >>> a = numpy.array([0, 3, 0, 1, 0, 1, 2, 1, 0, 0, 0, 0, 1, 3, 4]) >>> unique, counts = numpy.unique(a, re