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

Improve inline documentation of select to include examples of multiple columns not to be included

Open ppalmes opened this issue 5 years ago • 1 comments

  • provide examples of select(df, Not([:col1, :col2, ...])) to have multiple columns excluded

ppalmes avatar Nov 02 '20 00:11 ppalmes

We have a very similar example in https://github.com/JuliaData/DataFrames.jl/blob/master/docs/src/man/getting_started.md already (with a regular expression not a vector, but this is the same).

Also Not is already documented in InvertedIndices.jl.

Still, if you think it would be useful to make this specific example - just please propose a PR. Probably it best fits https://github.com/JuliaData/DataFrames.jl/blob/master/docs/src/man/getting_started.md.

bkamins avatar Nov 02 '20 07:11 bkamins

This is covered in basics.md

bkamins avatar Dec 04 '22 15:12 bkamins