unique¶
-
astropy.table.unique(input_table, keys=None, silent=False)[source] [edit on github]¶ Returns the unique rows of a table.
Parameters: input_table :
Tableobject 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
Truemasked value column(s) are silently removed fromkeys. IfFalsean exception is raised whenkeyscontains masked value column(s). Default isFalse.Returns: unique_table :
TableobjectTable containing only the unique rays of
input_table.