ray/python
Clark Zinzow d51df512eb
[1.11.0] [Cherry-pick] [Datasets] Fix boolean tensor column representation and slicing. (#22358)
Reformatted cherry-pick of 443416907e.

This PR fixes our {NumPy, Pandas} <--> Arrow interop for boolean tensor columns. NumPy and Pandas represent boolean arrays with a byte per boolean, while Arrow bit-packs booleans with 8 booleans per byte. Previously, when casting NumPy arrays to tensor columns, we were interpreting NumPy's boolean array buffers as being bit-packed when they were not. This PR completes support by packing and unpacking bits for boolean arrays when creating a boolean tensor column from an ndarray and when creating an ndarray from a boolean tensor column, respectively.
2022-02-14 11:45:50 -08:00
..
ray [1.11.0] [Cherry-pick] [Datasets] Fix boolean tensor column representation and slicing. (#22358) 2022-02-14 11:45:50 -08:00
requirements Comet Integration (#20766) 2022-01-25 11:42:00 -08:00
asv.conf.json [docs] Move all /latest links to /master (#11897) 2020-11-10 10:53:28 -08:00
build-wheel-macos-arm64.sh Upgrade cython to 0.29.26 for py310 (#21244) 2021-12-26 20:26:08 -08:00
build-wheel-macos.sh Upgrade cython to 0.29.26 for py310 (#21244) 2021-12-26 20:26:08 -08:00
build-wheel-manylinux2014.sh Upgrade cython to 0.29.26 for py310 (#21244) 2021-12-26 20:26:08 -08:00
build-wheel-windows.sh [CI] Migrate Windows Wheels to Buildkite (#21388) 2022-01-05 12:49:19 -08:00
MANIFEST.in Includes .pyi files in package data. (#21247) 2021-12-27 11:50:02 -08:00
README-building-wheels.md [build] Build wheels with manylinux2014 (#11621) 2020-11-03 19:36:32 -08:00
requirements.txt [Dataset] avoid pyarrow 7.0.0 for dataset (#22253) (#22330) 2022-02-14 08:06:11 -08:00
requirements_linters.txt [CI] Add support for Black formatting (#21281) 2022-01-03 10:06:41 -08:00
requirements_ml_docker.txt [Deps] Bump tensorflow on Docker image and add Codeowners (#20041) 2021-11-05 00:58:34 -07:00
setup.py [Dataset] avoid pyarrow 7.0.0 for dataset (#22253) (#22330) 2022-02-14 08:06:11 -08:00