Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import org.jetbrains.kotlinx.jupyter.api.FieldHandler
import org.jetbrains.kotlinx.jupyter.api.FieldHandlerExecution
import org.jetbrains.kotlinx.jupyter.api.libraries.FieldHandlerFactory
import org.jetbrains.kotlinx.jupyter.api.libraries.JupyterIntegration
import org.jetbrains.kotlinx.jupyter.api.outputs.display
import kotlin.reflect.KProperty
import kotlin.reflect.full.isSubtypeOf
import kotlin.reflect.typeOf
Expand Down Expand Up @@ -55,9 +54,11 @@ internal class IntegrationGeo : JupyterIntegration() {
useSchema<WithMultiLineStringGeometry>()
}

render<GeoDataFrame<*>> {
notebook.display("GeoDataFrame with ${it.crs?.name?.code} CRS and inner dataframe:")
it.df
renderWithHost<GeoDataFrame<*>> { host, geoDataFrame ->
host.execute {
display("GeoDataFrame with ${geoDataFrame.crs?.name?.code} CRS and inner dataframe:", null)
}
geoDataFrame.df
}

val replCodeGeneratorImpl = ReplCodeGeneratorImpl()
Expand Down