1# show me the column names --> predictors
2cols = [x for in df.columns if not in ('resp_var', 'name')]; cols
3
4
5# extract the min and max values per each predictors
6print("{")
7for i, name in enumerate(cols):
8 print(f'"{name}":{{"min":{df[name].min()}, "max":{df[name].max()}}} {"," if i>(len(col)-1) else ""}')
9print("}")