File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
dataframe-geo-jupyter/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ internal class IntegrationGeo : JupyterIntegration() {
5454 useSchema<WithMultiLineStringGeometry >()
5555 }
5656
57+ render<GeoDataFrame <* >> {
58+ println (" GeoDataFrame with ${it.crs} CRS and inner dataframe:" )
59+ it.df
60+ }
61+
5762 val replCodeGeneratorImpl = ReplCodeGeneratorImpl ()
5863 replCodeGeneratorImpl.process(WithGeometry ::class )
5964 replCodeGeneratorImpl.process(WithPolygonGeometry ::class )
@@ -67,7 +72,7 @@ internal class IntegrationGeo : JupyterIntegration() {
6772 val generatedDf = execute(
6873 codeWithTypeCastGenerator = replCodeGeneratorImpl.process(geo.df, kProperty),
6974 expression = " (${kProperty.name} .df as DataFrame<*>)" ,
70- )
75+ ). let { " ` " + it.toString() + " ` " }
7176 val name = execute(" GeoDataFrame($generatedDf , ${kProperty.name} .crs)" ).name
7277 name
7378 }
You can’t perform that action at this time.
0 commit comments