Help with CSV and Dataframe

I’ve moved this to Data because it isn’t related to JuMP.

Again, please read Please read: make it easier to help you and provide the full text of the error you encounter.

In your code

for jump_vars in CSV.File("file.csv")
    Result[c,:resultvariable] = JuMP.getvalue(jump_vars[c])
end

c is a JuMP variable, so it doesn’t makes sense to index a data frame by a JuMP variable.

2 Likes