I want to get a multi index data frame from the following dictionaries :
d = {'a' : [1,2,3], 'b' : [4,5], 'c': [7,8]}
Tried pd.DataFrame.from_dict(d, orient='index') with no luck
The keys should be the index first level and the value the second level of the multi index, the desired output would be :
a 1
2
3
b 4
5
c 7
8