I have the following jason:
{'ADA': {'free': '0.00000000', 'locked': '1.32580000'},
'ADX': {'free': '15.0000000', 'locked': '0.00000000'},
'AE': {'free': '0.23000000', 'locked': '1.253000000'},
'ZRX': {'free': '0.00000000', 'locked': '0.00000000'}}
I am trying to convert the above Jason to pandas but only the lines which has amount <> 0 in "free" or in "locked" + with no "0" when not needed so ZRX regarding the above example will not be shown and 1.2530000 will be only 1.253
My desired pandas will be:
free locked
ADA 0 1.3258
ADX 15 0
AE 0.23 1.253
Thanks for helping!