-
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] Geometry DataFrame #3297
base: xan/hide_internal_dims
Are you sure you want to change the base?
[python] Geometry DataFrame #3297
Conversation
…en creating schema
…ing an array for read unless explicity specify them
Co-authored-by: John Kerl <kerl.john.r@gmail.com>
if not isinstance(coordinate_space, CoordinateSpace): | ||
coordinate_space = CoordinateSpace.from_axis_names(coordinate_space) |
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.
Is this check robust enough? Typeguard will preemptively throw a type error for anything that isn't Sequence[str]
or CoordinteSpace
before it gets here?
spatial_column_data, schema=pa.schema(spatial_column_schema) | ||
) | ||
|
||
print(spatial_column_info) |
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.
print(spatial_column_info) |
# [4] core current domain hi | ||
|
||
spatial_column_schema.append(pa_field) | ||
if NEW_SHAPE_FEATURE_FLAG_ENABLED: |
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.
This flag has been removed as of #3301. Will need to rebase with main
.
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.
Could you add one small either example or test using the new Python GeometryDataFrame
?
3e6d9f2
to
87cef7c
Compare
Python implementation of SOMAGeometryDataFrame