At the following link you can find a comparison between my implementation from scratch of ID3 algorithm (that i've already published on this forum) and sklearn implementation
Colab notebook: https://colab.research.google.com/drive/1yCPnPqtYphgQb4ZlXLipXHrmwm3vstvM?usp=sharing