Skip to content

Releases: JuliaData/CategoricalArrays.jl

Version 0.3.1

05 Dec 21:43
Compare
Choose a tag to compare
  • Improve recode with missing values.
  • Add fill! method.
  • Fix eltype(::CategoricalString) to return Char.
  • Fix Range deprecation on Julia 0.7.

Version 0.3.0

16 Nov 20:57
e1c57a2
Compare
Choose a tag to compare

This release breaks compatibility with the 0.2.x series by moving from Nulls.jl to Missings.jl.

Other changes:

  • Introduce CategoricalString <: AbstractString, used with CategoricalArray{String}. Other types of CategoricalArray continue to use CategoricalValue, which no longer inherits from AbstractString.
  • Preserve ordering of levels with copy! and improve it in several cases.
  • Make CategoricalArray constructor and levels! dramatically more efficient with many levels.

Version 0.2.3

15 Oct 17:14
Compare
Choose a tag to compare
  • Override Nulls.levels instead of defining our own function. This prevents conflicts with e.g. DataArrays and allows packages to use it without directly depending on CategoricalArrays.
  • Reexport Nulls for convenience.

Version 0.2.2

05 Oct 12:21
Compare
Choose a tag to compare

Compatibility with Nulls 0.1.0, which uses three-valued logic. == now returns null for nullable CategoricalArray when one of the compared arrays contains a null and no non-null pair of values differ. Use isequal to always get a boolean result (considering null as equal to null, and different from any non-null value).

Version 0.2.1

20 Sep 11:36
Compare
Choose a tag to compare
  • Make CategoricalValue <: AbstractString and implement the full string interface transparently for CategoricalValue{<:AbstractString} objects.
  • Improve the printing of type information for CategoricalArray.

Version 0.2.0

30 Aug 15:22
Compare
Choose a tag to compare

This release breaks compatibility with the 0.1.x series by moving from Nullable{T} to Union{Null, T} to represent missing values. NullableCategoricalArray{T} has been replaced with CategoricalArray{Union{Null, T}}. The package now requires Julia 0.6.

Version 0.1.6

22 Jun 11:58
Compare
Choose a tag to compare
  • Fix convert(::Type{Any}, ::CategoricalValue) on Julia 0.7.
  • Add __precompile__ declaration.

Version 0.1.5

18 Jun 15:58
Compare
Choose a tag to compare
  • Fix specificity of convert methods (to fix a bug in Julia 0.6)

Version 0.1.4

10 Jun 20:17
Compare
Choose a tag to compare
  • Add recode function to conveniently and efficiently replace one or multiple values
  • Fix in methods

Version 0.1.3

20 Mar 13:23
Compare
Choose a tag to compare
  • Only make copies when necessary from constructors (this may require more explicit copying where appropriate).
  • Preserve levels, ordering an reference type when converting between CategoricalArray and NullableCategoricalArray.
  • Throw an error when null values are found when converting from NullableCategoricalArray to CategoricalArray.
  • Add Documenter.jl manual.