Skip to content

Alternative for selecting value in run_block calculation #2

Description

@apriljunge

Instead of

egress_block_A = filter(row -> any(occursin.(["1:main signal"], row.label)), run_block)[1,:s]

you cloud write

egress_block_A = run_block[run_block.label .== "1:main signal", :s][1]

For me the second option is more readable. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions