条形图-使用matplotlib列中的分类值进行计数和汇总

时间:2019-06-23 15:47:50

标签: python matplotlib

我试图获取类别列中的类别计数,然后求和每个类别的值之和。 在Seaborn中,使用计数图很简单,但是我想直接在matplotlib中进行计数。

是否只是需要为每个类别创建一个带有列的新数据框?

我给了一张带有示例数据集的图像和我想完成的示例。

是否对实现此技术的任何建议?

enter image description here

1 个答案:

答案 0 :(得分:0)

使用此:

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.