submission=pd.DataFrame({"image_name":ID,'label':predictions.tolist()})
submission.to_csv(submission,index=False,encoding="utf-8")
出现以下错误
'DataFrame' object has no attribute 'close'
答案 0 :(得分:0)
这应该有效:
const stockSchema = new Schema({
symbol: { type: String, required: true },
date: { type: Date, required: true },
values: {
month: {
value: { type: Number, required: true },
day: {
value: { type: Number, required: true },
open: { type: Number },
close: { type: Number },
low: { type: Number },
high: { type: Number },
volume: { type: Number }
}
}
}
});