target_names

property DataFrame.target_names

List of the names of all target columns.

Returns:
List[str]:

List of the names of all columns used as target.