Skip to content

Commit

Permalink
Update DataFrame_tools.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mwsohn authored Apr 3, 2022
1 parent 2dbcaaf commit e1b8fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataFrame_tools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -619,15 +619,15 @@ function eltype2(df::DataFrame,v::Symbol)
end

"""
desc(df::DataFrame,varnames::Symbol...; labels::Union{Nothing,Label}=nothing, dfout::Bool = false)
desc(df::DataFrame,varnames::Symbol...; labels::Union{Nothing,Label}=nothing, dfout::Bool = false, nmiss::Bool = false)
Displays variables in a dataframe much like `showcols`. It can display additional
attributes such as variable labels, value labels and display formats (not used in Julia)
if an optional `labels` is specified. It mimics Stata's `describe` command.
`labels` is automatically converted from a stata file by `read_stata` function. Or one can
be easily created as described in [Labels](https://github.com/mwsohn/Labels.jl).
"""
function desc(df::DataFrame,varnames::Symbol...; labels::Union{Nothing,Label}=nothing, dfout::Bool = false, nmiss:Bool = false)
function desc(df::DataFrame,varnames::Symbol...; labels::Union{Nothing,Label}=nothing, dfout::Bool = false, nmiss::Bool = false)

if length(varnames) == 0
varnames = propertynames(df)
Expand Down

0 comments on commit e1b8fcf

Please sign in to comment.