python - 月、年与价值图、Pandas 和 MatPlotLib
问题描述
我有带有月、年和值的 DataFrame,我想做一个时间序列图。
样本:
month year Value
12 2016 0.006437804129357764
1 2017 0.013850880792606646
2 2017 0.013330349031207292
3 2017 0.07663058273768052
4 2017 0.7822831457266424
5 2017 0.8089573099244689
6 2017 1.1634845000200715
我试图用 X 轴上的年和月、年和月以及 Y 轴上的值来绘制这个数值数据。
解决方案
推荐阅读
- esp32 - 带有 esp32 的 Enc28j60 模块挂起
- curl - cURL NTLM 对 IIS8.5 的授权失败
- c# - 有没有办法在 bunit 测试中设置 OnAfterRender 方法的 firstRender-Variable?
- r - 使用 taskscheduleR 将任务计划程序设置为特定日期?
- c++ - 使用 struct 排队(出租车调度问题)
- forms - 如何使用绑定文本创建完全可定制的部分?
- java - 从 nginx 代理到 Chrome 中的 java 应用程序时缺少 cookie
- google-apps-script - Ranges 中的值(按命名范围)到变量
- azure - Azure DevOps - 禁止最近的推送者批准他们自己的更改 - 审阅者无法接受他自己的更改
- swift - RealmSwift 观察一组子对象(我认为)