Skip to content

[python] Geometry DataFrame #3297

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

Closed

Conversation

XanthosXanthopoulos
Copy link
Collaborator

Python implementation of SOMAGeometryDataFrame

Co-authored-by: John Kerl <kerl.john.r@gmail.com>
Comment on lines +123 to +124
if not isinstance(coordinate_space, CoordinateSpace):
coordinate_space = CoordinateSpace.from_axis_names(coordinate_space)
Copy link
Contributor

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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
print(spatial_column_info)

# [4] core current domain hi

spatial_column_schema.append(pa_field)
if NEW_SHAPE_FEATURE_FLAG_ENABLED:
Copy link
Contributor

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.

Copy link
Collaborator

@jp-dark jp-dark left a 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?

@jp-dark
Copy link
Collaborator

jp-dark commented Apr 24, 2025

This work was already merged in other PRs.

@jp-dark jp-dark closed this Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants