Skip to content

Latest commit

 

History

History
164 lines (105 loc) · 3.35 KB

HISTORY.md

File metadata and controls

164 lines (105 loc) · 3.35 KB

#Changelog

All notable changes to the PySparse package will be documented in this file.

[Unreleased]

[1.0.9] - 2023-12-15

Fixed

  • Fixed bug - chunk size being compared to a tuple instead of an integer

[1.0.8] - 2023-07-24

Fixed

  • Fixed problem with small arrays with large chunksizes

[1.0.7] - 2023-05-23

Fixed

  • Fixed ongoing multi-index issues

[1.0.6] - 2023-05-23

Fixed

  • Accidentally left njit commented out!

Changed

  • Progress bar fixed to always finish with 100%

[1.0.5] - 2023-05-22

Fixed

  • Fixed single-index bug at axis=0

[1.0.4] - 2023-05-22

Fixed

  • Fixed multi-indexing bug

[1.0.3] - 2023-05-21

Fixed

  • Fixed further bug around multi-index slicing, and in doing so, tidied up some unnecessary Class code
  • Fixed bug whereby the first value was being lost when converting to_sparse
  • Fixed bug whereby certain values were being lost in to_sparse due to a dictionary error

[1.0.2] - 2023-05-20

Added

  • Added .shape attribute alongside .dense_shape and .coords_shape

Fixed

  • Fixed bug with indexing 1D data
  • README updated appropriately

[1.0.1] - 2023-05-20

Fixed

  • Small dependencies bug, now resolved

[1.0.0] - 2023-05-20

Added

  • Additional "coords_dictionary" file included, which replaces the previous find_indices function and introduces significant loading speed-up of 2-3x. This version is not backwards compatible with arrays encoded using v0.*

Fixed

  • N/A

Changed

  • README tidied up a little.
  • One of the core to_sparse functions are now jitted - this introduces a slight speed-up. Reading from slow I/O formats (.h5) still takes a long time to convert to sparse.
  • tqdm now replaced with an in-house progress bar to reduce dependencies

Removed

  • find_indices now replaced with a static coords_dictionary.pkl file.

[0.1.5] - 2023-05-18

Added

  • N/A

Fixed

  • N/A

Changed

  • Further optimised indexing through use of parallel find_indices search, with x2 speed-up.

Removed

  • N/A

[0.1.4] - 2023-05-16

Added

  • load_sparse() can now take either a single path to the parent directory of the three arrays, or individual paths to each
  • if using a single path to parent directory to load the sparse arrays, the files must be kept named as the standard 'sparse_data.npy', 'sparse_coords.npy', and 'dense_shape.npy' filenames

Fixed

  • Fixed issues with indexing for 1D arrays / rows where the values are all zero

Changed

  • to_sparse() default behaviour will now convert an array in one go if the array is already all in memory (i.e., np.ndarray), or else via chunksize if the array is memory-mapped (np.memmap).

Removed

  • N/A

[0.1.3] - 2023-05-15

Added

  • N/A

Fixed

  • Reduced dependency for numba to <0.57 due to numba/numpy errors.
  • Fixed missing parameter in __calc_sparse_shape()

Changed

  • Changed init.py for a cleaner interface - just two options! (to_sparse and load_sparse)
  • to_sparse() now creates directory as part of savepath

Removed

  • N/A

[0.1.2] - 2023-05-15

Added

  • N/A

Fixed

  • N/A

Changed

  • Re-uploaded due to broken compile

Removed

  • N/A

[0.1.1] - 2023-05-15

Added

  • N/A

Fixed

  • Fixed issues with dependences

Changed

  • N/A

Removed

  • N/A

[0.1.0] - 2023-05-15

Added

  • Initial release of PySparse

Fixed

  • N/A

Changed

  • N/A

Removed

  • N/A