home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 73810816

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/319#issuecomment-73810816 https://api.github.com/repos/pydata/xarray/issues/319 73810816 MDEyOklzc3VlQ29tbWVudDczODEwODE2 1794715 2015-02-11T00:00:14Z 2015-02-11T00:00:14Z CONTRIBUTOR

Clojure conventions: .take, .take_last get the first n and last n pandas/ndarray conventions: .take([3,4,5]) selects rows 3,4,5.

probably want to be consistent with one of these.

On Tue, Feb 10, 2015 at 3:28 PM, Stephan Hoyer notifications@github.com wrote:

These would be shortcuts for isel/slice syntax: - ds.head(time=5) -> ds.isel(time=slice(5)): select the first five time values - ds.tail(time=5) -> ds.isel(time=slice(-5, None)): select the last five time values - ds.subsample(time=5) -> ds.isel(time=slice(None, None, 5)): select every 5th time value

— Reply to this email directly or view it on GitHub https://github.com/xray/xray/issues/319.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  57254455
Powered by Datasette · Queries took 0.771ms · About: xarray-datasette