I am trying to add columns of having mismatched length(number of rows) to a dataframe, it throws an error of,
DimensionMismatch("length of new column Target which is 60000 must match the number of rows in data frame (47040000)")
My code snippet is,
df = DataFrame(:Feature => train_x, :Target => train_y)
#train_x has 47040000 rows
#train_y has 60000 rows
Please suggest a solution for this problem. Thank you in advance.