Found input variables with inconsistent numbers of" --> 212 " samples: %r" % [int(l) for l in lengths]) code example
Example: Found input variables with inconsistent numbers of samples
You are running into that error because your X and Y don't have the same length
verify with:
X.shape
Y.shape