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

PooledVectors for isbitstypes of small size?

Open sairus7 opened this issue 3 years ago • 0 comments

data = """a	b	c	d
A	BB	CCC	DDDD
A	BB	CCC	DDDD
""" |> IOBuffer
df = CSV.File(data; header = 1) |> DataFrame

df[!, :a] # 2-element PooledVector{String1, UInt32, Vector{UInt32}}
df[!, :b] # 2-element PooledVector{String3, UInt32, Vector{UInt32}}
df[!, :c] # 2-element PooledVector{String3, UInt32, Vector{UInt32}}
df[!, :d] # 2-element PooledVector{String7, UInt32, Vector{UInt32}}

sairus7 avatar Feb 18 '22 18:02 sairus7