nd-arrow-array 0.5.0__tar.gz → 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/PKG-INFO +1 -1
  2. nd_arrow_array-0.6.0/nd-arrow-array/Cargo.toml +60 -0
  3. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/README.md +18 -0
  4. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/benches/kernels.rs +1 -1
  5. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/examples/basic.rs +1 -1
  6. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/batch.rs +1 -4
  7. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/column.rs +1 -1
  8. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/layout.rs +3 -1
  9. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/shape.rs +2 -0
  10. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/extension.rs +4 -4
  11. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/lib.rs +55 -1
  12. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/tensor.rs +3 -1
  13. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/tests/ipc.rs +5 -5
  14. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/tests/numpy.rs +3 -3
  15. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/tests/properties.rs +3 -3
  16. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/tests/python_fixture.rs +3 -3
  17. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/Cargo.lock +69 -101
  18. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/Cargo.toml +1 -1
  19. nd_arrow_array-0.5.0/nd-arrow-array/Cargo.toml +0 -36
  20. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/README.md +0 -0
  21. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/LICENSE +0 -0
  22. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/array.rs +0 -0
  23. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/attributes.rs +0 -0
  24. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/aggregate.rs +0 -0
  25. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/batch.rs +0 -0
  26. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/cf.rs +0 -0
  27. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/column.rs +0 -0
  28. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/elementwise.rs +0 -0
  29. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/groupby.rs +0 -0
  30. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/histogram.rs +0 -0
  31. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/interp.rs +0 -0
  32. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/methods.rs +0 -0
  33. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/mod.rs +0 -0
  34. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/ops.rs +0 -0
  35. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/partial.rs +0 -0
  36. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/reduce.rs +0 -0
  37. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/resample.rs +0 -0
  38. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/search.rs +0 -0
  39. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/time.rs +0 -0
  40. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/compute/window.rs +0 -0
  41. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/dimensions.rs +0 -0
  42. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/display.rs +0 -0
  43. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/error.rs +0 -0
  44. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/src/ndarray_interop.rs +0 -0
  45. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/tests/fixtures/gen_numpy.py +0 -0
  46. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-array/tests/fixtures/numpy.json +0 -0
  47. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/README.md +0 -0
  48. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/src/array.rs +0 -0
  49. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/src/arrow_conv.rs +0 -0
  50. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/src/attrs.rs +0 -0
  51. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/src/batch.rs +0 -0
  52. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/src/column.rs +0 -0
  53. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/src/error.rs +0 -0
  54. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/src/lib.rs +0 -0
  55. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/src/numpy_conv.rs +0 -0
  56. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/test_array.py +0 -0
  57. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/test_arrow_column.py +0 -0
  58. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/test_attrs.py +0 -0
  59. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/test_batch.py +0 -0
  60. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/test_column.py +0 -0
  61. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/test_import.py +0 -0
  62. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/test_ipc.py +0 -0
  63. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/test_numpy.py +0 -0
  64. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/test_xarray.py +0 -0
  65. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/nd-arrow-py/tests/typing/check_usage.py +0 -0
  66. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/pyproject.toml +0 -0
  67. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/python/nd_arrow_array/__init__.py +0 -0
  68. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/python/nd_arrow_array/_core.pyi +0 -0
  69. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/python/nd_arrow_array/_xarray.py +0 -0
  70. {nd_arrow_array-0.5.0 → nd_arrow_array-0.6.0}/python/nd_arrow_array/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nd-arrow-array
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Classifier: License :: OSI Approved :: Apache Software License
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Rust
@@ -0,0 +1,60 @@
1
+ [package]
2
+ name = "nd-arrow-array"
3
+ version = "0.6.0"
4
+ edition = "2024"
5
+ rust-version = "1.85"
6
+ description = "N-dimensional Arrow arrays as an Arrow extension type"
7
+ license = "Apache-2.0"
8
+ repository = "https://github.com/robinskil/nd-arrow-array"
9
+ readme = "README.md"
10
+ keywords = ["arrow", "ndarray", "tensor", "xarray", "netcdf"]
11
+ categories = ["data-structures", "science", "encoding"]
12
+
13
+ [package.metadata.docs.rs]
14
+ all-features = true
15
+
16
+ [dependencies]
17
+ arrow-56 = { package = "arrow", version = "56", default-features = false, optional = true }
18
+ arrow-schema-56 = { package = "arrow-schema", version = "56", optional = true }
19
+ arrow-57 = { package = "arrow", version = "57", default-features = false, optional = true }
20
+ arrow-schema-57 = { package = "arrow-schema", version = "57", optional = true }
21
+ arrow-58 = { package = "arrow", version = "58.4", default-features = false, optional = true }
22
+ arrow-schema-58 = { package = "arrow-schema", version = "58.4", optional = true }
23
+ arrow-59 = { package = "arrow", version = "59", default-features = false, optional = true }
24
+ arrow-schema-59 = { package = "arrow-schema", version = "59", optional = true }
25
+ serde = { version = "1", features = ["derive"] }
26
+ serde_json = "1"
27
+ thiserror = "2"
28
+ rayon = { version = "1.10", optional = true }
29
+ ndarray = { version = "0.17", optional = true }
30
+
31
+ [features]
32
+ default = ["arrow-58"]
33
+ arrow-56 = ["dep:arrow-56", "dep:arrow-schema-56"]
34
+ arrow-57 = ["dep:arrow-57", "dep:arrow-schema-57"]
35
+ arrow-58 = ["dep:arrow-58", "dep:arrow-schema-58"]
36
+ arrow-59 = ["dep:arrow-59", "dep:arrow-schema-59"]
37
+ ipc = [
38
+ "arrow-56?/ipc",
39
+ "arrow-57?/ipc",
40
+ "arrow-58?/ipc",
41
+ "arrow-59?/ipc",
42
+ ]
43
+ parallel = ["dep:rayon"]
44
+ ndarray = ["dep:ndarray"]
45
+
46
+ [dev-dependencies]
47
+ criterion = "0.5"
48
+ proptest = "1"
49
+
50
+ [[test]]
51
+ name = "ipc"
52
+ required-features = ["ipc"]
53
+
54
+ [[test]]
55
+ name = "python_fixture"
56
+ required-features = ["ipc"]
57
+
58
+ [[bench]]
59
+ name = "kernels"
60
+ harness = false
@@ -70,6 +70,9 @@ println!("{north}");
70
70
 
71
71
  Run it with `cargo run --example basic`.
72
72
 
73
+ The crate re-exports its `arrow` version. Import from `nd_arrow_array::arrow`
74
+ to use it without a separate `arrow` dependency.
75
+
73
76
  ## Python
74
77
 
75
78
  The `nd-arrow-py` directory holds the Python package `nd-arrow-array`
@@ -111,6 +114,21 @@ See [nd-arrow-py/README.md](nd-arrow-py/README.md) for details.
111
114
  |---|---|
112
115
  | `parallel` | Runs large kernels with rayon. |
113
116
  | `ndarray` | Adds `ndarray` conversion. |
117
+ | `arrow-56` to `arrow-59` | Selects the major version of the `arrow` crate. The default is `arrow-58`. |
118
+ | `ipc` | Enables the `ipc` feature of the selected `arrow` crate. |
119
+
120
+ ### Arrow version
121
+
122
+ Use the same `arrow` major version in your crate and in `nd-arrow-array`.
123
+ Disable the default features, then enable one arrow feature:
124
+
125
+ ```toml
126
+ arrow = "57"
127
+ nd-arrow-array = { version = "0.6", default-features = false, features = ["arrow-57"] }
128
+ ```
129
+
130
+ If more than one arrow feature is on, the highest version wins.
131
+ The crate re-exports the selected version as `nd_arrow_array::arrow`.
114
132
 
115
133
  See [FORMAT.md](FORMAT.md) for the format specification, and the crate
116
134
  documentation for the full API.
@@ -1,8 +1,8 @@
1
1
  use std::hint::black_box;
2
2
  use std::sync::Arc;
3
3
 
4
- use arrow::array::Float64Array;
5
4
  use criterion::{Criterion, criterion_group, criterion_main};
5
+ use nd_arrow_array::arrow::array::Float64Array;
6
6
  use nd_arrow_array::compute::{self, Selector, Slice};
7
7
  use nd_arrow_array::{Dimensions, NdArrowArray};
8
8
 
@@ -1,6 +1,6 @@
1
1
  use std::sync::Arc;
2
2
 
3
- use arrow::array::Float64Array;
3
+ use nd_arrow_array::arrow::array::Float64Array;
4
4
  use nd_arrow_array::compute::{Selector, Slice};
5
5
  use nd_arrow_array::{Attributes, Dimensions, NdArrowArray};
6
6
 
