ApJdataFrames
Geers2011Title
: SUBSTELLAR OBJECTS IN NEARBY YOUNG CLUSTERS (SONYC). II. THE BROWN DWARF POPULATION OF ρ OPHIUCHI
Authors
: Geers et al.
Data is from this paper:
http://iopscience.iop.org/0004-637X/726/1/23/
In [1]:
import warnings
warnings.filterwarnings("ignore")
In [2]:
from astropy.io import ascii
In [3]:
import pandas as pd
In [4]:
names = ["No.","R.A. (J2000)","Decl. (J2000)","i (mag)","J (mag)","K_s (mag)","T_eff (K)","A_V","Notes"]
tbl2 = pd.read_csv("http://iopscience.iop.org/0004-637X/726/1/23/suppdata/apj373191t2_ascii.txt",
sep="\t", skiprows=[0,1,2,3], na_values="sat", names = names)
tbl2.dropna(how="all", inplace=True)
tbl2.head()
Out[4]:
In [5]:
! mkdir ../data/Geers2011
In [6]:
tbl2.to_csv("../data/Geers2011/tb2.csv", index=False, sep='\t')
The end