How to create a heirachical classification using hash table in python?

by Hemananth   Last Updated May 16, 2019 04:19 AM

I have tried to implement a classification just like amazon for another taxonomy. but i dont know how it is done.

my question is about how to create a hash table in python

Example :


            Root
       ______|_________________________
      |             |                  |
    Clothing      Electronics     Furniture
             _______|_______________________
            |                |             |
          Mobiles           TV            ....


Related Questions


Updated January 27, 2018 17:19 PM

Updated June 20, 2019 00:19 AM

Updated January 25, 2019 09:19 AM

Updated April 10, 2018 20:19 PM

Updated January 30, 2018 19:19 PM