Skip to content

Commit cb93ba6

Browse files
fix geo jupyter
1 parent f56629d commit cb93ba6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dataframe-geo-jupyter/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter/IntegrationGeo.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ internal class IntegrationGeo : JupyterIntegration() {
5555
}
5656

5757
render<GeoDataFrame<*>> {
58-
println("GeoDataFrame with ${it.crs} CRS and inner dataframe:")
58+
println("GeoDataFrame with ${it.crs?.name?.code} CRS and inner dataframe:")
5959
it.df
6060
}
6161

@@ -72,7 +72,7 @@ internal class IntegrationGeo : JupyterIntegration() {
7272
val generatedDf = execute(
7373
codeWithTypeCastGenerator = replCodeGeneratorImpl.process(geo.df, kProperty),
7474
expression = "(${kProperty.name}.df as DataFrame<*>)",
75-
).let { "`" + it.toString() + "`" }
75+
).let { "`$it`" }
7676
val name = execute("GeoDataFrame($generatedDf, ${kProperty.name}.crs)").name
7777
name
7878
}

dataframe-jupyter/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ repositories {
1717
mavenCentral()
1818
}
1919

20-
2120
dependencies {
2221
api(projects.dataframe)
2322

0 commit comments

Comments
 (0)