Skip to main content

astype

Alias for cast().

Syntax

Python
astype(dataType)

Parameters

Parameter

Type

Description

dataType

DataType or str

Target data type

Returns

Column