Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'defined.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'nan': 0.16; 'subject:where': 0.16; 'wrote:': 0.18; 'module': 0.19; 'examples': 0.20; 'import': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'anyone': 0.31; 'running': 0.33; 'fri,': 0.33; 'received:google.com': 0.35; 'does': 0.39; 'simply': 0.61; '2015': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=HnhHqS1DrJEIfgfNBWnd32A2rgYn6R6x5ko10FieFNc=; b=Xqrf7lIYb3L4F5dY7Mw2/5NXUPzM9PeBbBkShPNSE3WMra4kp7uXAlSNVrKUFyqP7a TYPq31+47dM6LcwPlkrSgoxz9Ep+BZJm2QrOD3jEP65OGCVtIc/+B+mvPfEEqYvKLbZ0 m74VO6x9zj8ShJj7VEGV3JSGEe30aC3+lruC+pPssGkuc6uPTm7t+i+1UD5Xfly+uNxb 1hXrSN0lQaYfWOk/WvGwsxY1oC3W08dNe4bYBF+fSSYKDv1d2KTyCwAmK+5NSQgeysVZ 36fLO/8R5bu/9HjwZPJ4vzP+M//+d81iYErpjVNxrSgtVFiYc6H8IGLagnbsoNklNvdI e9ww== MIME-Version: 1.0 X-Received: by 10.42.52.200 with SMTP id k8mr8383820icg.26.1420727296286; Thu, 08 Jan 2015 06:28:16 -0800 (PST) In-Reply-To: References: Date: Fri, 9 Jan 2015 01:28:16 +1100 Subject: Re: where in Nan defined From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1420727304 news.xs4all.nl 2940 [2001:888:2000:d::a6]:49727 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:83336 On Fri, Jan 9, 2015 at 1:15 AM, maurog 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