We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb28842 commit 8bca395Copy full SHA for 8bca395
PyExpUtils/results/pandas.py
@@ -252,6 +252,11 @@ def _flattenKeys(d: Dict[str, Any]):
252
for sk, sv in _flattenKeys(v).items():
253
out[f'{k}.{sk}'] = sv
254
255
+ # if we have a list of lists, add top-level list as key
256
+ elif isinstance(v, list) and isinstance(v[0], list):
257
+ for i, sv in enumerate(v):
258
+ out[f'{k}.[{i}]'] = sv
259
+
260
# if we have a list of objects, keep digging
261
elif isinstance(v, list) and isinstance(v[0], dict):
262
for i, sv in enumerate(v):
0 commit comments