Skip to content

Instantly share code, notes, and snippets.

@arunm8489
Created August 1, 2020 13:52
Show Gist options
  • Save arunm8489/28d19160fcd65f0bb564e5fd65585f37 to your computer and use it in GitHub Desktop.
Save arunm8489/28d19160fcd65f0bb564e5fd65585f37 to your computer and use it in GitHub Desktop.
dff = pd.read_csv('final_df.csv')
y = dff['project_is_approved']
X = dff.drop(columns=['project_is_approved'])
X_train,X_test,y_train,y_test = train_test_split(X,y,test_size=0.2,random_state=100, shuffle= True)
print(X_train.shape)
print(y_train.shape)
print(X_test.shape)
print(y_test.shape)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment