Skip to content

Geopandas __repr__() and to_geopandas() #1993

Closed

Description

@jiayuasu

Previously printing a sedona GeoSeries output it in WKB format.

0    [1, 1, 0, 0, 0, 51, 51, 51, 51, 51, 51, 243, 6...
1    [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0,...
2    [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 64, 0, 0,...
3    [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 64, 0, 0...
dtype: object

We should convert it to properly display in WKT, matching Geopandas.

0    POINT (1.20000 1.00000)                                                    
1    POINT (2.00000 2.00000)
2    POINT (3.00000 3.00000)
3    POINT (4.00000 4.00000)
dtype: geometry

Activity

  1. github-actions commented on Jun 20, 2025

    @github-actions

    Thank you for your interest in Apache Sedona! We appreciate you opening your first issue. Contributions like yours help make Apache Sedona better.

  2. added a commit that references this issue on Jun 20, 2025
  3. self-assigned this
    on Jul 11, 2025
  4. added a commit that references this issue on Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions