You can use a method called one hot encoding.
https://hackernoon.com/what-is-one-hot-encoding-why-and-when-do-you-have-to-use-it-e3c6186d008f
Post #2223
2.46K
AI AI, Python, Cognitive Neuroscience @ai_python_en · 3.45K subscribers