toYearMonth

fun <T> Convert<T, DateTimeComponents?>.toYearMonth(): DataFrame<T>

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

For more information: See convert on the documentation website.

Return

A new DataFrame with the values converted to YearMonth.