Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the What you really need to know section for the big picture.

julearn.base.ensure_column_types

julearn.base.ensure_column_types(attr)

Ensure that the attribute is a ColumnTypes.

Parameters:

attr (list[str] | set[str] | str | ColumnTypes) – The attribute to check.

Returns:

The attribute as a ColumnTypes.