DataArrays.jl icon indicating copy to clipboard operation
DataArrays.jl copied to clipboard

DEPRECATED: Data structures that allow missing values

Results 54 DataArrays.jl issues
Sort by recently updated
recently updated
newest added

Well, this is as far as I got for 1.0 compat here. The reducedim.jl and broadcast.jl changes are way more involved.

Hi, trying to install this on julia v0.7 and getting lot of warnings + errors. Last commit might address this, is it possible to tag a relase and update uncurated.jl?...

I have come over a problem that depends on whether DataFrames decides that my column is of type `Array{Union{Int64, Missings.Missing},1}` or `DataArrays.DataArray{Int64,1}`. Dividing such arrays by an `Int` results in...

```julia julia> using DataArrays julia> da = @data [1 2; NA 4] 2×2 DataArrays.DataArray{Int64,2}: 1 2 NA 4 julia> mask = @data [true false; false true] 2×2 DataArrays.DataArray{Bool,2}: true false...

We [currently make a copy](https://github.com/JuliaStats/DataArrays.jl/blob/8a7003b4ea9764638b3b7e2b85305d7e4ca1b8ac/src/dataarray.jl#L44-L46) of an `Array{Union{T, Null}}` input to an `Array{T}` because the `data` field of `DataArray` should be `Array{T}`. We should use low-level Julia API once available...

I am on julia 0.6. Currently the following results in a stack overflow: ```julia x = @data [1.0 2.0 3.0] w = Weights(rand(3)) mean(x,w,skipna=true) ``` because this code https://github.com/JuliaStats/DataArrays.jl/blob/8b9e89617ca3539440a9a1b2fc75fc44f86ec850/src/reduce.jl#L178-L185 seems...

`mapreduce_seq_impl()` does not exist in Base for a long time (https://github.com/JuliaLang/julia/pull/16217), but this went unnoticed because since that code path is only used in very special conditions. Another consequence of...

We should add `DataArray{T}(dims)` and `DataArray{T}(dims...)` constructors, and similar `DataVector` and `DataMatrix` constructors, for consistency with Base. And possibly deprecate the old `DataArray(T, dims)` constructors. Noticed at https://github.com/JuliaStats/DataFramesMeta.jl/pull/73#discussion_r125589722.

cannot JSON convert any data arrays with NA. JSON.json(@data [1,2,NA]) used to produce "[1,2,{}]" but now produces the error "Cannot serialize type DataArrays.NAtype" guessing this is because the vector syntax...

The broadcasted not operator `.!` (new in 0.6) is returning results with unexpected type when used directly on expressions containing a `DataArray`, e.g. ```julia isa(.!isna.(x), DataArray) == true ``` whereas,...