from sklearn.model_selection import train_test_split
Data1 = pd.read_csv(r"C:\Users\Zihao\Desktop\New\OBSTET.csv", index_col = 0)
Data1.fillna(0, inplace = True)
Dependent = Data1.ix[:,0]
X_train, y_train, x_test, y_test = train_test_split()
This is my data. I know that the first column is the dependent variable, and the rest of the columns are independent variables.
How do I split this? I am not sure which argument I should pass.