unique¶
-
astropy.table.
unique
(input_table, keys=None, silent=False)[source] [edit on github]¶ Returns the unique rows of a table.
Parameters: input_table :
Table
object or a value thatwill initialize a `~astropy.table.Table` object
Input table.
keys : str or list of str
Name(s) of column(s) used to unique rows. Default is to use all columns.
silent : boolean
If
True
masked value column(s) are silently removed fromkeys
. IfFalse
an exception is raised whenkeys
contains masked value column(s). Default isFalse
.Returns: unique_table :
Table
objectTable containing only the unique rays of
input_table
.