We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 724859d commit afb04edCopy full SHA for afb04ed
ibis/expr/types/pretty.py
@@ -41,6 +41,13 @@ def _(dtype, values):
41
return _format_nested([None if v is None else dict(v) for v in values])
42
43
44
+@format_values.register(dt.GeoSpatial)
45
+def _(dtype, values):
46
+ import shapely
47
+
48
+ return _format_nested([None if v is None else shapely.from_wkb(v) for v in values])
49
50
51
@format_values.register(dt.JSON)
52
def _(dtype, values):
53
def try_json(v):
ibis/formats/pyarrow.py
@@ -90,6 +90,7 @@ def __arrow_ext_scalar_class__(self):
90
dt.Unknown: pa.string(),
91
dt.MACADDR: pa.string(),
92
dt.INET: pa.string(),
93
+ dt.GeoSpatial: pa.binary(),
94
}
95
96
0 commit comments