-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RegionMap.from_dataframe() and RegionMap.as_dict() methods (#32)
* Add RegionMap.from_dataframe() method * Convert nan to None and float to int when it is possible * Add test for multiple root nodes * Separate the dict creation from the RegionMap creation * Move the dataframe_to_dict() to a protected free function * Move _dataframe_to_dict to the end of the file * Add RegionMap.as_dict() method * Minor cleaning
- Loading branch information
1 parent
6522ae7
commit 1feef57
Showing
3 changed files
with
125 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters