Skip to content
DEPRECATED: Data structures that allow missing values
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Port from Nulls to Missings Nov 17, 2017
spec Port from Nulls to Missings Nov 17, 2017
src Fix deprecations Aug 8, 2018
test Fix deprecations Aug 8, 2018
.gitignore Add a manual, + docstrings to all exported functions (#238) Mar 11, 2017
.travis.yml Fix WeightVec deprecation from StatsBase 0.15 (#254) May 28, 2017 Add Jan 30, 2014
REQUIRE Bump REQUIRE Aug 10, 2018
appveyor.yml Update CI URLs to point to new caching infrastructure (#253) May 24, 2017


Build Status Coverage Status

Latest release: DataArrays


THIS PACKAGE IS DEPRECATED with Julia versions above 0.7. Use Array{Union{T, Missing}} instead: see this blog post.

The DataArrays package provides the DataArray type for working efficiently with missing data in Julia, based on the missing value from the Missings.jl package.

Most Julian arrays cannot contain missing values: only Array{Union{T, Missing}} and more generally Array{>:Missing} can contain missing values.

The generic use of heterogeneous Array is discouraged in Julia versions below 0.7 because it is inefficient: accessing any value requires dereferencing a pointer. The DataArray type allows one to work around this inefficiency by providing tightly-typed arrays that can contain values of exactly one type, but can also contain missing values.

For example, a DataArray{Int} can contain integers and missing values. We can construct one as follows:

da = @data([1, 2, missing, 4])

This package used to provide the PooledDataArray type, a variant of DataArray{T} optimized for representing arrays that contain many repetitions of a small number of unique values. PooledDataArray has been deprecated in favor of CategoricalArray or PooledArray.

You can’t perform that action at this time.