data type and logarithm
afylot@gmail.com
antonella.garzilli at gmail.com
Thu Jun 16 05:27:26 EDT 2011
More information about the Python-list mailing list
Thu Jun 16 05:27:26 EDT 2011
- Previous message (by thread): data type and logarithm
- Next message (by thread): data type and logarithm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I tried to cast it to float by rho = float(np.append(rho,columns[0])) but I get TypeError: don't know how to convert scalar number to float By the way, if I avoid to perform the logarithm and do a plot like pylab.plot(rho, entropy) it works! Any idea? On Jun 16, 11:16 am, Nobody <nob... at nowhere.com> wrote: > A string. You probably want to convert "columns" to floats before > appending its elements to the array.
- Previous message (by thread): data type and logarithm
- Next message (by thread): data type and logarithm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list