ApJdataFrames
Fang2016Title
: Stellar activity with LAMOST – I. Spot configuration in Pleiades
Authors
: Xiang-Song Fang Gang Zhao Jing-Kun Zhao Yu-Qin Chen Yerra Bharat Kumar
Data is from this paper:
http://adsabs.harvard.edu/abs/2016MNRAS.463.2494F
In [1]:
%matplotlib inline
import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
pd.options.display.max_columns = 150
In [2]:
%config InlineBackend.figure_format = 'retina'
In [3]:
import astropy
In [4]:
from astropy.table import Table
In [5]:
from astropy.io import ascii
This table is not available on the MNRAS website! It is only available by email request to the author.
The table is a "fixed width file", so it should be read in with pd.read_fwf()
.
In [6]:
! head -n 2 '../data/Fang2016/Table_1+4_online.dat'
In [7]:
tab1 = pd.read_fwf('../data/Fang2016/Table_1+4_online.dat', na_values=['-99.00000000', '-9999.0'])
In [9]:
tab1.head()
Out[9]:
In [11]:
df = tab1.rename(columns={'# Object_name':'Object_name'})
In [13]:
df.head()
Out[13]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]: