python制作可视化图表
Visualizing data is vital to analyzing data. If you can’t see your data – and see it in multiple ways – you’ll have a hard time analyzing that data. There are quite a few ways to visualize data and, thankfully, with pandas, matplotlib and/or seaborn, you can make some pretty powerful visualizations during analysis.
可视化数据对于分析数据至关重要。 如果看不到您的数据,并且无法以多种方式查看它,那么您将很难分析这些数据。 有很多方法可以可视化数据,而且值得庆幸的是,使用pandas,matplotlib和/或seaborn,您可以在分析过程中进行一些非常强大的可视化。
One of the things I like to do when I get a new dataset is try to visualize data points against each other to see if there’s anything that jumps out at me. To do this, I like to overlay charts against each other to find any patterns in the data / charts. With matplotlib, this is pretty easy to do but working with dual-axis can be a bit confusing at first.
当我获得一个新的数据集时,我想做的一件事就是尝试使数据点彼此可视化,以查看是否有任何东西跳到我身上。 为此,我希望将图表彼此重叠以在数据/图表中找到任何模式。 使用matplotlib ,这很容易做到,但是一开始使用双轴可能会有些混乱。
Want to learn more about data visualization and/or matplotlib? Here are a few books / websites with good info on the topic.
想更多地了解数据可视化和/或matplotlib? 这是一些有关该主题的好信息的书籍/网站。