Converting Categorical Data to Ordered Types in Python | CodeSignal Learn