Quantcast
Channel: Data Science, Analytics and Big Data discussions - Topics tagged data_science
Viewing all articles
Browse latest Browse all 787

Onlyy columns are visible after spliiting the combined data set back into train and test!

$
0
0

@sahil1995chaturvedi wrote:

Hello all!!!
Used the following code to split data{combined dataset} into train and test again. But after doing so no row values are as such visible , rather only columns are visible.
Please help me out!!!
#Divide into test and train:
train = data.loc[data[‘source’]==“train”]
test = data.loc[data[‘source’]==“test”]

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 787

Trending Articles