toImg

fun <T> Convert<T, URL?>.toImg(width: Int? = null, height: Int? = null): DataFrame<T>

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

For more information: See convert on the documentation website.

Examples:

df.convert { avatarUrl }.toImg()

Return

A new DataFrame with the values converted to an IMG.

Parameters

width

Optional width of the image in pixels.

height

Optional height of the image in pixels.