projectmesa / mesa-frames

Extension of mesa for performance and scalability
https://projectmesa.github.io/mesa-frames
Apache License 2.0
14 stars 5 forks source link

Refactoring AgentContainer with DataFrameMixin #83

Open adamamer20 opened 2 months ago

adamamer20 commented 2 months ago

AgentSetPandas and AgentSetPolars currently have separate implementations for similar methods. To improve maintainability and adhere to the DRY principle, AgentContainer should be refactored to use DataFrameMixin.

This refactoring will consolidate common functionality and make the codebase more efficient and easier to maintain.