home / github / pull_requests

Menu
  • Search all tables
  • GraphQL API

pull_requests: 219154499

This data as json

id node_id number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone draft head base author_association auto_merge repo url merged_by
219154499 MDExOlB1bGxSZXF1ZXN0MjE5MTU0NDk5 2448 closed 0 Fix FutureWarning resulting from CFTimeIndex.date_type 6628425 With the latest version of pandas, checking the `date_type` of a CFTimeIndex produces a FutureWarning: ``` In [1]: import xarray as xr In [2]: times = xr.cftime_range('2000', periods=5) In [3]: times.date_type /Users/spencerclark/xarray-dev/xarray/xarray/coding/cftimeindex.py:161: FutureWarning: CFTimeIndex.data is deprecated and will be removed in a future version if self.data: Out[3]: cftime._cftime.DatetimeProlepticGregorian ``` I think it was a typo to begin with to use `self.data` in `cftimeindex.get_date_type` (my mistake). Here I switch to using `self._data`, which is used elsewhere when internally referencing values of the index. 2018-09-29T15:48:16Z 2018-09-30T13:17:11Z 2018-09-30T13:16:49Z 2018-09-30T13:16:49Z f9c4169150286fa1aac020ab965380ed21fe1148     0 89d190b910c8d526a234ea2f9d1972a156e1a848 23d1cda3b7da5c73a5f561a5c953b50beaa2bfe6 MEMBER   13221727 https://github.com/pydata/xarray/pull/2448  

Links from other tables

  • 0 rows from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 80.356ms