Skip to content

Default to branch name when no dictionary present #120

@RogerJanusiak

Description

@RogerJanusiak

When building a query like this:

query = ds.Select(lambda e: {
    "track_eta": e.id_track_eta,
    "track_phi": e.id_track_phi,
})
data = query.value()

I think that it could be nice to make it so that it could be written like this:

query = ds.Select(lambda e: {
     e.id_track_eta,
    e.id_track_phi,
})
data = query.value()

and it would use id_track_eta/phi by default as the name of the dictionary objects in the awkward array.

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