I tried to create a df from the following entries:
get_commission = {'info': {'symbol': 'ETHBTC', 'makerCommission': '0.001', 'takerCommission': '0.001'}, 'symbol': 'ETH/BTC:BTC', 'maker': 0.001, 'taker': 0.001}
commission = pd.DataFrame(get_commission)
and the output is:
info symbol marker taker
makerCommission 0.001 ETH/BTC:BTC NaN 0.001
symbol ETHBTC ETH/BTC:BTC NaN 0.001
takerCommission 0.001 ETH/BTC:BTC NaN 0.001
How can I get the df like:
symbol marker taker
ETH/BTC:BT 0.001 0.001
Thank you