Math, Machine Learning and Programming

Space for writing on the topics given in the title. Used for remembering things. Updated every now and then, given enough time.

Tuesday, December 4, 2012

numpy 2D array to tex table

As I got annoyed by copying tables from python output to tex, I wrote a small script that converts a numpy 2D array to tex. If you specify a filename, the string is written to a file, otherwise it's just returned.
It can be found in my repository:
https://github.com/hanslovsky/scripts/blob/master/numpy2tex.py

I will add more scripts that I think are useful.
Posted by Unknown at 11:25 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2015 (1)
    • ►  January (1)
  • ►  2014 (12)
    • ►  August (2)
    • ►  July (3)
    • ►  June (2)
    • ►  May (2)
    • ►  April (2)
    • ►  February (1)
  • ►  2013 (30)
    • ►  December (3)
    • ►  November (5)
    • ►  October (1)
    • ►  September (2)
    • ►  July (4)
    • ►  June (7)
    • ►  May (2)
    • ►  February (4)
    • ►  January (2)
  • ▼  2012 (12)
    • ▼  December (1)
      • numpy 2D array to tex table
    • ►  November (5)
    • ►  October (1)
    • ►  August (1)
    • ►  July (4)

About Me

Unknown
View my complete profile
Awesome Inc. theme. Powered by Blogger.