参考解决方案:https://blog.csdn.net/zhaohansk/article/details/50505636
import numpy as np
import pandas as pd
from matplotlib import pyplot as plt
df = pd.DataFrame([[1,2,3],[4,5,6]],index=["a","b"],columns=list("CDE"))
print(df.plot())
// 加上这个方法就可以看到图了
plt.show()