Skip to content

Commit e7e160e

Browse files
committed
Update the changelog (new PyArrayDescr methods)
1 parent 8b27b6f commit e7e160e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
- `i32`, `i64`, `u32` and `u64` are now guaranteed to map to
1717
`np.int32`, `np.int64`, `np.uint32` and `np.uint64` respectively
1818
- Remove `cfg_if` dependency
19+
- New methods in `PyArrayDescr`, catching up with `np.dtype`:
20+
- `num`, `base`, `ndim`, `shape`, `byteorder`, `char`, `kind`, `itemsize`,
21+
`alignment`, `flags`, `has_object`, `is_aligned_struct`, `names`
22+
- Added `get_field` to query fields of structured dtypes
23+
- Additional helper methods: `has_subarray`, `has_fields`, `is_native_byteorder`
24+
- Renamed `get_type` to `typeobj`
1925

2026
- v0.15.1
2127
- Make arrays produced via `IntoPyArray`, i.e. those owning Rust data, writeable ([#235](https://github.com/PyO3/rust-numpy/pull/235))

0 commit comments

Comments
 (0)