条形图显示Dataframe的两行数据
```python
df1.plot.bar(x=df1.columns[0],y=df1.columns[1],alpha=1, width=0.5, color='blue', edgecolor='yellow', label='学生成绩图', lw=3)
plt.xlabel('学生',fontsize=10)#,color='red')
plt.ylabel('成绩', alpha=0.5)
plt.show()
给条形图加标签 datafram 第一列第二列作为数据源
```python
fig, ax = plt.subplots(figsize = (12,5))
plt.bar(df.iloc[:,0],df.iloc[:,1],width=0.5)
for index,data in zip(df.iloc[:,0], df.iloc[:,1]):
data = round(data, 4)
# print(index)
plt.text(x=index , y =data+2 , s=f"{data}")
plt.tight_layout()
plt.show()