【发布时间】:2021-07-31 11:29:02
【问题描述】:
我试图在 jupyter notebook 的 for 循环中绘制一些数字:
for i in range(4):
df = pd.DataFrame()
df['x'] = features[:, 0]
df['y'] = features[:, 1]
plt.plot(df["x"], df["y"])
plt.show()
我得到以下第一个数字。请问您知道是什么问题吗?
【问题讨论】:
标签: python pandas matplotlib