Releases: JuliaData/CategoricalArrays.jl
Releases · JuliaData/CategoricalArrays.jl
Version 0.3.1
- Improve
recode
with missing values. - Add
fill!
method. - Fix
eltype(::CategoricalString)
to returnChar
. - Fix
Range
deprecation on Julia 0.7.
Version 0.3.0
This release breaks compatibility with the 0.2.x series by moving from Nulls.jl to Missings.jl.
Other changes:
- Introduce
CategoricalString <: AbstractString
, used withCategoricalArray{String}
. Other types ofCategoricalArray
continue to useCategoricalValue
, which no longer inherits fromAbstractString
. - Preserve ordering of levels with
copy!
and improve it in several cases. - Make
CategoricalArray
constructor andlevels!
dramatically more efficient with many levels.
Version 0.2.3
- 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
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
- Make
CategoricalValue <: AbstractString
and implement the full string interface transparently forCategoricalValue{<:AbstractString}
objects. - Improve the printing of type information for
CategoricalArray
.
Version 0.2.0
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
- Fix
convert(::Type{Any}, ::CategoricalValue)
on Julia 0.7. - Add
__precompile__
declaration.
Version 0.1.5
- Fix specificity of convert methods (to fix a bug in Julia 0.6)
Version 0.1.4
- Add
recode
function to conveniently and efficiently replace one or multiple values - Fix
in
methods
Version 0.1.3
- 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
andNullableCategoricalArray
. - Throw an error when null values are found when converting from
NullableCategoricalArray
toCategoricalArray
. - Add Documenter.jl manual.