Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83335
| 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 | <ian.g.kelly@gmail.com> |
| 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 | <m8m3et$1gu$2@speranza.aioe.org> |
| References | <m8m3et$1gu$2@speranza.aioe.org> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Thu, 8 Jan 2015 07:24:12 -0700 |
| Subject | Re: where in Nan defined |
| To | Python <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 <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17472.1420727095.18130.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
On Thu, Jan 8, 2015 at 7:15 AM, maurog <qualsivoglia@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 not defined anywhere. To get nan as a literal just do:
nan = float("nan")
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
where in Nan defined maurog <qualsivoglia@dovetipare.nz> - 2015-01-08 14:15 +0000
Re: where in Nan defined Ian Kelly <ian.g.kelly@gmail.com> - 2015-01-08 07:24 -0700
Re: where in Nan defined Marko Rauhamaa <marko@pacujo.net> - 2015-01-08 16:37 +0200
Re: where in Nan defined Chris Angelico <rosuav@gmail.com> - 2015-01-09 01:45 +1100
Re: where in Nan defined Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2015-01-08 16:55 +0200
Re: where in Nan defined Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2015-01-08 16:50 +0200
Re: where in Nan defined Chris Angelico <rosuav@gmail.com> - 2015-01-09 01:58 +1100
Re: where in Nan defined Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-09 12:46 +1100
Re: where in Nan defined Chris Angelico <rosuav@gmail.com> - 2015-01-09 13:07 +1100
Re: where in Nan defined Ian Kelly <ian.g.kelly@gmail.com> - 2015-01-08 19:12 -0700
Re: where in Nan defined Chris Angelico <rosuav@gmail.com> - 2015-01-09 13:25 +1100
Re: where in Nan defined Chris Angelico <rosuav@gmail.com> - 2015-01-09 01:28 +1100
csiph-web