Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Port to Nulls.jl #288

Merged
merged 19 commits into from
Oct 19, 2017
Merged

Port to Nulls.jl #288

merged 19 commits into from
Oct 19, 2017

Commits on Sep 27, 2017

  1. Port to Nulls.jl

    This replaces NA with Nulls.null and NAtype with Nulls.Null.
    The only breaking change is that null == null gives true, while NA == NA
    gave NA (same for other comparison operators).
    nalimilan committed Sep 27, 2017
    Configuration menu
    Copy the full SHA
    a1c2c1a View commit details
    Browse the repository at this point in the history
  2. Revert behavior of == in presence of null to match that of NA

    This has just been changed in Nulls.jl.
    nalimilan committed Sep 27, 2017
    Configuration menu
    Copy the full SHA
    9169e9f View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2017

  1. Require Nulls 0.1.0

    nalimilan committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    be02c30 View commit details
    Browse the repository at this point in the history
  2. Add back promotion tests

    Now works with Nulls 0.1.0.
    nalimilan committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    f5534d5 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2017

  1. Fix rep() test on 0.7

    nalimilan committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    19c79a8 View commit details
    Browse the repository at this point in the history
  2. Remove more lifted operations on Null

    Rounding and transpose operations have been moved to Nulls,
    functions from SpecialFunctions will have to be handled manually as we don't
    want Nulls to depend on SpecialFunctions and keeping them in DataArrays
    would be type piracy.
    nalimilan committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    4ccfaf3 View commit details
    Browse the repository at this point in the history
  3. Require Nulls 0.1.1

    nalimilan committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    c3f7a50 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    67f9aca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3bff91c View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2017

  1. Remove dropnull() thanks to efficient specialization of collect(::Eac…

    …hDropNull)
    
    This allows collect(Nulls.skip(x)) to be equivalent to the old dropna(x)
    for DataArray, but more generic. Also unexport the iterators, which are
    an implementation detail.
    nalimilan committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    122fa56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3776ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9999ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8859847 View commit details
    Browse the repository at this point in the history
  5. Fix use NA with @DaTa and @pdata

    nalimilan committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    920f92c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    22ebdb0 View commit details
    Browse the repository at this point in the history
  7. Fix conversion between Array{Union{T, Null}} and DataArray

    Previously, convert() would create a DataArray{Union{T, Null}} containing
    nulls which were not considered as missing, giving weird results in particular
    with equality tests.
    
    Constructing a DataArray{T} from an Array{Union{T, Null}} is tricky because
    the field must be an Array{T}, yet conversion will fail in the presence of
    nulls. Therefore, we need to allocate a copy and leave the null entries
    uninitialized.
    nalimilan committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    02bb120 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2017

  1. Configuration menu
    Copy the full SHA
    f3a7af6 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2017

  1. Override Nulls.levels() instead of defining custom function

    This prevents a conflict with CategoricalArrays.
    nalimilan committed Oct 14, 2017
    Configuration menu
    Copy the full SHA
    96f7b05 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    622613a View commit details
    Browse the repository at this point in the history