-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Further Selection Functionality for Regions2D (#97)
* add further selection functionality * add selection functionality for depth range * add selection functionality for time range * create test to check for both time and depth functionality * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove option for dataframe and series * updated select region by removing option for region_id to be series or dataframe * update test to test for "bad" list values * add timestamp * add timestamp import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * convert numpy num to python num * convert numpy numeric values to basic python float values * formatting changes * make description changes for preciseness * change multiple isinstance to single isinstance * initiate region first; remove untouched * make copy start with true * initiate region with copy value at beginning * remove untouched * remove checking if region is none * rework with itterrows .apply and lambda * for both selecting rows with "valid" time and depth values, exchange itterrows implementation with a .apply and lambda implementation --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
1c1510e
commit 3a3251b
Showing
2 changed files
with
146 additions
and
29 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