|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
sd.unique - Function
5.1.1 Return the unique values in a list
Description
This is an utility function that returns the unique values in a list
Arguments
Inputs |
| ||
x |
| The list to reduce
| |
| allowed: | array |
|
| Default: |
|
|
any array
Example
y=sd.unique(x)
print y
[1,2,3,4]
More information about CASA may be found at the
CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search