Update app.py
Browse files278 unmodified lines279280281282283284285278 unmodified linesfrom sklearn.model_selection import train_test_split# If no target column is specified, select the first object column or the last columnif target_column is None:raise ValueError("Target column not set.")X = df.drop(columns=[target_column_global])278 unmodified lines279280281282283284285278 unmodified linesfrom sklearn.model_selection import train_test_split# If no target column is specified, select the first object column or the last columnif target_column_global is None:raise ValueError("Target column not set.")X = df.drop(columns=[target_column_global])
app.py+1-1