Nan stands for 'not a number', and is used to describe something that can't be described with a number. For example, if you are asked to give a number to describe your favorite color, you wouldn't be able to pick one that is 'right', so you could say 'nan' - which would mean 'not a number'.