Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7731

Re: data type and logarithm

From Nobody <nobody@nowhere.com>
Subject Re: data type and logarithm
Date 2011-06-16 10:16 +0100
Message-Id <pan.2011.06.16.09.16.11.16000@nowhere.com>
Newsgroups comp.lang.python
References <b583dac8-826e-4bd5-b230-00e667855896@m24g2000yqc.googlegroups.com>
Organization Zen Internet

Show all headers | View raw


On Thu, 16 Jun 2011 01:37:08 -0700, simona bellavista wrote:

> print rho.dtype
> print entropy.dtype
> 
> I get  |S22 , what's that?

A string. You probably want to convert "columns" to floats before
appending its elements to the array.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

data type and logarithm simona bellavista <afylot@gmail.com> - 2011-06-16 01:37 -0700
  Re: data type and logarithm Nobody <nobody@nowhere.com> - 2011-06-16 10:16 +0100
    Re: data type and logarithm "afylot@gmail.com" <antonella.garzilli@gmail.com> - 2011-06-16 02:27 -0700
  Re: data type and logarithm Peter Otten <__peter__@web.de> - 2011-06-16 13:55 +0200
  Re: data type and logarithm Terry Reedy <tjreedy@udel.edu> - 2011-06-16 13:20 -0400
  Re: data type and logarithm Robert Kern <robert.kern@gmail.com> - 2011-06-16 16:21 -0500

csiph-web