Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    Can I save this view to a file Commented Dec 11, 2009 at 17:42
  • @shodanex: Yes, you could use np.save(). See docs.scipy.org/doc/numpy-1.3.x/reference/generated/… Commented Dec 11, 2009 at 18:08
  • @shodanex: For other format options, see also docs.scipy.org/doc/numpy-1.3.x/reference/routines.io.html Commented Dec 11, 2009 at 18:09
  • 7
    it is then implicitly architecture-dependent, since which slice to use depends on endianness. Commented Dec 13, 2009 at 10:59
  • @kaizer.se: Yes, that's true. Do you know a nice way to make the code non-architecture-dependent? Commented Dec 13, 2009 at 12:55