home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

16 rows where author_association = "NONE" and user = 61923007 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: issue_url, created_at (date), updated_at (date)

issue 8

  • Add method to format xarray.DataArray as strings for issue #5985 7
  • Passing extra keyword arguments to `curvefit` throws an exception. 2
  • interpolate_na documentation 2
  • Example on using `preprocess` with `mfdataset` 1
  • Support for monotonically decreasing indices in interpolate_na 1
  • Formatting data array as strings? 1
  • Bug when padding coordinates with NaNs 1
  • Modify interp_na to consider monotonically decreasing indices for issue #4637 1

user 1

  • husainridwan · 16 ✖

author_association 1

  • NONE · 16 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1494333564 https://github.com/pydata/xarray/pull/7712#issuecomment-1494333564 https://api.github.com/repos/pydata/xarray/issues/7712 IC_kwDOAMm_X85ZEbh8 husainridwan 61923007 2023-04-03T13:32:58Z 2023-04-03T13:32:58Z NONE

@TomNicholas check this out

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Modify interp_na to consider monotonically decreasing indices for issue #4637 1652038670
1491793033 https://github.com/pydata/xarray/issues/4637#issuecomment-1491793033 https://api.github.com/repos/pydata/xarray/issues/4637 IC_kwDOAMm_X85Y6vSJ husainridwan 61923007 2023-03-31T11:36:46Z 2023-03-31T11:37:12Z NONE

@TomNicholas @dcherian where would I start from if I want to work on this?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support for monotonically decreasing indices in interpolate_na 754789691
1490323477 https://github.com/pydata/xarray/pull/7628#issuecomment-1490323477 https://api.github.com/repos/pydata/xarray/issues/7628 IC_kwDOAMm_X85Y1IgV husainridwan 61923007 2023-03-30T13:39:12Z 2023-03-30T13:39:12Z NONE

@keewis @TomNicholas @headtr1ck any comments?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add method to format xarray.DataArray as strings for issue #5985 1624520287
1490313819 https://github.com/pydata/xarray/issues/6431#issuecomment-1490313819 https://api.github.com/repos/pydata/xarray/issues/6431 IC_kwDOAMm_X85Y1GJb husainridwan 61923007 2023-03-30T13:33:09Z 2023-03-30T13:33:09Z NONE

@TomNicholas, I believe the pad() method does not consider any coordinates and only pads the data along the dimensions it contains. That's why the padding leads to a new data array that has the same dimension name as the original one but no coordinates.

We can set the coordinates explicitly using the coords attribute of the DataArray after padding. Check this example: ``` import numpy as np import xarray as xr

da = xr.DataArray(np.arange(9), dim='x') padded_da = da.pad({'x': (0, 1)}, 'constant') padded_da.coords['x'] = np.arange(padded_da.shape[0]) print(padded_da)

<xarray.DataArray (x: 3)> array([ 0., 1., nan]) Coordinates: * x (x) int64 0 1 2 ```

Hopefully this helps!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Bug when padding coordinates with NaNs 1188523721
1476754932 https://github.com/pydata/xarray/pull/7628#issuecomment-1476754932 https://api.github.com/repos/pydata/xarray/issues/7628 IC_kwDOAMm_X85YBX30 husainridwan 61923007 2023-03-20T18:44:13Z 2023-03-20T18:44:13Z NONE

@keewis it seems .str.format does what we want the issue is requesting. Is there any need for the issue or can you clarify exactly what needs to be improved?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add method to format xarray.DataArray as strings for issue #5985 1624520287
1474986201 https://github.com/pydata/xarray/issues/6891#issuecomment-1474986201 https://api.github.com/repos/pydata/xarray/issues/6891 IC_kwDOAMm_X85X6oDZ husainridwan 61923007 2023-03-18T20:37:25Z 2023-03-18T20:37:25Z NONE

@TomNicholas I would like to work on this. Where do I start from?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Passing extra keyword arguments to `curvefit` throws an exception. 1331985070
1474755366 https://github.com/pydata/xarray/pull/7628#issuecomment-1474755366 https://api.github.com/repos/pydata/xarray/issues/7628 IC_kwDOAMm_X85X5vsm husainridwan 61923007 2023-03-18T07:10:34Z 2023-03-18T07:10:34Z NONE

