def pandasdfsummarytojson(df, ndigits=3):
    df = df.transpose()
    return {k: _pandassummarytojson(v, ndigits) for k, v in df.iterrows()}
Convert the result of a
dataset/ETHPy150Open UDST/urbansim/urbansim/utils/misc.py/pandasdfsummarytojson