【发布时间】:2020-01-19 01:31:58
【问题描述】:
我想应用这个布尔掩码
csv["country"].value_counts()>5000
到这个函数
sns.countplot(y = csv["country"].value_counts()>5000, data = csv)
但它会出现此错误:
"Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match)".
我应该如何进行?
【问题讨论】: