Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.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.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'literal': 0.09; 'jan': 0.12; 'defined.': 0.16; 'nan': 0.16; 'subject:where': 0.16; 'wrote:': 0.18; 'module': 0.19; 'thu,': 0.19; 'examples': 0.20; 'import': 0.22; 'defined': 0.27; '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; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; '2015': 0.84; 'do:': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=CF3vGcZ6UipcnJUAB1o1C8f8Dg0vGzxmUiArjmtCtXw=; b=oIylJtyuFSHT56mgkI0AtugcBarqzr6NwwHp8twJkLkqjyeOC1xBSce84i7R1xyoJt GGKm1hqga5k4CcjimXDJUJhDfVBi8U7WV2H1Fy1bSyNrX46FYjc5hacviwUVq1ahZg/x wSsZX7FQrNu1SjURL3dbbXXgsXTdp48eEyMeqhVD656d2XyU2iMpQTm4TMoTjBRsnkoE 8hyZsICE9NHaHMdaTY94UWd6BO4IbVM3HgOg9OBDRPcbXpvufTGXYl4a4RVgmwNzQEoW MGTpIYNrwQf5vRv+T4cT0d1woKdOQL7lwiTGnUhAs6XA8feS7Ab3ZVKQoKtGKWVtAChk uwLw== X-Received: by 10.68.237.2 with SMTP id uy2mr15434988pbc.72.1420727092684; Thu, 08 Jan 2015 06:24:52 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Thu, 8 Jan 2015 07:24:12 -0700 Subject: Re: where in Nan defined To: Python 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1420727095 news.xs4all.nl 2853 [2001:888:2000:d::a6]:44188 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:83335 On Thu, Jan 8, 2015 at 7: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 not defined anywhere. To get nan as a literal just do: nan = float("nan")