-
Notifications
You must be signed in to change notification settings - Fork 26
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
[c++/python] Add GeometryDataFrame
creation
#3674
base: main
Are you sure you want to change the base?
Conversation
…x column arrow table
… decouple arrow schema between column schema and column domain
a61a126
to
9080ee3
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3674 +/- ##
==========================================
+ Coverage 86.29% 86.35% +0.06%
==========================================
Files 55 55
Lines 6390 6495 +105
==========================================
+ Hits 5514 5609 +95
- Misses 876 886 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
GeometryDataFrame
creation [WIP]GeometryDataFrame
creation
@@ -65,6 +66,7 @@ void SOMADenseNDArray::create( | |||
ctx->tiledb_ctx(), | |||
schema, | |||
index_columns, | |||
{}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{}, | |
std::nullopt, |
// CHECK( | ||
// std::vector<double_t>({0}) == | ||
// std::vector<double_t>(d1span.begin(), d1span.end())); | ||
// CHECK( | ||
// std::vector<double_t>({1}) == | ||
// std::vector<double_t>(d2span.begin(), d2span.end())); | ||
// CHECK( | ||
// std::vector<double_t>({0}) == | ||
// std::vector<double_t>(d3span.begin(), d3span.end())); | ||
// CHECK( | ||
// std::vector<double_t>({1}) == | ||
// std::vector<double_t>(d4span.begin(), d4span.end())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to delete these?
@@ -66,6 +67,7 @@ void SOMASparseNDArray::create( | |||
ctx->tiledb_ctx(), | |||
schema, | |||
index_columns, | |||
{}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{}, | |
std::nullopt, |
Issue and/or context: sc-50295
Changes:
Notes for Reviewer:
Adds basic implementation for
GeometryDataFrame
in the python API, adds static create method and property accessors.Adapt already existing read methods from arrow tables to work with the newly introduced complex domain (a struct on values) used by
soma_geometry
column.