toStdlibInstant

@JvmName(name = "toStdlibInstantFromString")
fun <T> Convert<T, String?>.toStdlibInstant(): DataFrame<T>

Converts values in the String columns previously selected with convert to kotlin.time.Instant, preserving their original names and positions within the DataFrame. Preserves null values.

For more information: See convert on the documentation website.

Examples:

df.convert { timestamp }.toStdlibInstant()

This function will be renamed to .toInstant() in 1.1.

Return

A new DataFrame with the values converted to kotlin.time.Instant.


@JvmName(name = "toStdlibInstantFromDeprecatedInstant")
fun <T> Convert<T, Instant?>.toStdlibInstant(): DataFrame<T>

Converts values in the kotlinx.datetime.Instant columns previously selected with convert to kotlin.time.Instant, preserving their original names and positions within the DataFrame. Preserves null values.

For more information: See convert on the documentation website.

Examples:

df.convert { timestamp }.toStdlibInstant()

Return

A new DataFrame with the values converted to kotlin.time.Instant.


@JvmName(name = "toStdlibInstantFromDateTimeComponents")
fun <T> Convert<T, DateTimeComponents?>.toStdlibInstant(): DataFrame<T>

Converts values in the DateTimeComponents columns previously selected with convert to kotlin.time.Instant, preserving their original names and positions within the DataFrame. Preserves null values.

For more information: See convert on the documentation website.

Examples:

df.convert { timestamp }.toStdlibInstant()

This function will be renamed to .toInstant() in 1.1.

Return

A new DataFrame with the values converted to kotlin.time.Instant.