@@ -2947,30 +2947,6 @@ public fun <T : Any> DataColumn<T>.convertToDuration(): DataColumn<Duration> = c
29472947 */
29482948public fun <T : Any > DataColumn<T?>.convertToDuration (): DataColumn <Duration ?> = convertTo()
29492949
2950- /* *
2951- * Converts values in the columns previously selected with [convert] to [Duration],
2952- * preserving their original names and positions within the [DataFrame].
2953- *
2954- * Supported source types: [String] (parsed via [Duration.parse]),
2955- * [JavaDuration], [Long] and [Int] (interpreted as milliseconds).
2956- *
2957- * For more information: {@include [DocumentationUrls.Convert]}
2958- *
2959- * ### Examples:
2960- * ```kotlin
2961- * df.convert { duration }.toDuration()
2962- * df.convert { colsOf<String>() }.toDuration()
2963- * df.convert { colsOf<Long>() }.toDuration()
2964- * ```
2965- *
2966- * @return A new [DataFrame] with the values converted to [Duration].
2967- */
2968- @JvmName(" toDurationTAny" )
2969- @Refine
2970- @Converter(Duration ::class , nullable = false )
2971- @Interpretable(" ToSpecificType" )
2972- public fun <T > Convert <T , Any >.toDuration (): DataFrame <T > = to<Duration >()
2973-
29742950/* *
29752951 * Converts values in the columns previously selected with [convert] to [Duration],
29762952 * preserving their original names and positions within the [DataFrame].
@@ -3020,29 +2996,6 @@ public fun <T : Any> DataColumn<T>.convertToJavaInstant(): DataColumn<JavaInstan
30202996 */
30212997public fun <T : Any > DataColumn<T?>.convertToJavaInstant (): DataColumn <JavaInstant ?> = convertTo()
30222998
3023- /* *
3024- * Converts values in the columns previously selected with [convert] to [JavaInstant],
3025- * preserving their original names and positions within the [DataFrame].
3026- *
3027- * Supported source types: [String] (parsed), [Long] and [Int] (epoch milliseconds),
3028- * [StdlibInstant], [DeprecatedInstant], [LocalDateTime], [JavaLocalDateTime].
3029- *
3030- * For more information: {@include [DocumentationUrls.Convert]}
3031- *
3032- * ### Examples:
3033- * ```kotlin
3034- * df.convert { timestamp }.toJavaInstant()
3035- * df.convert { colsOf<Long>() }.toJavaInstant()
3036- * ```
3037- *
3038- * @return A new [DataFrame] with the values converted to [JavaInstant].
3039- */
3040- @JvmName(" toJavaInstantTAny" )
3041- @Refine
3042- @Converter(JavaInstant ::class , nullable = false )
3043- @Interpretable(" ToSpecificType" )
3044- public fun <T > Convert <T , Any >.toJavaInstant (): DataFrame <T > = to<JavaInstant >()
3045-
30462999/* *
30473000 * Converts values in the columns previously selected with [convert] to [JavaInstant],
30483001 * preserving their original names and positions within the [DataFrame].
@@ -3089,28 +3042,6 @@ public fun <T : Any> DataColumn<T>.convertToJavaDuration(): DataColumn<JavaDurat
30893042 */
30903043public fun <T : Any > DataColumn<T?>.convertToJavaDuration (): DataColumn <JavaDuration ?> = convertTo()
30913044
3092- /* *
3093- * Converts values in the columns previously selected with [convert] to [JavaDuration],
3094- * preserving their original names and positions within the [DataFrame].
3095- *
3096- * Supported source types: [String] (parsed), [Duration].
3097- *
3098- * For more information: {@include [DocumentationUrls.Convert]}
3099- *
3100- * ### Examples:
3101- * ```kotlin
3102- * df.convert { duration }.toJavaDuration()
3103- * df.convert { colsOf<Duration>() }.toJavaDuration()
3104- * ```
3105- *
3106- * @return A new [DataFrame] with the values converted to [JavaDuration].
3107- */
3108- @JvmName(" toJavaDurationTAny" )
3109- @Refine
3110- @Converter(JavaDuration ::class , nullable = false )
3111- @Interpretable(" ToSpecificType" )
3112- public fun <T > Convert <T , Any >.toJavaDuration (): DataFrame <T > = to<JavaDuration >()
3113-
31143045/* *
31153046 * Converts values in the columns previously selected with [convert] to [JavaDuration],
31163047 * preserving their original names and positions within the [DataFrame].
@@ -3250,29 +3181,6 @@ public fun DataColumn<String?>.convertToJavaLocalDate(
32503181 ),
32513182 )
32523183
3253- /* *
3254- * Converts values in the columns previously selected with [convert] to [JavaLocalDate],
3255- * preserving their original names and positions within the [DataFrame].
3256- *
3257- * Supported source types: [String] (parsed), [Long] and [Int] (epoch milliseconds),
3258- * [LocalDate], [LocalDateTime], [JavaLocalDateTime], [StdlibInstant], [DeprecatedInstant], [JavaInstant].
3259- *
3260- * For more information: {@include [DocumentationUrls.Convert]}
3261- *
3262- * ### Examples:
3263- * ```kotlin
3264- * df.convert { date }.toJavaLocalDate()
3265- * df.convert { colsOf<LocalDate>() }.toJavaLocalDate()
3266- * ```
3267- *
3268- * @return A new [DataFrame] with the values converted to [JavaLocalDate].
3269- */
3270- @JvmName(" toJavaLocalDateTAny" )
3271- @Refine
3272- @Converter(JavaLocalDate ::class , nullable = false )
3273- @Interpretable(" ToSpecificType" )
3274- public fun <T > Convert <T , Any >.toJavaLocalDate (): DataFrame <T > = to<JavaLocalDate >()
3275-
32763184/* *
32773185 * Converts values in the columns previously selected with [convert] to [JavaLocalDate],
32783186 * preserving their original names and positions within the [DataFrame].
@@ -3499,29 +3407,6 @@ public fun DataColumn<String?>.convertToJavaLocalTime(
34993407 ),
35003408 )
35013409
3502- /* *
3503- * Converts values in the columns previously selected with [convert] to [JavaLocalTime],
3504- * preserving their original names and positions within the [DataFrame].
3505- *
3506- * Supported source types: [String] (parsed), [Long] and [Int] (epoch milliseconds),
3507- * [LocalTime], [LocalDateTime], [JavaLocalDateTime], [StdlibInstant], [JavaInstant].
3508- *
3509- * For more information: {@include [DocumentationUrls.Convert]}
3510- *
3511- * ### Examples:
3512- * ```kotlin
3513- * df.convert { time }.toJavaLocalTime()
3514- * df.convert { colsOf<LocalTime>() }.toJavaLocalTime()
3515- * ```
3516- *
3517- * @return A new [DataFrame] with the values converted to [JavaLocalTime].
3518- */
3519- @JvmName(" toJavaLocalTimeTAny" )
3520- @Refine
3521- @Converter(JavaLocalTime ::class , nullable = false )
3522- @Interpretable(" ToSpecificType" )
3523- public fun <T > Convert <T , Any >.toJavaLocalTime (): DataFrame <T > = to<JavaLocalTime >()
3524-
35253410/* *
35263411 * Converts values in the columns previously selected with [convert] to [JavaLocalTime],
35273412 * preserving their original names and positions within the [DataFrame].
@@ -3748,29 +3633,6 @@ public fun DataColumn<String?>.convertToJavaLocalDateTime(
37483633 ),
37493634 )
37503635
3751- /* *
3752- * Converts values in the columns previously selected with [convert] to [JavaLocalDateTime],
3753- * preserving their original names and positions within the [DataFrame].
3754- *
3755- * Supported source types: [String] (parsed), [Long] and [Int] (epoch milliseconds),
3756- * [LocalDateTime], [LocalDate], [JavaLocalDate], [StdlibInstant], [DeprecatedInstant], [JavaInstant].
3757- *
3758- * For more information: {@include [DocumentationUrls.Convert]}
3759- *
3760- * ### Examples:
3761- * ```kotlin
3762- * df.convert { dateTime }.toJavaLocalDateTime()
3763- * df.convert { colsOf<LocalDateTime>() }.toJavaLocalDateTime()
3764- * ```
3765- *
3766- * @return A new [DataFrame] with the values converted to [JavaLocalDateTime].
3767- */
3768- @JvmName(" toJavaLocalDateTimeTAny" )
3769- @Refine
3770- @Converter(JavaLocalDateTime ::class , nullable = false )
3771- @Interpretable(" ToSpecificType" )
3772- public fun <T > Convert <T , Any >.toJavaLocalDateTime (): DataFrame <T > = to<JavaLocalDateTime >()
3773-
37743636/* *
37753637 * Converts values in the columns previously selected with [convert] to [JavaLocalDateTime],
37763638 * preserving their original names and positions within the [DataFrame].
@@ -3882,26 +3744,6 @@ public fun <T> Convert<T, String?>.toJavaLocalDateTime(pattern: String, locale:
38823744
38833745// endregion
38843746
3885- /* *
3886- * Converts values in the columns previously selected with [convert] to the [Int],
3887- * preserving their original names and positions within the [DataFrame].
3888- *
3889- * For more information: {@include [DocumentationUrls.Convert]}
3890- *
3891- * ### Examples:
3892- * ```kotlin
3893- * df.convert { age and year }.toInt()
3894- * df.convert { colsOf<Double>() }.toInt()
3895- * ```
3896- *
3897- * @return A new [DataFrame] with the values converted to [Int].
3898- */
3899- @JvmName(" toIntTAny" )
3900- @Refine
3901- @Converter(Int ::class , nullable = false )
3902- @Interpretable(" ToSpecificType" )
3903- public fun <T > Convert <T , Any >.toInt (): DataFrame <T > = to<Int >()
3904-
39053747/* *
39063748 * Converts values in the columns previously selected with [convert] to the [Int],
39073749 * preserving their original names and positions within the [DataFrame].
@@ -3922,26 +3764,6 @@ public fun <T> Convert<T, Any>.toInt(): DataFrame<T> = to<Int>()
39223764@Interpretable(" ToSpecificType" )
39233765public fun <T > Convert <T , Any ?>.toInt (): DataFrame <T > = to<Int ?>()
39243766
3925- /* *
3926- * Converts values in the columns previously selected with [convert] to the [Long],
3927- * preserving their original names and positions within the [DataFrame].
3928- *
3929- * For more information: {@include [DocumentationUrls.Convert]}
3930- *
3931- * ### Examples:
3932- * ```kotlin
3933- * df.convert { age and year }.toLong()
3934- * df.convert { colsOf<Double>() }.toLong()
3935- * ```
3936- *
3937- * @return A new [DataFrame] with the values converted to [Long].
3938- */
3939- @JvmName(" toLongTAny" )
3940- @Refine
3941- @Converter(Long ::class , nullable = false )
3942- @Interpretable(" ToSpecificType" )
3943- public fun <T > Convert <T , Any >.toLong (): DataFrame <T > = to<Long >()
3944-
39453767/* *
39463768 * Converts values in the columns previously selected with [convert] to the [Long],
39473769 * preserving their original names and positions within the [DataFrame].
@@ -3962,26 +3784,6 @@ public fun <T> Convert<T, Any>.toLong(): DataFrame<T> = to<Long>()
39623784@Interpretable(" ToSpecificType" )
39633785public fun <T > Convert <T , Any ?>.toLong (): DataFrame <T > = to<Long ?>()
39643786
3965- /* *
3966- * Converts values in the columns previously selected with [convert] to the [String],
3967- * preserving their original names and positions within the [DataFrame].
3968- *
3969- * For more information: {@include [DocumentationUrls.Convert]}
3970- *
3971- * ### Examples:
3972- * ```kotlin
3973- * df.convert { age and year }.toStr()
3974- * df.convert { colsOf<Double>() }.toStr()
3975- * ```
3976- *
3977- * @return A new [DataFrame] with the values converted to [String].
3978- */
3979- @JvmName(" toStrTAny" )
3980- @Refine
3981- @Converter(String ::class , nullable = false )
3982- @Interpretable(" ToSpecificType" )
3983- public fun <T > Convert <T , Any >.toStr (): DataFrame <T > = to<String >()
3984-
39853787/* *
39863788 * Converts values in the columns previously selected with [convert] to the [String],
39873789 * preserving their original names and positions within the [DataFrame].
@@ -4002,26 +3804,6 @@ public fun <T> Convert<T, Any>.toStr(): DataFrame<T> = to<String>()
40023804@Interpretable(" ToSpecificType" )
40033805public fun <T > Convert <T , Any ?>.toStr (): DataFrame <T > = to<String ?>()
40043806
4005- /* *
4006- * Converts values in the columns previously selected with [convert] to the [Double],
4007- * preserving their original names and positions within the [DataFrame].
4008- *
4009- * For more information: {@include [DocumentationUrls.Convert]}
4010- *
4011- * ### Examples:
4012- * ```kotlin
4013- * df.convert { age and year }.toDouble()
4014- * df.convert { colsOf<Int>() }.toDouble()
4015- * ```
4016- *
4017- * @return A new [DataFrame] with the values converted to [Double].
4018- */
4019- @JvmName(" toDoubleTAny" )
4020- @Refine
4021- @Converter(Double ::class , nullable = false )
4022- @Interpretable(" ToSpecificType" )
4023- public fun <T > Convert <T , Any >.toDouble (): DataFrame <T > = to<Double >()
4024-
40253807/* *
40263808 * Converts values in the columns previously selected with [convert] to the [Double],
40273809 * preserving their original names and positions within the [DataFrame].
@@ -4042,26 +3824,6 @@ public fun <T> Convert<T, Any>.toDouble(): DataFrame<T> = to<Double>()
40423824@Interpretable(" ToSpecificType" )
40433825public fun <T > Convert <T , Any ?>.toDouble (): DataFrame <T > = to<Double ?>()
40443826
4045- /* *
4046- * Converts values in the columns previously selected with [convert] to the [Float],
4047- * preserving their original names and positions within the [DataFrame].
4048- *
4049- * For more information: {@include [DocumentationUrls.Convert]}
4050- *
4051- * ### Examples:
4052- * ```kotlin
4053- * df.convert { age and year }.toFloat()
4054- * df.convert { colsOf<Double>() }.toFloat()
4055- * ```
4056- *
4057- * @return A new [DataFrame] with the values converted to [Float].
4058- */
4059- @JvmName(" toFloatTAny" )
4060- @Refine
4061- @Converter(Float ::class , nullable = false )
4062- @Interpretable(" ToSpecificType" )
4063- public fun <T > Convert <T , Any >.toFloat (): DataFrame <T > = to<Float >()
4064-
40653827/* *
40663828 * Converts values in the columns previously selected with [convert] to the [Float],
40673829 * preserving their original names and positions within the [DataFrame].
@@ -4082,26 +3844,6 @@ public fun <T> Convert<T, Any>.toFloat(): DataFrame<T> = to<Float>()
40823844@Interpretable(" ToSpecificType" )
40833845public fun <T > Convert <T , Any ?>.toFloat (): DataFrame <T > = to<Float ?>()
40843846
4085- /* *
4086- * Converts values in the columns previously selected with [convert] to the [BigDecimal],
4087- * preserving their original names and positions within the [DataFrame].
4088- *
4089- * For more information: {@include [DocumentationUrls.Convert]}
4090- *
4091- * ### Examples:
4092- * ```kotlin
4093- * df.convert { age and year }.toBigDecimal()
4094- * df.convert { colsOf<Double>() }.toBigDecimal()
4095- * ```
4096- *
4097- * @return A new [DataFrame] with the values converted to [BigDecimal].
4098- */
4099- @JvmName(" toBigDecimalTAny" )
4100- @Refine
4101- @Converter(BigDecimal ::class , nullable = false )
4102- @Interpretable(" ToSpecificType" )
4103- public fun <T > Convert <T , Any >.toBigDecimal (): DataFrame <T > = to<BigDecimal >()
4104-
41053847/* *
41063848 * Converts values in the columns previously selected with [convert] to the [BigDecimal],
41073849 * preserving their original names and positions within the [DataFrame].
@@ -4122,26 +3864,6 @@ public fun <T> Convert<T, Any>.toBigDecimal(): DataFrame<T> = to<BigDecimal>()
41223864@Interpretable(" ToSpecificType" )
41233865public fun <T > Convert <T , Any ?>.toBigDecimal (): DataFrame <T > = to<BigDecimal ?>()
41243866
4125- /* *
4126- * Converts values in the columns previously selected with [convert] to the [BigInteger],
4127- * preserving their original names and positions within the [DataFrame].
4128- *
4129- * For more information: {@include [DocumentationUrls.Convert]}
4130- *
4131- * ### Examples:
4132- * ```kotlin
4133- * df.convert { age and year }.toBigInteger()
4134- * df.convert { colsOf<Double>() }.toBigInteger()
4135- * ```
4136- *
4137- * @return A new [DataFrame] with the values converted to [BigInteger].
4138- */
4139- @JvmName(" toBigIntegerTAny" )
4140- @Refine
4141- @Converter(BigInteger ::class , nullable = false )
4142- @Interpretable(" ToSpecificType" )
4143- public fun <T > Convert <T , Any >.toBigInteger (): DataFrame <T > = to<BigInteger >()
4144-
41453867/* *
41463868 * Converts values in the columns previously selected with [convert] to the [BigInteger],
41473869 * preserving their original names and positions within the [DataFrame].
@@ -4162,26 +3884,6 @@ public fun <T> Convert<T, Any>.toBigInteger(): DataFrame<T> = to<BigInteger>()
41623884@Interpretable(" ToSpecificType" )
41633885public fun <T > Convert <T , Any ?>.toBigInteger (): DataFrame <T > = to<BigInteger ?>()
41643886
4165- /* *
4166- * Converts values in the columns previously selected with [convert] to the [Boolean],
4167- * preserving their original names and positions within the [DataFrame].
4168- *
4169- * For more information: {@include [DocumentationUrls.Convert]}
4170- *
4171- * ### Examples:
4172- * ```kotlin
4173- * df.convert { isMarked and isFinished }.toBoolean()
4174- * df.convert { colsOf<String> { it.name.startsWith("it") } }.toBoolean()
4175- * ```
4176- *
4177- * @return A new [DataFrame] with the values converted to [Boolean].
4178- */
4179- @JvmName(" toBooleanTAny" )
4180- @Refine
4181- @Converter(Boolean ::class , nullable = false )
4182- @Interpretable(" ToSpecificType" )
4183- public fun <T > Convert <T , Any >.toBoolean (): DataFrame <T > = to<Boolean >()
4184-
41853887/* *
41863888 * Converts values in the columns previously selected with [convert] to the [Boolean],
41873889 * preserving their original names and positions within the [DataFrame].
0 commit comments