Skip to content

dropping items in list of dicts  #31

@FrederikBarkholt

Description

@FrederikBarkholt

We have a list of dicts where some of the dicts in the list of dicts have more than one value / item.
We want to drop the second value / item so every dict in the list of dicts only has one value / item.

Skærmbillede 2022-08-16 kl  13 24 00

We can access the individual values like this but can't seem to figure out how to drop the one in list[4][1] and repeat the process for every other occurrence of this

Skærmbillede 2022-08-16 kl  13 24 33

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions