I\'ve data stored in pandas dataframe and I want to create a nested dictionary using that data. The data looks like as follows:
+---------+------+----------+-