text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

raw_data = pd.read_csv('../input/cumulative.csv')

koi_pond = ['koi_pdisposition', 'koi_tce_plnt_num', 'koi_tce_delivname', 'kepler_name']
cols = raw_data.columns
for c in cols:
    if 'err' in c:
        koi_pond.append(c)
data = raw_data.drop(koi_pond, axis=1)

data = data.dropna()

data.rename(columns={'kepid': 'kepler_id', 'kepoi_name': 'koi_name', 'koi_disposition': 'plnt_disposition', 'koi_score': 'plnt_disp_confidence', 'koi_fpflag_nt': 'flag_nTransitLk', 'koi_fpflag_ss': 'flag_scndEvent', 'koi_fpflag_co': 'flag_centroidOffset', 'koi_fpflag_ec': 'flag_ephMatch', 'koi_period': 'orbital_period', 'koi_time0bk': 'transit_epoch', 'koi_impact': 'impact_parameter', 'koi_duration': 'transit_duration', 'koi_depth': 'transit_depth', 'koi_prad': 'planetary_radius', 'koi_teq': 'equ_temp', 'koi_insol': 'insolation_flux', 'koi_model_snr': 'transit_sigToNoise', 'koi_steff': 'stellar_eff_temp', 'koi_slogg': 'stellar_surf_gravity', 'koi_srad': 'stellar_radius', 'ra': 'right_acension', 'dec': 'declination', 'koi_kepmag': 'kepler_magnitude'}, inplace=True)
data.tail()