Count unique values

operators.val.count_unique_values(client, filename_in='in.npy', filename_out='out.npy', dtype='float', ignore='nan', instance_type='x2large')
Count unique occurrences of values in a matrix.

count_unique_values( client,
filename_in=’in.npy’,
filename_out=’out.npy’,
dtype=’float’,
ignore=’nan’,
instance_type=’x2large’ )
Parameters:
  • filename_in – Input file path for the matrix

  • filename_out – Output file path for the unique counts matrix

  • dtype – Data type of the matrix (default: float)

  • ignore – Data value to ignore

  • instance_type – type of cloud instance used for processing