Created
March 5, 2013 01:55
-
-
Save adrn/5087388 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from astropy.table import Table | |
from astropy.io import ascii | |
IDs = [1, 3, 6, 9, 100] | |
names = ["cat", "bat", "rat", "mat", "gnat"] | |
scores = [83, 51, 77, 81, 92] | |
t = Table([IDs, names, scores], names=["ID", "name", "score"]) | |
ascii.write(t, delimiter=",") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please add the reading it in bit too.