pd.unique(list('baabc')) array(['b', 'a', 'c'], dtype=object). 無序分類將按出現的順序返回類別。 >>> pd.unique(pd.Series(pd.Categorical(list('baabc')))) [b, ...
確定! 回上一頁