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 d6c2ff9 commit cc74010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataFrame_tools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ function atype(df::DataFrame,v::Symbol)
elseif isdefined(Main,:DataArrays) && typeof(df[!,v]) <: DataArray
return "DA"
elseif isdefined(Main,:PooledArrays) && typeof(df[!,v]) <: PooledArray
return "PA"
return string("PA (", replace(string(eltype(df[!,v].refs)),"UInt" => ""), ")")
elseif isa(eltype(df[!,v]),Union)
return "UV" # Union Vector
else
Expand Down

0 comments on commit cc74010

Please sign in to comment.