Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the relation to CategoricalArrays? #2

Closed
davidanthoff opened this issue Mar 31, 2017 · 4 comments
Closed

What is the relation to CategoricalArrays? #2

davidanthoff opened this issue Mar 31, 2017 · 4 comments

Comments

@davidanthoff
Copy link

https://github.com/JuliaData/CategoricalArrays.jl

Do they both try to do the same thing, i.e. replace PooledDataArray?

cc @nalimilan.

@JeffBezanson
Copy link
Contributor

A PooledArray behaves exactly like a normal array, with no behavior related to categorical variables or missing data. The pooled representation is only for memory efficiency and nothing else. The current implementation also assumes the element type has a total order, to allow a fast sortperm.

If the categorical value code can be factored out of CategoricalArrays, then it's possible this package could be merged with its array type.

@xiaodaigh
Copy link

@JeffBezanson does that mean that PooledArray does not support Nulls.Null?

@nalimilan
Copy link
Member

@xiaodaigh PooledArrays shouldn't need to do anything special to support null, it can work just like any other value. Do you have a use case in mind?

@bkamins
Copy link
Member

bkamins commented Jun 4, 2019

can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants