Dataframes.jl: Rename `tail` to avoid clash with `Base.tail`

Created on 17 May 2020  路  5Comments  路  Source: JuliaData/DataFrames.jl

I typically import Base: tail into scope. If I then do using DataFrames, I get a warning

WARNING: using DataFrames.tail in module Main conflicts with an existing identifier.

Although Base.tail is not exported, it is documented (https://docs.julialang.org/en/v1/base/collections/#Base.tail) and I think many people use it regularly.

To avoid this clash, maybe DataFrames can use a different name for this function? Or it could just extend Base.tail.

breaking

Most helpful comment

Well - we could make a release now as we have enough functionality to justify it, but users wanted to postpone the release to make sure we include all breaking things in 0.22 and there are several loose ends related to select/transform/combine that need working out and might lead to breakage.

CC @oxinabox @nalimilan

All 5 comments

@bkamins Any estimate of when this change will be released? I keep getting annoying bugs / warnings because of this (end up calling the wrong tail).

Well - we could make a release now as we have enough functionality to justify it, but users wanted to postpone the release to make sure we include all breaking things in 0.22 and there are several loose ends related to select/transform/combine that need working out and might lead to breakage.

CC @oxinabox @nalimilan

I would really like hold off on release until we are done.
Its much easier to batch up upgrading literally dozens of packages.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bkamins picture bkamins  路  7Comments

rofinn picture rofinn  路  3Comments

bkamins picture bkamins  路  8Comments

pdeffebach picture pdeffebach  路  8Comments

bbrunaud picture bbrunaud  路  3Comments