Concatenate for axis != 0
See original GitHub issueThis was an oversight: it’s really needed but I closed the “concatenate” issue (#76) once the function existed, though there’s a NotImplementedError in it:
This operation is known to be useful from Awkward0; it was even an external contribution (https://github.com/scikit-hep/awkward-array/pull/80).
In Awkward1, it can probably be implemented as a broadcast in Python + specialized C++ method on ListArray, ListOffsetArray, and RegularArray (nothing else). That would allow all possible axis values.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
numpy.concatenate — NumPy v1.24 Manual
Join a sequence of arrays along an existing axis. The arrays must have the same shape, except in the dimension corresponding to axis...
Read more >What is the meaning of "axis" attribute in a Pandas DataFrame?
So back to the problem, concat is a shorthand for concatenate (means to link together in a series or chain on this way...
Read more >pandas.concat — pandas 1.5.2 documentation
When concatenating all Series along the index (axis=0), a Series is returned. When objs contains at least one DataFrame , a DataFrame is...
Read more >numpy.concatenate - Tutorialspoint
numpy.concatenate, Concatenation refers to joining. This function is used to join two or more arrays of the same shape along a specified axis....
Read more >numpy.concatenate() function | Python - GeeksforGeeks
numpy.concatenate() function concatenate a sequence of arrays along an existing axis. Syntax : numpy.concatenate((arr1, arr2, …), axis=0 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@ianna I was just thinking about this: what would you think about taking this on? It would use the negative axis you just finished. Do you see what it’s supposed to do?
(Personally, I don’t know what it ought to do if the desired axis is deeper than a record layer. Maybe we could exclude that case.)
This wasn’t linked to the new PR, #539, so it didn’t automatically close. But it’s done!