Skip to content

Instantly share code, notes, and snippets.

@adrn
Created March 5, 2013 01:55
Show Gist options
  • Save adrn/5087388 to your computer and use it in GitHub Desktop.
Save adrn/5087388 to your computer and use it in GitHub Desktop.
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=",")
@kelle
Copy link

kelle commented Mar 5, 2013

please add the reading it in bit too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment