ray/doc/source/data/doc_code
Clark Zinzow 3b151c581e
[Datasets] Delay expensive tensor extension type import until Parquet reading. (#27653)
The tensor extension import is a bit expensive since it will go through Arrow's and Pandas' extension type registration logic. This PR delays the tensor extension type import until Parquet reading, which is the only case in which we need to explicitly register the type.

I have confirmed that the Parquet reading in doc/source/data/doc_code/tensor.py passes with this change.
2022-08-08 17:06:25 -07:00
..
accessing_datasets.py [AIR] Replace references of to_torch with iter_torch_batches (#27574) 2022-08-07 20:14:12 -07:00
creating_datasets.py Fix range_arrow(), which is replaced by range_table() (#25036) 2022-05-20 19:24:49 -07:00
key_concepts.py [AIR] Replace references of to_torch with iter_torch_batches (#27574) 2022-08-07 20:14:12 -07:00
quick_start.py [data] set iter_batches default batch_size (#26955) 2022-07-25 08:34:25 -07:00
saving_datasets.py [Datasets] Update docs for drop_columns and fix typos (#26317) 2022-07-07 17:17:33 -07:00
tensor.py [Datasets] Delay expensive tensor extension type import until Parquet reading. (#27653) 2022-08-08 17:06:25 -07:00
transforming_datasets.py [Datasets] [Tensor Story - 2/2] Add "numpy" batch format for batch mapping and batch consumption. (#24870) 2022-06-17 16:01:02 -07:00