Improve Python code for data science with simple, readable, and performant enumerations
Python enumerations offer useful data types. Photo by Waldemar on Unsplash
Enumeration types are used in various programming languages, such as C, C#, C++, Java, Go, Rust — and, of course, Python. For some reasons I’m unaware of, Python enumerations are undervalued and…