I was trying to convert a dictionary of {'a': [1, 2, 3], 'b': [4, 5]} into:
0 | 1 |
|:-----------|------------:|
| a | 1 |
| a | 2 |
| a | 3 |
| b | 4 |
| b | 5 |
But haven't found any way to achieve that without modifying the dictionary itself. Is there an easier way to do that? Any help will be really appreciated! Thank you!