Closed ramarea closed 3 years ago
The current implementation of this builds a data frame when the program initializes with time 0 already populated. This is wrong because it has to populate at the end of time 0, unless we treat time 0 as only the initialization.
Then at every time period, I create a new data frame with the same columns with the period data and append into to the metrics data frame already in the agent. Except it does not seem to work.
What could be the problem???
Let us get right into it!!!
Ahhhhh look at that! I had forgotten that pandas DF do not append in place like regular python.
We are done with this issue!!!
I am trying to keep the different performance metrics within each agent. I am storing them in a data frame that is supposed to update at every time period after the simulation has run for that period. The problem I am facing is the data frame does not seem to update. So I need to resolve that issue before I can even decide what information is going into the data frame.