Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2916 +/- ##
==========================================
+ Coverage 89.87% 90.02% +0.15%
==========================================
Files 38 38
Lines 3999 3999
==========================================
+ Hits 3594 3600 +6
+ Misses 405 399 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
a51f6bd to
daecd1b
Compare
21155f6 to
696ab50
Compare
a903035 to
41c6d96
Compare
696ab50 to
a6cb606
Compare
41c6d96 to
1db05d7
Compare
0831bdb to
8c5b2af
Compare
b58dba1 to
ee61b8e
Compare
Base automatically changed from
kerl/arrow-util-current-domain-optional
to
main
August 27, 2024 23:01
b56d07a to
651ee8a
Compare
This was referenced Aug 28, 2024
651ee8a to
c875bff
Compare
c875bff to
68d9d3e
Compare
982b541 to
2f01e04
Compare
DataFrame.shape [WIP]DataFrame.shape
2f01e04 to
63efc44
Compare
nguyenv
approved these changes
Sep 3, 2024
Co-authored-by: nguyenv <[email protected]>
Co-authored-by: nguyenv <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue and/or context: This follows on #2944 for issue #2407 / [sc-51048]. Here we implement
shapefor SOMADataFrame, including its variant-indexed flavors.Changes:
While
SOMASparseNDArrayandSOMADenseNDArraymust always and only haveint64dims within the SOMA data model,SOMADataFrameis different. The default behavior -- which almost everyone uses -- has a singlesoma_joiniddim which is indeed of typeint64. (Also note thatexp.obs.shapedoes exist within TileDB-SOMA-Py, and people do call it.) However, the spec only requires thatsoma_joinidexist as a dim or an attr: it can be a dim along with others, or it can not be a dim at all. Here we do the right thing, without and with current-domain support, to produce the user-expectedexp.obs.shape.Notes for Reviewer: