-
Notifications
You must be signed in to change notification settings - Fork 5
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
Remove DataBundle.tables; instead overwrite DataBundle.data and use new property mode #238
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #238 +/- ##
==========================================
- Coverage 84.23% 84.10% -0.14%
==========================================
Files 76 78 +2
Lines 2817 2863 +46
==========================================
+ Hits 2373 2408 +35
- Misses 444 455 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@jtsiddons: I implemented two general functions with parameter
|
To be clear, Will the |
Exactly, |
Current status
Write data to new property
DataBundle.tables
after calling function methodDataBundle.map_model
.Object
DataBundle
then containsdata
,mask
andtables
.Processing huge data could explode the memory.
In addition, having both
DataBundel.data
andDataBundle.tables
could lead to some confusion.Solution
DataBundle.map_model
overwritesDataBundle.data
DataBundle.map_model
deletesDataBundle.mask
DataBundle.map_model
does not overwriteDataBundle.data
and does not deleteDataBundle.mask
but returns mapped tables as apd.DataFrame
Questions
@jtsiddons: What do you think about this idea?