1 Antwort
0
It is a way to transform data to relativt numbers, that you can use for example to index an array: X -> f(X) -> n.
Compare with the keys in a Python dictionary, where n should be uniqe. It makes it more easy (faster) to find the values, that is good when you have a lot of data to deal with.