-
Notifications
You must be signed in to change notification settings - Fork 25
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
[python] Support Enumeration
in Python API
#1511
[python] Support Enumeration
in Python API
#1511
Conversation
This pull request has been linked to Shortcut Story #30316: Enumerated data types AKA categoricals AKA factors. |
Enumeration
in Python API
[sc-30316] |
This PR is now at a point where it can be evaluated for feedback. |
Enumeration
in Python APIEnumeration
in Python API
1ad3e2c
to
2fbc777
Compare
c2c81de
to
a84e76c
Compare
@nguyenv can you please resolve conflicts on this PR to bring it up to date? I'm happy to help if you need. |
Yes I've been looking at this since yesterday . I'm seeing failures in the most recently added unit tests that I haven't resolved yet.
|
@nguyenv those are tests I created -- I'll help take a look |
6e22be8
to
1058f9d
Compare
ba4559c
to
0687b16
Compare
Codecov ReportPatch has no changes to coverable lines.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. 📢 Thoughts on this report? Let us know!. |
* Addition of `SOMAArray::get_enum` and `SOMAArray::get_enum_label_on_attr` * Attach an enumeration/dictionary to the `ColumnBuffer` if applicable; this is used when converting from `ArrayBuffers` to Arrow Tables in the Python and R APIs
* Prior to TileDB-Inc/TileDB#4272, the SOMA unit tests were erroneously writing a byte vector for string dimensions which maps to `TILEDB_BLOB` rather than `TILEDB_STRING_ASCII`
* Prior to TileDB-Inc/TileDB#4272, the SOMA unit tests were erroneously writing a byte vector for string dimensions which maps to `TILEDB_BLOB` rather than `TILEDB_STRING_ASCII`
…ss (#1650) * temp * robustness * extract method for obsm/varm outgest * complete rebase to main * more unit-test cases * remove R debugs * robustness * complete rebase to main * [python] Leverage bounding-box feature for obsm/varm outgest robustness * test data for holey obsm * unit-test cases * on-line help improvements
* [python] Improve schema-printer [RFC] * neaten * code-neaten inspired by dirk's 1675
14f4387
to
f697900
Compare
Issue and/or context: #866
Changes:
Reads are done in C++. Writes are done through TileDB-Py (TileDB-Inc/TileDB-Py#1790).
Notes for Reviewer:
Depends on #1519.