Convert DataFrame into dict : <p><a href="https://i.stack.imgur.com/kErXL.png" rel="nofollow">I use pandas to read df.csv, so I have a Dataframe Like this, </a></p>

<p><a href="https://i.stack.imgur.com/DlogA.png" rel="nofollow">I want to convert it to dict like this</a></p>
