It depends on the approach you take for label encoding. If you want to use .cat.codes then you need to convert it into category datatype.
確定! 回上一頁