convertTo

Edit pageLast modified: 20 May 2025

Converts columns in DataFrame to match a given schema Schema.

Customization DSL:

  • convert—how specific column types should be converted

  • parser—how to parse strings into custom types

  • fill—how to fill missing columns