@@ -174,10 +174,7 @@ pub fn encode_batches(batches: &[NdRecordBatch]) -> Result<RecordBatch> {
174
174
  let mut columns: Vec<ArrayRef> = Vec::with_capacity(schema.fields().len());
175
175
  for (index, logical) in schema.fields().iter().enumerate() {
176
176
  let column = NdColumn::try_from_arrays(batches.iter().map(|b| b.column(index)))?;
177
- fields.push(with_base_metadata(
178
- column.to_field(logical.name()),
179
- logical.metadata(),
180
- ));
177
+ fields.push(with_base_metadata(column.to_field(logical.name()), logical));
181
178
  columns.push(column.into_array_ref());
182
179
  }
183
180
 
@@ -419,7 +419,7 @@ impl NdColumnBuilder {
419
419
  rows.iter()
420
420
  .map(|r| r.as_ref().map_or(0, NdArrowArray::rank)),
421
421
  )?;
422
- let total_rank = *rank_offsets.last().unwrap() as usize;
422
+ let total_rank = rank_offsets[rank_offsets.len() - 1] as usize;
423
423
  let mut names = StringBuilder::with_capacity(total_rank, total_rank * 8);
424
424
  let mut sizes = UInt32Builder::with_capacity(total_rank);
425
425
  for dim in present.iter().flat_map(|a| a.dims().iter()) {
@@ -167,7 +167,9 @@ impl Gather {
167
167
  let outer = &self.axes[..self.axes.len() - 1];
168
168
  let first = self.base + self.axes.last().unwrap().offsets[0];
169
169
  for_each_position(outer, |start| {
170
- out.extend(0, start + first, start + first + run)
170
+ // Arrow 56 to 58 have no `try_extend`.
171
+ #[allow(deprecated)]
172
+ out.extend(0, start + first, start + first + run);
171
173
  });
172
174
  make_array(out.freeze())
173
175
  }
@@ -501,6 +501,8 @@ pub fn concat(arrays: &[&NdArrowArray], dim: &str) -> Result<NdArrowArray> {
501
501
  for o in 0..outer {
502
502
  for (i, array) in aligned.iter().enumerate() {
503
503
  let block = array.dims().as_slice()[axis].size() * inner;
504
+ // Arrow 56 to 58 have no `try_extend`.
505
+ #[allow(deprecated)]
504
506
  out.extend(i, o * block, (o + 1) * block);
505
507
  }
506
508
  }
@@ -326,7 +326,7 @@ pub fn is_nd_field(field: &Field) -> bool {
326
326
  pub fn encoded_field(logical: &Field) -> Field {
327
327
  let field = NdArrayType::new(logical.data_type().clone(), Fields::empty())
328
328
  .to_field(logical.name(), true);
329
- with_base_metadata(field, logical.metadata())
329
+ with_base_metadata(field, logical)
330
330
  }
331
331
 
332
332
  /// The logical field of an nd field: the element type of the values,
@@ -363,9 +363,9 @@ pub fn logical_schema(encoded: &Schema) -> Result<Schema> {
363
363
  ))
364
364
  }
365
365
 
366
- /// `field` with `base` metadata added under its own (extension) keys.
367
- pub(crate) fn with_base_metadata(field: Field, base: &HashMap<String, String>) -> Field {
368
- let mut metadata = base.clone();
366
+ /// `field` with the metadata of `base` added under its own (extension) keys.
367
+ pub(crate) fn with_base_metadata(field: Field, base: &Field) -> Field {
368
+ let mut metadata = base.metadata().clone();
369
369
  metadata.extend(field.metadata().clone());
370
370
  field.with_metadata(metadata)
371
371
  }
@@ -15,12 +15,25 @@
15
15
  //! Features: `parallel` runs large gathers and reductions with rayon;
16
16
  //! `ndarray` adds conversion to and from `ndarray::ArrayD`.
17
17
  //!
18
+ //! # Arrow version
19
+ //!
20
+ //! The features `arrow-56` to `arrow-59` select the major version of the
21
+ //! `arrow` crate. The default is `arrow-58`. The highest enabled version
22
+ //! wins. The crate re-exports the selected version as [`arrow`].
23
+ //!
24
+ //! ```toml
25
+ //! arrow = "57"
26
+ //! nd-arrow-array = { version = "0.6", default-features = false, features = ["arrow-57"] }
27
+ //! ```
28
+ //!
29
+ //! The feature `ipc` enables the `ipc` feature of the selected `arrow` crate.
30
+ //!
18
31
  //! # Example
19
32
  //!
20
33
  //! ```
21
34
  //! use std::sync::Arc;
22
35
  //!
23
- //! use arrow::array::Float64Array;
36
+ //! use nd_arrow_array::arrow::array::Float64Array;
24
37
  //! use nd_arrow_array::compute::{Selector, Slice};
25
38
  //! use nd_arrow_array::{Attributes, Dimensions, NdArrowArray, NdColumn};
26
39
  //!
@@ -46,6 +59,47 @@
46
59
 
47
60
  #![warn(missing_docs)]
48
61
 
62
+ #[cfg(not(any(
63
+ feature = "arrow-56",
64
+ feature = "arrow-57",
65
+ feature = "arrow-58",
66
+ feature = "arrow-59"
67
+ )))]
68
+ compile_error!("enable one arrow version feature: `arrow-56` to `arrow-59`");
69
+
70
+ #[cfg(all(
71
+ feature = "arrow-56",
72
+ not(any(feature = "arrow-57", feature = "arrow-58", feature = "arrow-59"))
73
+ ))]
74
+ /// The selected version of the `arrow` crate.
75
+ pub extern crate arrow_56 as arrow;
76
+ #[cfg(all(
77
+ feature = "arrow-57",
78
+ not(any(feature = "arrow-58", feature = "arrow-59"))
79
+ ))]
80
+ /// The selected version of the `arrow` crate.
81
+ pub extern crate arrow_57 as arrow;
82
+ #[cfg(all(feature = "arrow-58", not(feature = "arrow-59")))]
83
+ /// The selected version of the `arrow` crate.
84
+ pub extern crate arrow_58 as arrow;
85
+ #[cfg(feature = "arrow-59")]
86
+ /// The selected version of the `arrow` crate.
87
+ pub extern crate arrow_59 as arrow;
88
+ #[cfg(all(
89
+ feature = "arrow-56",
90
+ not(any(feature = "arrow-57", feature = "arrow-58", feature = "arrow-59"))
91
+ ))]
92
+ extern crate arrow_schema_56 as arrow_schema;
93
+ #[cfg(all(
94
+ feature = "arrow-57",
95
+ not(any(feature = "arrow-58", feature = "arrow-59"))
96
+ ))]
97
+ extern crate arrow_schema_57 as arrow_schema;
98
+ #[cfg(all(feature = "arrow-58", not(feature = "arrow-59")))]
99
+ extern crate arrow_schema_58 as arrow_schema;
100
+ #[cfg(feature = "arrow-59")]
101
+ extern crate arrow_schema_59 as arrow_schema;
102
+
49
103
  pub mod array;
