On Fri, Jan 9, 2015 at 1:15 AM, maurog <qualsivog...@dovetipare.nz> wrote: > I'm running some pandas examples and I canno find in what module NaN is > defined. Does anyone know what module I have to import in order to have > it defined?
It's simply float("nan"). If you want a name, you can give it one: NaN = float("nan") # or nan = float("nan") ChrisA -- https://mail.python.org/mailman/listinfo/python-list