DEV Community

Eisha Tir Raazia
Eisha Tir Raazia

Posted on

How to recognize one-hot encoded columns in data frame

In pandas data frame there are multiple binary features columns with binary values, and the challenge is to identify which column has one-hot labels/values(which column can be a part of the one-hot encoded vector) and which column is an independent feature and not a part of one-hot encoded labels/vector.

The…

Top comments (0)