text_html_output_1.png
import pandas as pd

data = pd.read_csv('/kaggle/input/dataset-for-practicing-classification/exercises-logistic-regression-exercise-1/nba_logreg.csv')

data.describe().T

data.columns.to_list()

cols_pred = []
col_target = 'TARGET_5Yrs'
for col in data.columns.to_list():
    if col not in ['Name', 'TARGET_5Yrs']:
        cols_pred.append(col)
print(cols_pred)