50
104
  pub mod attributes;
51
105
  pub mod batch;
@@ -186,6 +186,8 @@ pub fn to_fixed_shape_tensor(column: &NdColumn, name: &str) -> Result<(Field, Fi
186
186
  let offsets = values.value_offsets();
187
187
  let mut out = MutableArrayData::new(vec![&data], true, column.len() * size);
188
188
  for row in 0..column.len() {
189
+ // Arrow 56 to 58 have no `try_extend`.
190
+ #[allow(deprecated)]
189
191
  if column.is_null(row) {
190
192
  out.extend_nulls(size);
191
193
  } else {
@@ -255,7 +257,7 @@ fn from_variable_shape_tensor(storage: &StructArray, metadata: TensorMetadata) -
255
257
  builder.append_null();
256
258
  continue;
257
259
  }
258
- let base = shape.value_offset(row) as usize;
260
+ let base = row * shape.value_length() as usize;
259
261
  let dims = Dimensions::try_new(
260
262
  names
261
263
  .iter()
@@ -1,10 +1,10 @@
1
1
  use std::sync::Arc;
2
2
 
3
- use arrow::array::{Float32Array, Int64Array, StringArray};
4
- use arrow::datatypes::{DataType, Field, Schema};
5
- use arrow::ipc::reader::StreamReader;
6
- use arrow::ipc::writer::StreamWriter;
7
- use arrow::record_batch::RecordBatch;
3
+ use nd_arrow_array::arrow::array::{Float32Array, Int64Array, StringArray};
4
+ use nd_arrow_array::arrow::datatypes::{DataType, Field, Schema};
5
+ use nd_arrow_array::arrow::ipc::reader::StreamReader;
6
+ use nd_arrow_array::arrow::ipc::writer::StreamWriter;
7
+ use nd_arrow_array::arrow::record_batch::RecordBatch;
8
8
  use nd_arrow_array::extension::{is_global_attributes_field, is_nd_field};
9
9
  use nd_arrow_array::{
10
10
  Attributes, Dimensions, NdArrayType, NdArrowArray, NdColumn, NdRecordBatch, encode_batches,
@@ -3,9 +3,9 @@
3
3
 
4
4
  use std::sync::Arc;
5
5
 
6
- use arrow::array::{Array, AsArray, Float64Array};
7
- use arrow::compute::cast;
8
- use arrow::datatypes::{DataType, Float64Type};
6
+ use nd_arrow_array::arrow::array::{Array, AsArray, Float64Array};
7
+ use nd_arrow_array::arrow::compute::cast;
8
+ use nd_arrow_array::arrow::datatypes::{DataType, Float64Type};
9
9
  use nd_arrow_array::compute::{self, SearchSide};
10
10
  use nd_arrow_array::{Dimensions, NdArrowArray};
11
11
  use serde_json::Value;
@@ -2,8 +2,8 @@
2
2
 
3
3
  use std::sync::Arc;
4
4
 
5
- use arrow::array::{AsArray, Int64Array};
6
- use arrow::datatypes::Int64Type;
5
+ use nd_arrow_array::arrow::array::{AsArray, Int64Array};
6
+ use nd_arrow_array::arrow::datatypes::Int64Type;
7
7
  use nd_arrow_array::compute::{self, PartialReduction, Reduction, Selector, Slice, merge_all};
8
8
  use nd_arrow_array::{Dimensions, NdArrowArray, NdColumn};
9
9
  use proptest::prelude::*;
@@ -112,7 +112,7 @@ proptest! {
112
112
 
113
113
  #[test]
114
114
  fn column_encoding_round_trips(rows in prop::collection::vec(prop::option::of(arrays()), 1..6)) {
115
- let mut builder = nd_arrow_array::NdColumnBuilder::with_value_type(arrow::datatypes::DataType::Int64);
115
+ let mut builder = nd_arrow_array::NdColumnBuilder::with_value_type(nd_arrow_array::arrow::datatypes::DataType::Int64);
116
116
  for row in &rows {
117
117
  builder.append_option(row.as_ref()).unwrap();
118
118
  }
@@ -4,10 +4,10 @@
4
4
  use std::fs::File;
5
5
  use std::path::Path;
6
6
 
7
- use arrow::array::{Array, AsArray};
8
- use arrow::datatypes::{DataType, Float32Type, Float64Type, Int32Type, TimeUnit};
9
- use arrow::ipc::reader::FileReader;
10
7
  use nd_arrow_array::NdRecordBatch;
8
+ use nd_arrow_array::arrow::array::{Array, AsArray};
9
+ use nd_arrow_array::arrow::datatypes::{DataType, Float32Type, Float64Type, Int32Type, TimeUnit};
10
+ use nd_arrow_array::arrow::ipc::reader::FileReader;
11
11
 
12
12
  #[test]
13
13
  fn reads_python_fixture() {
@@ -4,13 +4,13 @@ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "ahash"
7
- version = "0.8.12"
7
+ version = "0.8.15"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
9
+ checksum = "3019c0b8d883a8a17df3129e417ef463c087807d245e8881a31d583dee1c0519"
10
10
  dependencies = [
11
11
  "cfg-if",
12
12
  "const-random",
13
- "getrandom 0.3.4",
13
+ "getrandom",
14
14
  "once_cell",
15
15
  "version_check",
16
16
  "zerocopy",
@@ -36,9 +36,9 @@ dependencies = [
36
36
 
37
37
  [[package]]
38
38
  name = "arrow"
39
- version = "58.4.1"
39
+ version = "58.4.2"
40
40
  source = "registry+https://github.com/rust-lang/crates.io-index"
41
- checksum = "c943b9bec582e47f8394e44713c3cbfbe645fd049e3a7771585f54849c710fe6"
41
+ checksum = "ce9b5f662ac9c10caf883ee54663d0f8352e629f8838c87c014f00b9411e18aa"
42
42
  dependencies = [
43
43
  "arrow-arith",
44
44
  "arrow-array",
@@ -54,9 +54,9 @@ dependencies = [
54
54
 
55
55
  [[package]]
56
56
  name = "arrow-arith"
57
- version = "58.4.1"
57
+ version = "58.4.2"
58
58
  source = "registry+https://github.com/rust-lang/crates.io-index"
59
- checksum = "8b13b85a6a547a1669114e418f6ab3c3e39c2edb1b8be5ab2889e5739a433ae9"
59
+ checksum = "e2c805022d08328df96cc40415710a48e92cf5c078c1cf80ede41e3ca935b6a6"
60
60
  dependencies = [
61
61
  "arrow-array",
62
62
  "arrow-buffer",
@@ -68,9 +68,9 @@ dependencies = [
68
68
 
69
69
  [[package]]
70
70
  name = "arrow-array"
71
- version = "58.4.1"
71
+ version = "58.4.2"
72
72
  source = "registry+https://github.com/rust-lang/crates.io-index"
73
- checksum = "7b11eb61b95868592ad6edbd537465a6940eb3c81a875addecec24283301b267"
73
+ checksum = "74304824ded12782d8977cf2bd6069644657e4af32ce27b91137cc3ec32be7e4"
74
74
  dependencies = [
75
75
  "ahash",
76
76
  "arrow-buffer",
@@ -86,9 +86,9 @@ dependencies = [
86
86
 
87
87
  [[package]]
88
88
  name = "arrow-buffer"
89
- version = "58.4.1"
89
+ version = "58.4.2"
90
90
  source = "registry+https://github.com/rust-lang/crates.io-index"
91
- checksum = "53ee609a07eb721c2e4a7669d7bb88e2106c560e7dec1219096fecf5eae356d1"
91
+ checksum = "db1e172d319d6c06c36f6738c448c477202e88d2ee02bf9778391507060aa7f5"
92
92
  dependencies = [
93
93
  "bytes",
94
94
  "half",
@@ -98,9 +98,9 @@ dependencies = [
98
98
 
99
99
  [[package]]
100
100
  name = "arrow-cast"
101
- version = "58.4.1"
101
+ version = "58.4.2"
102
102
  source = "registry+https://github.com/rust-lang/crates.io-index"
103
- checksum = "9575323ffeb4bc6955f39bf8716f734671a32780f1fac9ba6c2891048fc0ea1f"
103
+ checksum = "18586c2c7c16b3509f567bd9af260bc34db24a304829e14bcdaf5e96785e40f2"
104
104
  dependencies = [
105
105
  "arrow-array",
106
106
  "arrow-buffer",
@@ -119,9 +119,9 @@ dependencies = [
119
119
 
120
120
  [[package]]
121
121
  name = "arrow-data"
122
- version = "58.4.1"
122
+ version = "58.4.2"
123
123
  source = "registry+https://github.com/rust-lang/crates.io-index"
124
- checksum = "10791765e6927cdd8ace5bf0e51a69f38a1c3aded2db93561b003c332d02ee2a"
124
+ checksum = "46e5e6926e8f3926795e49792034909be9e38cf16daf06e0754a598ddb65edf9"
125
125
  dependencies = [
126
126
  "arrow-buffer",
127
127
  "arrow-schema",
@@ -132,9 +132,9 @@ dependencies = [
132
132
 
133
133
  [[package]]
134
134
  name = "arrow-ord"
135
- version = "58.4.1"
135
+ version = "58.4.2"
136
136
  source = "registry+https://github.com/rust-lang/crates.io-index"
137
- checksum = "908a1b5aeefce5c6eb2a0a4e98f4ccacbd441fe0ed23fb799e634cd0135821e5"
137
+ checksum = "37e905754972947fe8579e6e8fe50f49d55e0782b7934a585dad5f4f4266ec3b"
138
138
  dependencies = [
139
139
  "arrow-array",
140
140
  "arrow-buffer",
@@ -145,9 +145,9 @@ dependencies = [
145
145
 
146
146
  [[package]]
147
147
  name = "arrow-row"
148
- version = "58.4.1"
148
+ version = "58.4.2"
149
149
  source = "registry+https://github.com/rust-lang/crates.io-index"
150
- checksum = "5383b1676492a509032f06fa4ca9522c886036aec4ebe8261bebfbce904af667"
150
+ checksum = "5a3157fe4d0ed4395099d46b117186e07eaea8919c1bf81ba0d3ede38c03e0cc"
151
151
  dependencies = [
152
152
  "arrow-array",
153
153
  "arrow-buffer",
@@ -158,18 +158,18 @@ dependencies = [
158
158
 
159
159
  [[package]]
160
160
  name = "arrow-schema"
161
- version = "58.4.1"
161
+ version = "58.4.2"
162
162
  source = "registry+https://github.com/rust-lang/crates.io-index"
163
- checksum = "8506ad465ebb9483bb6efa1e2e78a313549122c6dd67dc2f7087297b762eaede"
163
+ checksum = "cd1edbca9214bc91c150c064aeb19f1600f807bdf6a1f90202fc8ef2bff452a5"
164
164
  dependencies = [
165
165
  "bitflags",
166
166
  ]
167
167
 
168
168
  [[package]]
169
169
  name = "arrow-select"
170
- version = "58.4.1"
170
+ version = "58.4.2"
171
171
  source = "registry+https://github.com/rust-lang/crates.io-index"
172
- checksum = "fd0f0a0d641356ae2df829af5d635ed9fb93fbeb0d39f3239487cb5fdb37a6ef"
172
+ checksum = "7b8ec5029d5172a40e5a165f0d1bae144dcd68ce40807b29c80cc5216890049b"
173
173
  dependencies = [
174
174
  "ahash",
175
175
  "arrow-array",
@@ -181,9 +181,9 @@ dependencies = [
181
181
 
182
182
  [[package]]
183
183
  name = "arrow-string"
184
- version = "58.4.1"
184
+ version = "58.4.2"
185
185
  source = "registry+https://github.com/rust-lang/crates.io-index"
186
- checksum = "bd245a358d52e77bfcb99dc3e21f04b947383271b7a0b9ca8feec43e9039234d"
186
+ checksum = "75e17965a914268a0466f92fd2dd313684b3ab30e1bdd0b2d8292f8aeb112456"
187
187
  dependencies = [
188
188
  "arrow-array",
189
189
  "arrow-buffer",
@@ -225,21 +225,21 @@ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
225
225
 
226
226
  [[package]]
227
227
  name = "bumpalo"
228
- version = "3.20.3"
228
+ version = "3.20.4"
229
229
  source = "registry+https://github.com/rust-lang/crates.io-index"
230
- checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
230
+ checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db"
231
231
 
232
232
  [[package]]
233
233
  name = "bytes"
234
- version = "1.12.1"
234
+ version = "1.12.2"
235
235
  source = "registry+https://github.com/rust-lang/crates.io-index"
236
- checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
236
+ checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c"
237
237
 
238
238
  [[package]]
239
239
  name = "cc"
240
- version = "1.11.0"
240
+ version = "1.12.0"
241
241
  source = "registry+https://github.com/rust-lang/crates.io-index"
242
- checksum = "375989decec1a0fa424442bed520fa12ede43a48475ce8c7417d2c69b32b5f6b"
242
+ checksum = "95e45cf2980b2d467be49a9ed942c9179b701063a7ca3d037de7ee9bd67f8d66"
243
243
  dependencies = [
244
244
  "find-msvc-tools",
245
245
  "shlex",
@@ -264,21 +264,20 @@ dependencies = [
264
264
 
265
265
  [[package]]
266
266
  name = "const-random"
267
- version = "0.1.18"
267
+ version = "0.1.20"
268
268
  source = "registry+https://github.com/rust-lang/crates.io-index"
269
- checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359"
269
+ checksum = "d38d4bb3e79c716fd0330d8da84171b0135e59e01076e99f22b75a64c56e952c"
270
270
  dependencies = [
271
271
  "const-random-macro",
272
272
  ]
273
273
 
274
274
  [[package]]
275
275
  name = "const-random-macro"
276
- version = "0.1.16"
276
+ version = "0.1.18"
277
277
  source = "registry+https://github.com/rust-lang/crates.io-index"
278
- checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e"
278
+ checksum = "d66bb491e9fc48cb3fed9d57df886880a751d540d645ebc86b6d9d35b8fa8457"
279
279
  dependencies = [
280
- "getrandom 0.2.17",
281
- "once_cell",
280
+ "getrandom",
282
281
  "tiny-keccak",
283
282
  ]
284
283
 
@@ -296,9 +295,9 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
296
295
 
297
296
  [[package]]
298
297
  name = "find-msvc-tools"
299
- version = "0.1.15"
298
+ version = "0.1.16"
300
299
  source = "registry+https://github.com/rust-lang/crates.io-index"
301
- checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
300
+ checksum = "3e44f110d1777dc6559a51e7d45083945ded4f1bf3305494350f693b6d20b9c8"
302
301
 
303
302
  [[package]]
304
303
  name = "futures-core"
@@ -326,25 +325,15 @@ dependencies = [
326
325
 
327
326
  [[package]]
328
327
  name = "getrandom"
329
- version = "0.2.17"
330
- source = "registry+https://github.com/rust-lang/crates.io-index"
331
- checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
332
- dependencies = [
333
- "cfg-if",
334
- "libc",
335
- "wasi",
336
- ]
337
-
338
- [[package]]
339
- name = "getrandom"
340
- version = "0.3.4"
328
+ version = "0.4.3"
341
329
  source = "registry+https://github.com/rust-lang/crates.io-index"
342
- checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
330
+ checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
343
331
  dependencies = [
344
332
  "cfg-if",
333
+ "js-sys",
345
334
  "libc",
346
335
  "r-efi",
347
- "wasip2",
336
+ "wasm-bindgen",
348
337
  ]
349
338
 
350
339
  [[package]]
@@ -361,9 +350,9 @@ dependencies = [
361
350
 
362
351
  [[package]]
363
352
  name = "hashbrown"
364
- version = "0.17.1"
353
+ version = "0.17.2"
365
354
  source = "registry+https://github.com/rust-lang/crates.io-index"
366
- checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
355
+ checksum = "735eaa21a6a5ffb2e84362faaeb90c05ba8e19797ca30428478cb6ea3a4921bc"
367
356
 
368
357
  [[package]]
369
358
  name = "heck"
@@ -397,9 +386,9 @@ dependencies = [
397
386
 
398
387
  [[package]]
399
388
  name = "itoa"
400
- version = "1.0.18"
389
+ version = "1.0.19"
401
390
  source = "registry+https://github.com/rust-lang/crates.io-index"
402
- checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
391
+ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
403
392
 
404
393
  [[package]]
405
394
  name = "js-sys"
@@ -505,7 +494,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
505
494
 
506
495
  [[package]]
507
496
  name = "nd-arrow-array"
508
- version = "0.5.0"
497
+ version = "0.6.0"
509
498
  dependencies = [
510
499
  "arrow",
511
500
  "arrow-schema",
@@ -516,7 +505,7 @@ dependencies = [
516
505
 
517
506
  [[package]]
518
507
  name = "nd-arrow-py"
519
- version = "0.5.0"
508
+ version = "0.6.0"
520
509
  dependencies = [
521
510
  "arrow",
522
511
  "half",
@@ -602,9 +591,9 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
602
591
 
603
592
  [[package]]
604
593
  name = "pin-project-lite"
605
- version = "0.2.17"
594
+ version = "0.2.18"
606
595
  source = "registry+https://github.com/rust-lang/crates.io-index"
607
- checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
596
+ checksum = "c938015719552d665fd0553b90d96cd7ff58e83e4c061ca99e6bb78865a72752"
608
597
 
609
598
  [[package]]
610
599
  name = "portable-atomic"
@@ -699,9 +688,9 @@ dependencies = [
699
688
 
700
689
  [[package]]
701
690
  name = "r-efi"
702
- version = "5.3.0"
691
+ version = "6.0.0"
703
692
  source = "registry+https://github.com/rust-lang/crates.io-index"
704
- checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
693
+ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
705
694
 
706
695
  [[package]]
707
696
  name = "rawpointer"
@@ -711,9 +700,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
711
700
 
712
701
  [[package]]
713
702
  name = "regex"
714
- version = "1.13.1"
703
+ version = "1.13.2"
715
704
  source = "registry+https://github.com/rust-lang/crates.io-index"
716
- checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
705
+ checksum = "9807af0e638c12e753aa1b4e601791bf2a8f71274023c8bbeec12fc149950857"
717
706
  dependencies = [
718
707
  "aho-corasick",
719
708
  "memchr",
@@ -723,9 +712,9 @@ dependencies = [
723
712
 
724
713
  [[package]]
725
714
  name = "regex-automata"
726
- version = "0.4.18"
715
+ version = "0.4.19"
727
716
  source = "registry+https://github.com/rust-lang/crates.io-index"
728
- checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
717
+ checksum = "41d60ef07df457506a0a1a2073112eb4aae5733dbd2813c3da77d1b0fd441158"
729
718
  dependencies = [
730
719
  "aho-corasick",
731
720
  "memchr",
@@ -734,9 +723,9 @@ dependencies = [
734
723
 
735
724
  [[package]]
736
725
  name = "regex-syntax"
737
- version = "0.8.11"
726
+ version = "0.8.12"
738
727
  source = "registry+https://github.com/rust-lang/crates.io-index"
739
- checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
728
+ checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6"
740
729
 
741
730
  [[package]]
742
731
  name = "rustc-hash"
@@ -783,7 +772,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
783
772
  dependencies = [
784
773
  "proc-macro2",
785
774
  "quote",
786
- "syn 3.0.9",
775
+ "syn 3.0.10",
787
776
  ]
788
777
 
789
778
  [[package]]
@@ -824,9 +813,9 @@ dependencies = [
824
813
 
825
814
  [[package]]
826
815
  name = "syn"
827
- version = "3.0.9"
816
+ version = "3.0.10"
828
817
  source = "registry+https://github.com/rust-lang/crates.io-index"
829
- checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
818
+ checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
830
819
  dependencies = [
831
820
  "proc-macro2",
832
821
  "quote",
@@ -835,9 +824,9 @@ dependencies = [
835
824
 
836
825
  [[package]]
837
826
  name = "target-lexicon"
838
- version = "0.13.5"
827
+ version = "0.13.6"
839
828
  source = "registry+https://github.com/rust-lang/crates.io-index"
840
- checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
829
+ checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
841
830
 
842
831
  [[package]]
843
832
  name = "thiserror"
@@ -856,7 +845,7 @@ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
856
845
  dependencies = [
857
846
  "proc-macro2",
858
847
  "quote",
859
- "syn 3.0.9",
848
+ "syn 3.0.10",
860
849
  ]
861
850
 
862
851
  [[package]]
@@ -880,21 +869,6 @@ version = "0.9.5"
880
869
  source = "registry+https://github.com/rust-lang/crates.io-index"
881
870
  checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
882
871
 
883
- [[package]]
884
- name = "wasi"
885
- version = "0.11.1+wasi-snapshot-preview1"
886
- source = "registry+https://github.com/rust-lang/crates.io-index"
887
- checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
888
-
889
- [[package]]
890
- name = "wasip2"
891
- version = "1.0.1+wasi-0.2.4"
892
- source = "registry+https://github.com/rust-lang/crates.io-index"
893
- checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
894
- dependencies = [
895
- "wit-bindgen",
896
- ]
897
-
898
872
  [[package]]
899
873
  name = "wasm-bindgen"
900
874
  version = "0.2.130"
@@ -926,7 +900,7 @@ dependencies = [
926
900
  "bumpalo",
927
901
  "proc-macro2",
928
902
  "quote",
929
- "syn 3.0.9",
903
+ "syn 3.0.10",
930
904
  "wasm-bindgen-shared",
931
905
  ]
932
906
 
@@ -998,26 +972,20 @@ dependencies = [
998
972
  "windows-link",
999
973
  ]
1000
974
 
1001
- [[package]]
1002
- name = "wit-bindgen"
1003
- version = "0.46.0"
1004
- source = "registry+https://github.com/rust-lang/crates.io-index"
1005
- checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
1006
-
1007
975
  [[package]]
1008
976
  name = "zerocopy"
1009
- version = "0.8.63"
977
+ version = "0.8.66"
1010
978
  source = "registry+https://github.com/rust-lang/crates.io-index"
1011
- checksum = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8"
979
+ checksum = "cba8a86aee14fc8cc6c208af60854b3d4ab7185a9a369a12c648faa2716ff42a"
1012
980
  dependencies = [
1013
981
  "zerocopy-derive",
1014
982
  ]
1015
983
 
1016
984
  [[package]]
1017
985
  name = "zerocopy-derive"
1018
- version = "0.8.63"
986
+ version = "0.8.66"
1019
987
  source = "registry+https://github.com/rust-lang/crates.io-index"
1020
- checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f"
988
+ checksum = "f89bca3b96ceb3cfcb4572790402f977442270d252b9a8504ebc258760c55f94"
1021
989
  dependencies = [
1022
990
  "proc-macro2",
1023
991
  "quote",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "nd-arrow-py"
3
- version = "0.5.0"
3
+ version = "0.6.0"
4
4
  edition = "2024"
5
5
  rust-version = "1.85"
6
6
  description = "Python bindings for nd-arrow-array"
@@ -1,36 +0,0 @@
1
- [package]
2
- name = "nd-arrow-array"
3
- version = "0.5.0"
4
- edition = "2024"
5
- rust-version = "1.85"
6
- description = "N-dimensional Arrow arrays as an Arrow extension type"
7
- license = "Apache-2.0"
8
- repository = "https://github.com/robinskil/nd-arrow-array"
9
- readme = "README.md"
10
- keywords = ["arrow", "ndarray", "tensor", "xarray", "netcdf"]
11
- categories = ["data-structures", "science", "encoding"]
12
-
13
- [package.metadata.docs.rs]
14
- all-features = true
15
-
16
- [dependencies]
17
- arrow = { version = "58.4", default-features = false }
18
- arrow-schema = "58.4"
19
- serde = { version = "1", features = ["derive"] }
20
- serde_json = "1"
21
- thiserror = "2"
22
- rayon = { version = "1.10", optional = true }
23
- ndarray = { version = "0.17", optional = true }
24
-
25
- [features]
26
- parallel = ["dep:rayon"]
27
- ndarray = ["dep:ndarray"]
28
-
29
- [dev-dependencies]
30
- arrow = { version = "58.4", default-features = false, features = ["ipc"] }
31
- criterion = "0.5"
32
- proptest = "1"
33
-
34
- [[bench]]
35
- name = "kernels"
36
- harness = false
File without changes