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

Small fixes for computing spreadfn aggregates #1543

Merged
merged 1 commit into from
Jun 15, 2017
Merged

Conversation

philippjfr
Copy link
Member

Fixed a small bug when aggregating with a spreadfn. In writing unit tests for this I also noticed that pandas uses ddof=1 (delta degrees of freedom) while the numpy default is ddof=0. I've adjusted the code to catch those cases and change the pandas version to ddof=0.

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: component: data labels Jun 15, 2017
@philippjfr
Copy link
Member Author

Looks like I need to rebuild test data, the Columnar_Data examples of using the spread function were using pandas and are therefore affected by the ddof change.

@jlstevens
Copy link
Contributor

Sounds like a bad bug - glad it is fixed and I'll merge once the tests are passing again.

@jlstevens
Copy link
Contributor

Tests are green. Merging.

@jlstevens jlstevens merged commit 1c26f67 into master Jun 15, 2017
@philippjfr philippjfr deleted the dataset_agg_fix branch June 17, 2017 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: component: data type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants