Skip to content

arrays dropping (or overwriting?) branches with similar names #1057

Discussion options

You must be logged in to vote

A more complete answer which is shorter and a little more refined is

t.arrays(expressions=t.keys(recursive=False))

for library='ak' (the default) or library='np', and

t.arrays(expressions=t.keys(filter_typename=lambda tn: '::' not in tn), library='pd')

for library='pd'.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@tomeichlersmith
Comment options

Answer selected by tomeichlersmith
@tomeichlersmith
Comment options

@jpivarski
Comment options

@tomeichlersmith
Comment options

@tomeichlersmith
Comment options

Comment options

You must be logged in to vote
1 reply
@jpivarski
Comment options

Comment options

You must be logged in to vote
1 reply
@jpivarski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants