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

Implement skipna kwarg in xr.quantile #3844

Merged
merged 7 commits into from
Mar 8, 2020
Merged

Implement skipna kwarg in xr.quantile #3844

merged 7 commits into from
Mar 8, 2020

Conversation

aaronspring
Copy link
Contributor

@aaronspring aaronspring commented Mar 6, 2020

@pep8speaks
Copy link

pep8speaks commented Mar 6, 2020

Hello @aaronspring! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-03-07 10:26:25 UTC

@aaronspring aaronspring changed the title quick fix, no docs, no tests Implement skipna kwarg in xr.quantile Mar 7, 2020
@aaronspring aaronspring marked this pull request as ready for review March 7, 2020 10:24
@aaronspring
Copy link
Contributor Author

I am unsure whether I added enough tests. only one test that checks for different values with or without skipna.

doc/whats-new.rst Outdated Show resolved Hide resolved
@max-sixty
Copy link
Collaborator

This looks great @aaronspring ! Thanks!

doc/whats-new.rst Outdated Show resolved Hide resolved
aaronspring and others added 2 commits March 8, 2020 16:43
Co-Authored-By: Maximilian Roos <[email protected]>
Copy link
Collaborator

@keewis keewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, @aaronspring, this looks good to me.

Does it make sense to override / ignore skipna == True if the dtype does not allow missing values?

@max-sixty max-sixty merged commit cdaac64 into pydata:master Mar 8, 2020
@max-sixty
Copy link
Collaborator

Thanks again @aaronspring !

@dcherian
Copy link
Contributor

dcherian commented Mar 9, 2020

Yay thanks @aaronspring.

@aaronspring aaronspring deleted the AS_quantile_skipna_kwarg branch March 9, 2020 09:46
dcherian added a commit to ej81/xarray that referenced this pull request Mar 14, 2020
…e-size

* upstream/master: (24 commits)
  Fix alignment with join="override" when some dims are unindexed (pydata#3839)
  Fix CFTimeIndex-related errors stemming from updates in pandas (pydata#3764)
  Doctests fixes (pydata#3846)
  add xpublish to related projects (pydata#3850)
  update installation instruction (pydata#3849)
  Pint support for top-level functions (pydata#3611)
  un-xfail tests that append to netCDF files with scipy (pydata#3805)
  remove panel conversion (pydata#3845)
  Add nxarray to related-projects.rst (pydata#3848)
  Implement skipna kwarg in xr.quantile (pydata#3844)
  Allow `where` to receive a callable (pydata#3827)
  update macos image (pydata#3838)
  Label "Installed Versions" item in Issue template (pydata#3832)
  Add note on diff's n differing from pandas (pydata#3822)
  DOC: Add rioxarray and other external examples (pydata#3757)
  Use stable RTD image.
  removed mention that 'dims' are inferred from 'coords'-dict when omit… (pydata#3821)
  Coarsen keep attrs 3376 (pydata#3801)
  Turn on html repr by default (pydata#3812)
  Fix zarr append with groups (pydata#3610)
  ...
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.

Implement skipna in xr.quantile for speedup
5 participants