What is the most elegant and efficient way to encoding strings to numeric values in pandas? [duplicate]

Eklenme Tarih 1 hour ago
Active 19
Görüntülenme 89
S

What is the most elegant and efficient way to encoding strings to numeric values in pandas? [duplicate]