Using the pandas json_normalise function I'm given this - raise NotImplementedError. Using DataFrame.from_dict(swaps, orient='columns') I'm given - ValueError: DataFrame constructor not properly called!
from subprocess import run
import pandas as pd
#using curl and subprocesses
swaps = run('curl --location --request POST https://www.rmb.co.za/rates-service/rates/historical \
--form productType="Swaps" \
--form top="13"', shell=True)
Is there something I'm missing?