Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstract SpaceDF #29

Merged
merged 29 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f3c2f43
addind conversion to geobjects
adamamer20 Jul 9, 2024
a50003f
Merge branch 'main' into 6-refactoring-mesaspace
adamamer20 Jul 9, 2024
9c2b281
change from types to types_ to avoid import issues
adamamer20 Jul 15, 2024
9546b10
creation of DataFrameMixin
adamamer20 Jul 15, 2024
a716118
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 15, 2024
b181c8b
Abstract Space and GridDF
adamamer20 Jul 15, 2024
2e94a38
Merge branch 'dataframe-mixin' of https://github.com/adamamer20/mesa-…
adamamer20 Jul 15, 2024
a9c9925
removing space types (has it's own PR)
adamamer20 Jul 15, 2024
cecf5af
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 15, 2024
3d72461
update space types
adamamer20 Jul 15, 2024
4722edb
update types with types_
adamamer20 Jul 15, 2024
21c5ef8
Moved agentset to library folder
adamamer20 Jul 16, 2024
831324a
update __init__
adamamer20 Jul 16, 2024
853a19e
remove geopandas
adamamer20 Jul 16, 2024
7d128a8
removed gpd
adamamer20 Jul 16, 2024
783a717
Merge branch 'main' into dataframe-mixin
adamamer20 Jul 16, 2024
4fdcd98
Merge branch 'dataframe-mixin' of https://github.com/adamamer20/mesa-…
adamamer20 Jul 16, 2024
0d37506
Merge 'main'
adamamer20 Jul 16, 2024
81fce01
merge fix
adamamer20 Jul 16, 2024
0f87a51
moved space to abstract and concrete
adamamer20 Jul 16, 2024
d90544d
fixed typing
adamamer20 Jul 16, 2024
a387c89
implementation of abstract SpaceDF
adamamer20 Jul 16, 2024
03a573d
removed MultiSpaceDF
adamamer20 Jul 16, 2024
7662ed3
reorder methods
adamamer20 Jul 16, 2024
79b3515
Merge branch 'main' of https://github.com/adamamer20/mesa-frames into…
adamamer20 Jul 16, 2024
7b45fb0
remove iter methods
adamamer20 Jul 17, 2024
778a6ff
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 17, 2024
d0b8083
adding normalize param
adamamer20 Jul 17, 2024
0a72c75
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion mesa_frames/abstract/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,9 @@ def __init__(self, model: ModelDF) -> None:

@abstractmethod
def add(
self, agents: DataFrame | Sequence[Any] | dict[str, Any], inplace: bool = True
self,
agents: DataFrame | Sequence[Any] | dict[str, Any],
inplace: bool = True,
) -> Self:
"""Add agents to the AgentSetDF

Expand Down
Loading