@headtr1ck @keewis can you check it now? I’ve modified it a bit

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add method to format xarray.DataArray as strings for issue #5985 1624520287
1473625704 https://github.com/pydata/xarray/issues/6891#issuecomment-1473625704 https://api.github.com/repos/pydata/xarray/issues/6891 IC_kwDOAMm_X85X1b5o husainridwan 61923007 2023-03-17T10:30:05Z 2023-03-17T10:30:05Z NONE

I think this depends on the version of xarray you’re using. Newer versions from at least 0.16.0 and later now support your MVCE. If you’re still using an older version, you’ll have to pass it as dictionary elements as you said. @zoj613 @TomNicholas, you can check this out.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Passing extra keyword arguments to `curvefit` throws an exception. 1331985070
1471402226 https://github.com/pydata/xarray/pull/7628#issuecomment-1471402226 https://api.github.com/repos/pydata/xarray/issues/7628 IC_kwDOAMm_X85Xs9Dy husainridwan 61923007 2023-03-16T06:40:26Z 2023-03-16T06:40:26Z NONE

@TomNicholas & @headtr1ck , Can you review this so I can know what to change? I think it's failing just one test

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add method to format xarray.DataArray as strings for issue #5985 1624520287
1469866148 https://github.com/pydata/xarray/pull/7628#issuecomment-1469866148 https://api.github.com/repos/pydata/xarray/issues/7628 IC_kwDOAMm_X85XnGCk husainridwan 61923007 2023-03-15T11:52:48Z 2023-03-15T11:52:48Z NONE

@k

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add method to format xarray.DataArray as strings for issue #5985 1624520287
1469756497 https://github.com/pydata/xarray/pull/7628#issuecomment-1469756497 https://api.github.com/repos/pydata/xarray/issues/7628 IC_kwDOAMm_X85XmrRR husainridwan 61923007 2023-03-15T10:35:06Z 2023-03-15T10:35:06Z NONE

I think the initial issue was to create a method that allows any specific significant figure to be used and then formatted as strings after. I think I'm having issues with a floating dtype. Check the image below

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add method to format xarray.DataArray as strings for issue #5985 1624520287
1469066498 https://github.com/pydata/xarray/pull/7628#issuecomment-1469066498 https://api.github.com/repos/pydata/xarray/issues/7628 IC_kwDOAMm_X85XkC0C husainridwan 61923007 2023-03-15T00:48:53Z 2023-03-15T00:48:53Z NONE

@TomNicholas Can you review this for me?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add method to format xarray.DataArray as strings for issue #5985 1624520287
1468368902 https://github.com/pydata/xarray/issues/6899#issuecomment-1468368902 https://api.github.com/repos/pydata/xarray/issues/6899 IC_kwDOAMm_X85XhYgG husainridwan 61923007 2023-03-14T15:54:28Z 2023-03-14T15:54:28Z NONE

I'll like to update this in the documentation @TomNicholas

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  interpolate_na documentation 1333117804
1468367690 https://github.com/pydata/xarray/issues/6899#issuecomment-1468367690 https://api.github.com/repos/pydata/xarray/issues/6899 IC_kwDOAMm_X85XhYNK husainridwan 61923007 2023-03-14T15:53:44Z 2023-03-14T15:53:44Z NONE

From what I was able to gather, numpy.interp only takes three keyword arguments as **kwargs i.e. left, right, and period but not fill_value. So when passing fill_value as a keyword argument to xarray.Dataset.interpolate_na with method="linear", it does not use numpy.interp but it uses scipy.interpolate.interp1d(), which provides the fill_value parameter.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  interpolate_na documentation 1333117804
1468024753 https://github.com/pydata/xarray/issues/2313#issuecomment-1468024753 https://api.github.com/repos/pydata/xarray/issues/2313 IC_kwDOAMm_X85XgEex husainridwan 61923007 2023-03-14T12:35:00Z 2023-03-14T12:35:00Z NONE

I'll like to work on this @TomNicholas, where do I start from?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Example on using `preprocess` with `mfdataset` 344614881
1461552218 https://github.com/pydata/xarray/issues/5985#issuecomment-1461552218 https://api.github.com/repos/pydata/xarray/issues/5985 IC_kwDOAMm_X85XHYRa husainridwan 61923007 2023-03-09T08:27:23Z 2023-03-09T08:31:14Z NONE

Hi @TomNicholas , how do I contribute to this as an outreachy intern?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Formatting data array as strings? 1052753606

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 13.963ms · About: xarray-datasette