Splitting data in practice lab of decision tree algorithm

hello, guys , I did not know about sharing code is not allowed in this group, that is why I have changed my post

Please don’t post your code on the forum. That’s not allowed by the Code of Conduct.
I have edited your message to remove the code.

Please review the instructions:

You should loop over node_indices, not enumerate(X).

sorry, ok if you can delete , you can , no problem ,
I also try