Issues with For Loop - Appending New DataFrames

Take a look at some tips for how to post code on discourse.

I think you are running to the sometimes unintuitive behavior of global scope.

Try adding global df_fin right after your for i = 1:250.

1 Like