Jim Pivarski

Results 620 comments of Jim Pivarski

Can you put Arrow data in xarray? Arrow is interchangeable with Awkward Array, so having Arrow can be seen as equivalent to having Awkward. The [ak.to_arrow](https://awkward-array.readthedocs.io/en/latest/_auto/ak.to_arrow.html) and [ak.from_arrow](https://awkward-array.readthedocs.io/en/latest/_auto/ak.from_arrow.html) functions are...

> Bit of a tangent, but it might be worthwhile to write up [a Data Array API issue](https://github.com/data-apis/array-api/issues) about the Awkward Array use case. We already talked about it here:...

I'm just catching up to all of this, but I can answer a few questions now. > I believe it does have [copy, just not as a method](https://awkward-array.readthedocs.io/en/latest/_auto/ak.copy.html). We might...

I'd like to know more about this, though it's a lot to take in at once. Would you like to talk sometime so that I can learn more about anndata...

> I would note that there are some things in the awkward array api that will change ([scikit-hep/awkward-1.0#1151](https://github.com/scikit-hep/awkward-1.0/discussions/1151)), but that's mostly down the line stuff. In the three levels of...

This is very interesting! We had been [planning to reintroduce](https://github.com/scikit-hep/awkward/wiki#pandas-integration) "Awkward Array as a Pandas column" by creating a new library that is external to `awkward` itself, so that *...

This is an example of how an Awkward Array can be wrapped as a Pandas column: https://github.com/martindurant/awkward_extras/tree/main/awkward_pandas (See also [AwkwardSeries](https://github.com/martindurant/awkward_extras/blob/main/awkward_pandas/series.py) and [tests](https://github.com/martindurant/awkward_extras/blob/main/awkward_pandas/tests/test_series.py).) Pandas ExtensionArrays can only be one-dimensional, so we...

> In [scverse/scirpy#327 (comment)](https://github.com/scverse/scirpy/issues/327#issuecomment-1172977130) it was suggested to store AIRR data in `.X`. Following this comment, I gather that what you mean by "`.X`" is a [BumpyMatrix](https://bioconductor.org/packages/release/bioc/html/BumpyMatrix.html), which is a...

Benefits of one over the other: if "cell1, cell2, cell3..." are part of a sequence, especially if it's a dimension that can grow large, then it should be an ak.Array,...

It's not the sort of thing that would be documented as such; it's an artifact of how TTrees get written when an error interrupts the write. The completely different place...