DSN AI Bootcamp Qualification Hackathon by Data Science Nigeria
Predict customers who will default on a loan
888 data scientists enrolled, 521 on the leaderboard
Financial ServicesPredictionStructured
9 September—3 October
Ends in 8 days
published 15 Sep 2020, 09:24

please after performing this concatenation i encountered Null values in my target column. how do I handle this?

Bear with me, but I don't think you are meant to concatenate the datasets.

You can work with the train and test dataset separately but I want to perform Feature Eng on the dataset together, reasons why I concatenated.

Try using df = pd.concat([train, test]).reset_index(drop = True)

Yeah use this:



data = pd.concat([train, test],ignore_index=True) print (train.shape, test.shape, data.shape)