Apr-11-2020, 04:36 PM
No, there's no obvious mapping function that does mapping within nested structures natively. I'd probably write it as separate loops to improve readability if the performance weren't critical.
Transforming nested key-tuples into their dictionary values
|
|
Messages In This Thread |
Transforming nested key-tuples into their dictionary values - by ClassicalSoul - Apr-11-2020, 01:15 AM
RE: Transforming nested key-tuples into their dictionary values - by buran - Apr-11-2020, 05:21 AM
RE: Transforming nested key-tuples into their dictionary values - by bowlofred - Apr-11-2020, 06:01 AM
RE: Transforming nested key-tuples into their dictionary values - by ClassicalSoul - Apr-11-2020, 12:06 PM
RE: Transforming nested key-tuples into their dictionary values - by bowlofred - Apr-11-2020, 04:36 PM
|