獨特的項目我有一個pandas.core.series.Series叫名字:訪問從pandas.core.series.Series字典
print names
0 [{'code': '8', 'name': 'John'}, {...
1 [{'code': '1', 'name': 'Harry'},...
2 [{'code': '5', 'name': 'Pete'...
3 [{'code': '1', 'name': 'Harry'...
如果只有10碼和10個唯一名稱屬於它們。我如何得到這10個名字的輸出?我的第一個猜測是:
names.unique()
,但我得到類型錯誤:unhashable類型: '名單'
請幫助。
如果我或另一種答案是有幫助的,不要忘了[接受](http://meta.stackexchange.com/a/5235/295067)它。謝謝。 – jezrael