DataArrays.jl
DataArrays.jl copied to clipboard
DEPRECATED: Data structures that allow missing values
When attempting to broadcast a function to a data array which has a different return type than input type this fails with: ``` MethodError: Cannot `convert` an object of type...
In the interest of having an API consistent with that of Base, I think we should deprecate the following methods: - [ ] `DataArray(T, ...)` in favor of `DataArray{T}(...)` (likewise...
Can be merged once JuliaLang/Iterators.jl#33 makes it into a release
While the generic unique() method says it preserves the order of appearance, the ordering of levels is more likely to be useful. In particular, it will allow StatsModels to use...
@johnmyleswhite maybe it's useful to someone i don't know. This function handles NA. ``` function PearsonCorr(x::DataArray, y::DataArray) Corr = 0.0 Xavg = 0.0 Yavg = 0.0 Xavg2 = 0.0 Yavg2...
I'm not sure what `reorder(x::PooledDataArray, y::AbstractVector...)` is supposed to do, but it seems to rely on a function that doesn't exist. Better remove it at that point... ``` julia julia>...
Subtracting two `DataArray{DateTime}` arrays currently doesn't work: ``` julia julia> using DataFrames julia> df = DataFrame() 0x0 DataFrames.DataFrame julia> df[:A] = [DateTime(2015,1,1), DateTime(2015,1,2)] 2-element Array{DateTime,1}: 2015-01-01T00:00:00 2015-01-02T00:00:00 julia> df[:B] =...
Should we make the following snippet work? ``` julia> using DataArrays julia> da = data(Array(Any, 8)) 8-element DataArray{Any,1}: #undef #undef #undef #undef #undef #undef #undef #undef julia> da[2:8] = [1,...
Wondering if the _conversion_ functions/constructors in the [DataArray hash function](https://github.com/JuliaStats/DataArrays.jl/blob/master/src/dataarray.jl#L674) should perhaps be _casts/reinterprets_. Fixing this will also probably fix #146. ``` julia julia> versioninfo() Julia Version 0.4.0-dev+4436 Commit 237cdab...
Hi, I've implemented two functions to reorder the pool and the refs of a PDA object. The functions are similar in the semantic sense with R's `ordered` function. I've tested...