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

dropna() for a Series indexed by a CFTimeIndex #2734

Merged
merged 3 commits into from
Feb 2, 2019

Conversation

spencerkclark
Copy link
Member

@spencerkclark spencerkclark commented Feb 1, 2019

Thanks for the suggestion, @shoyer.

cc: @jwenfai

@jwenfai jwenfai mentioned this pull request Feb 1, 2019
3 tasks
if not isinstance(key, slice):
return series.iloc[self.get_loc(key)]
else:
if np.asarray(key).dtype is np.dtype(bool):
Copy link
Member

Choose a reason for hiding this comment

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

Use == instead of is -- in theory np.dtype() could return new dtype objects.

@shoyer shoyer merged commit a1ff90b into pydata:master Feb 2, 2019
dcherian pushed a commit to yohai/xarray that referenced this pull request Feb 4, 2019
* master:
  remove xfail from test_cross_engine_read_write_netcdf4 (pydata#2741)
  Reenable cross engine read write netCDF test (pydata#2739)
  remove bottleneck dev build from travis, this test env was failing to build (pydata#2736)
  CFTimeIndex Resampling (pydata#2593)
  add tests for handling of empty pandas objects in constructors (pydata#2735)
  dropna() for a Series indexed by a CFTimeIndex (pydata#2734)
  deprecate compat & encoding (pydata#2703)
  Implement integrate (pydata#2653)
  ENH: resample methods with tolerance (pydata#2716)
  improve error message for invalid encoding (pydata#2730)
  silence a couple of warnings (pydata#2727)
@spencerkclark spencerkclark deleted the cftimeindex-dropna branch February 16, 2019 02:17
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.

2 participants