I was making extensive of the Not function for column selection in DataFrames. However this is deprecated in v0.20.0 and I haven’t yet found how to do the equivalent in the latest documentation.
Indeed the DataFrames documentation still shows this usage:
A Not selector (from the InvertedIndices package) can be used to select all columns excluding a specific subset:
The notice of changes for DataFrames v0.20.0 states specifically that Not is no longer available. If I try to use it from the InvertedIndices package, it still fails.
Too add on my previous post: InvertedIndices.jl is exactly what DataFrames.jl uses. It is re-exported by the package.
Not sure what troubles you are having but I’m on v0.20.2 and have no dep warning or anything like that. Examples like you posted work fine. Perhaps try to update?