toStdlibInstant
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.
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.
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.