def get_levels(self, name):
"""
Return a set containing all distinct values in the column 'name'.
The values are returned in alphabetical order.
Parameters
----------
name : string
The column name for which the unique values are requested
Returns
-------
levels : list
A unique list of all values that are contained in the specified
data column.
"""
return pd.unique(self._table[name].values.ravel())
评论列表
文章目录