text_plain_output_1.png image_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)
print('Dropped:\n\n', koi_pond)
print(f'\nYour dataset had {raw_data.shape[1]} columns.\nIt now has {data.shape[1]} columns.')