### (Solved) : Use Python 3 Jupyter Write Function Called Countunique One Parameter Numpy Array Array Lis Q35630442

Use Python 3 in Jupyter

Write a function called countUnique that has one parameter whichis a NumPy array. The array will be a list of integers with manyrepeated values. The function should count how many times eachunique integer appears and return the counts. For example, if it isgiven the array array([3, 3, 3, 1, 1, 3, 1, 1, 3, 2]), it shouldreturn the counts [(1, 4), (2, 1), (3, 5)] since 1 appears 4 times,2 appears once, and 3 appears 5 times.

In a separate code cell, create an create a NumPy array of 20random integers from 1 to 20. Use your countUnique to determine howmany times each number appears.

In a separate code cell, create an create a NumPy array of10,000 random integers from 1 to 5. Use your countUnique todetermine how many times each number appears.