commit
321434f837
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 824 KiB |
After Width: | Height: | Size: 2.7 MiB |
@ -1,9 +0,0 @@
|
||||
import pandas as pd
|
||||
import matplotlib.pyplot as plt
|
||||
df = pd.read_excel("棉花产量论文作业的数据.xlsx")
|
||||
plt.plot(df["年份"],df["单产"])
|
||||
plt.rcParams['font.sans-serif']="SimHei"
|
||||
plt.ylabel('单产')
|
||||
plt.xlabel('年份')
|
||||
plt.show()
|
||||
print(df)
|
Loading…
Reference in new issue