Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datacollector: Add warning when returning empty dataframe with no rep…
…orters defined With this commit the get_model_vars_dataframe() and get_agent_vars_dataframe() raise warnings when no model_reporters or agent_reporteres are defined, and it thus returns an empty dataframe. This warning makes it clearer why it's returning an empty dataframe. Two of my students were stuck on this quite a while, since they were requesting the get_model_vars_dataframe() while having defined only agent reporters.
- Loading branch information