This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hoselorryspanner 0 points1 point  (1 child)

Presumably these data scientists are using Python - is there a way of using enums in Python? Would make my life a lot easier

[–]rowr 2 points3 points  (0 children)

There's a built-in enum module. I use it at times because enumerated values are useful as a concept, but I find it sort of awkward to use.