Skip to content

BUG: provide SparseArray creation in a platform independent manner #12936

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

Merged
merged 1 commit into from
Apr 20, 2016

Conversation

jreback
Copy link
Contributor

@jreback jreback commented Apr 20, 2016

makes creation w/o specifying a dtype choose np.int64/float64 regardless of the platform. This is similar to how Series works. This only is exposed on windows (as the default ndarray creation is np.int32) rather than np.int64

maybe should use pandas.core.series._sanitize_array (but needs some tweeks I think).

cc @sinhrks

@jreback jreback added Bug Sparse Sparse Data Type labels Apr 20, 2016
@jreback jreback added this to the 0.18.1 milestone Apr 20, 2016
@jreback jreback merged commit de32953 into pandas-dev:master Apr 20, 2016
@jreback
Copy link
Contributor Author

jreback commented Apr 20, 2016

doing this via _santize_array add a dependency here, so may not want to do this.

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

Successfully merging this pull request may close these issues.

1 participant