numpy savetext in one line

Solutions on MaxInterview for numpy savetext in one line by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "numpy savetext in one line"
Anissa
09 Sep 2016
1np.savetxt("file.txt", array.flatten(), fmt="%.3d", newline = ", ")
similar questions
queries leading to this page
numpy savetext in one line