Skip to content

meta_nonempty returns types of correct size#1513

Merged
jcrist merged 1 commit intodask:masterfrom
jcrist:df-dtype-fix
Aug 29, 2016
Merged

meta_nonempty returns types of correct size#1513
jcrist merged 1 commit intodask:masterfrom
jcrist:df-dtype-fix

Conversation

@jcrist
Copy link
Copy Markdown
Member

@jcrist jcrist commented Aug 29, 2016

This was a bug with pd.Series([instance_of_correct_dtype]) upcasting
implicitly. This was leading to meta_nonempty(int32_series)
returning a series of dtype int64. Fixes #1512.

Also fixed units passing through for objects of type np.timedelta64
and np.datetime64.

This was a bug with `pd.Series([instance_of_correct_dtype])` upcasting
implicitly. This was leading to only `meta_nonempty(int32_series)`
returning a series of dtype `int64`. Fixes dask#1512.

Also fixed units passing through for objects of type `np.timedelta64`
and `np.datetime64`.
@jcrist jcrist merged commit f445116 into dask:master Aug 29, 2016
@jcrist jcrist deleted the df-dtype-fix branch August 29, 2016 18:49
@sinhrks sinhrks added this to the 0.11.1 milestone Oct 9, 2016
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

Successfully merging this pull request may close these issues.

Types of a fake partition in map_partition inferring are not exactly correct

2 participants