Message from Python discussions

December 2018

— Any one have maid a major project for final year, I paid


Guys If I have to read a file liine by lane, should I use threads there? or all the threads would be taking the same line?

— Oh, the famous 0.1+0.1+0.1 != 0.3 is it?)

— Wat

— That is a tiring job, since one always has to round to some decimal places.

— Yes. Tweet Instagram to share the password with you

— Has anyone tried to use memoization in Python?

— I tried with Ackermann, and it's giving pretty funky result

— Https://

— Take a peek, guys

— Guys a problem in writing an array and a list to a txt file using numpy.savetxt


'tt' is a list and
'yf_abso' is a numpy.ndarray

when we put each of them alone, as argument for numpy.savetxt, it is working and the contents are written to the txt file... but when I put them together I'm getting an error as follows

TypeError :Mismatch between array dtype ('|S32') and format specifier ('%.18e %. 18e')

how can we fix this? I just need to write the contents of the list and the array to txt file, with the first column as tt and second column as fft_abso.

please suggest.

Message permanent page

— No