Re: [Tutor] TypeError: can't multiply sequence by non-int of type 'float'

2013-04-05 Thread Sayan Chatterjee
Thanks all...I realized my mistake!!...:) On 4 April 2013 20:12, Andreas Perstinger andiper...@gmail.com wrote: Sayan Chatterjee sayanchatter...@gmail.com wrote: I know this error occurs when one tries to multiply a string with a fraction i.e float. In my case , I can't figure out how can a

[Tutor] TypeError: can't multiply sequence by non-int of type 'float'

2013-04-04 Thread Sayan Chatterjee
Dear All, I know this error occurs when one tries to multiply a string with a fraction i.e float. In my case , I can't figure out how can a numpy floating point array be a string. Interestingly, the concerned expression gets printed in the loop for the first time but on the second go it fails.

Re: [Tutor] TypeError: can't multiply sequence by non-int of type 'float'

2013-04-04 Thread Sayan Chatterjee
I attach the script herewith. On 4 April 2013 19:10, Sayan Chatterjee sayanchatter...@gmail.com wrote: Dear All, I know this error occurs when one tries to multiply a string with a fraction i.e float. In my case , I can't figure out how can a numpy floating point array be a string.

Re: [Tutor] TypeError: can't multiply sequence by non-int of type 'float'

2013-04-04 Thread Oscar Benjamin
On 4 April 2013 14:40, Sayan Chatterjee sayanchatter...@gmail.com wrote: Dear All, I know this error occurs when one tries to multiply a string with a fraction i.e float. In my case , I can't figure out how can a numpy floating point array be a string. Interestingly, the concerned expression

Re: [Tutor] TypeError: can't multiply sequence by non-int of type 'float'

2013-04-04 Thread Andreas Perstinger
Sayan Chatterjee sayanchatter...@gmail.com wrote: I know this error occurs when one tries to multiply a string with a fraction i.e float. In my case , I can't figure out how can a numpy floating point array be a string. The problem is not that the numpy array is a string but that you append the