Created
December 2, 2019 13:18
-
-
Save risenW/da59ed8328eb628320606abfa1016a56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all_data, ntrain, ntest = ds.structdata.join_train_and_test(train_df, test_df) | |
print("New size of combined data {}".format(all_data.shape)) | |
print("Old size of train data: {}".format(ntrain)) | |
print("Old size of test data: {}".format(ntest)) | |
#later splitting after transformations | |
train = all_data[:ntrain] | |
test = all_data[ntrain:] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment