Skip to content

Merging arrays based on common fields (i.e. "joining" tables) #633

Answered by jpivarski
nongiga asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! If I'm reading your question right, this is an important database/data analysis operation known as "joining." Awkward Array doesn't have a built-in operation for joining because the scope of the project is to be "NumPy with data structures," not "Pandas with data structures." Obviously, the latter would also be useful, but one step at a time. (We're thinking about ways of doing this; see, for example, #350 (comment) and search for discussions about Awkward Xarray.)

By "NumPy" vs "Pandas," I'm referring to a level of abstraction. Pandas has this join operation (which they call "merging") as a primary high-level feature. With NumPy, you can do it, but it takes more steps. Likewise, you …

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
7 replies
@nongiga
Comment options

@nongiga
Comment options

@jpivarski
Comment options

@nongiga
Comment options

@jpivarski
Comment options

Answer selected by nongiga
Comment options

You must be logged in to vote
1 reply
@nongiga
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
2 participants