title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
updated_at
stringlengths
20
20
BUG: to_json - prevent various segfault conditions (GH14256)
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index d6bdf153e0368..f4fbbd3596b57 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -956,6 +956,7 @@ I/O - Bug in :meth:`DataFrame.to_html` with ``notebook=True`` where DataFrames with named indices or n...
- [x] closes #14256 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry There were several sources for the JSON string buffer at enc->start exceeding the reserved space: - Loops on DataFrame columns being stuck on the same column if enc->errorMsg ...
https://api.github.com/repos/pandas-dev/pandas/pulls/17857
2017-10-12T15:59:09Z
2017-10-14T14:36:39Z
2017-10-14T14:36:39Z
2017-10-14T14:36:53Z
BUG: adds validation for boolean keywords in DataFrame.set_index
diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt index ccaa408603333..d177574ad3fdc 100644 --- a/doc/source/whatsnew/v0.22.0.txt +++ b/doc/source/whatsnew/v0.22.0.txt @@ -162,5 +162,5 @@ Other ^^^^^ - Improved error message when attempting to use a Python keyword as an identifier in a ...
ENH: Adds util._validators.validate_keywords_as_bool decorator - [x] closes #16714 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I've used a decorator so that we can check all the boolean kwargs at once rather than have a lot of lines of `v...
https://api.github.com/repos/pandas-dev/pandas/pulls/17853
2017-10-12T12:18:26Z
2017-12-28T12:36:32Z
null
2017-12-28T12:36:32Z
BUG: duplicate indexing with embedded non-orderables (#17610)
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 2b2dd4915b560..ca2ab43022608 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -978,6 +978,7 @@ Indexing - Bug in :meth:`DataFrame.first_valid_index` and :meth:`DataFrame.last_valid_index` when no v...
BUG: duplicate indexing with embedded non-orderables (#17610) - [x] closes #xxxx - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17851
2017-10-12T08:54:41Z
2017-12-03T12:59:06Z
null
2017-12-03T12:59:06Z
BUG: duplicate indexing with embedded non-orderables (#17610)
BUG: duplicate indexing with embedded non-orderables BUG: duplicate indexing with embedded non-orderables BUG: duplicate indexing with embedded non-orderables (#17610) ss - [x] closes #xxxx - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entr...
https://api.github.com/repos/pandas-dev/pandas/pulls/17849
2017-10-12T06:21:12Z
2017-10-12T06:56:16Z
null
2017-10-12T07:24:52Z
BUG: duplicate indexing with embedded non-orderables (#17610)
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index d7a08b1985076..8be404fd1cefc 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -936,6 +936,7 @@ Indexing - Bug in :meth:`DataFrame.first_valid_index` and :meth:`DataFrame.last_valid_index` when no v...
Bug in ``Series`` containing duplicate indexing when gets embedded non-orderables or orderables, raises error or returns unexpected result. (:issue:`17610`) - [x] closes # 17610 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17848
2017-10-12T05:38:04Z
2017-10-12T06:08:47Z
null
2017-10-12T06:08:47Z
BUG: Ignore division by 0 when merging empty dataframes (#17776)
diff --git a/doc/source/whatsnew/v0.21.1.txt b/doc/source/whatsnew/v0.21.1.txt index 4c6cdb9846305..87e4dba0342a0 100644 --- a/doc/source/whatsnew/v0.21.1.txt +++ b/doc/source/whatsnew/v0.21.1.txt @@ -120,7 +120,7 @@ Reshaping - Error message in ``pd.merge_asof()`` for key datatype mismatch now includes datatype of le...
- [x] closes #17776 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17846
2017-10-11T18:57:43Z
2017-11-27T11:36:21Z
2017-11-27T11:36:21Z
2017-12-18T20:06:47Z
BUG: set tz on DTI from fixed format HDFStore
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index f04410ef63531..3581565e82fe6 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -938,6 +938,7 @@ Indexing I/O ^^^ +- Bug in :func:`read_hdf` when reading a timezone aware index from ``fixed`` form...
Set the tz after creating the DatetimeIndex instance when reading from a fixed format HDFStore. Setting the tz during instance creation offset data. closes #17618 - [x] closes #xxxx - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17844
2017-10-11T06:39:28Z
2017-10-13T10:32:47Z
2017-10-13T10:32:46Z
2017-10-13T10:32:51Z
Refactor index-as-string groupby tests and fix spurious warning (Bug 17383)
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index f04410ef63531..5727888044229 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -974,6 +974,7 @@ Groupby/Resample/Rolling - Bug in ``DataFrame.groupby`` where index and column keys were not recognize...
- [x] closes #17383 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Test case refactoring: - Moved the existing index-as-string test cases out of `test_groupby.py` and into a new `test_index_as_string.py` file - Extracted test data gener...
https://api.github.com/repos/pandas-dev/pandas/pulls/17843
2017-10-10T21:06:15Z
2017-10-14T14:54:14Z
2017-10-14T14:54:13Z
2017-10-14T14:54:50Z
API: Deprecate renamae_axis and reindex_axis
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index be9d1a5d83b85..3044a8886b9ae 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1201,8 +1201,11 @@ With a DataFrame, you can simultaneously reindex the index and columns: df df.reindex(index=['c', 'f', 'b'], columns=['three', 'two'...
Closes https://github.com/pandas-dev/pandas/issues/17833 Some notes: - the positional argument for `rename_axis` is `mapper`, which isn't really descriptive of what it does now. Oh well - Added a TODO in https://github.com/pandas-dev/pandas/compare/master...TomAugspurger:depr-rename_axis?expand=1#diff-492dc2a862...
https://api.github.com/repos/pandas-dev/pandas/pulls/17842
2017-10-10T19:49:31Z
2017-10-11T15:18:06Z
2017-10-11T15:18:06Z
2017-10-14T15:53:47Z
BUG: merging with a boolean/int categorical column
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index f04410ef63531..1ca2a81967949 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -1010,6 +1010,7 @@ Categorical - Bug in :func:`Series.isin` when called with a categorical (:issue:`16639`) - Bug in t...
Additional check prevents trying to change types of categorical blocks. - [x] closes #17187 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17841
2017-10-10T15:35:23Z
2017-10-14T14:48:51Z
2017-10-14T14:48:51Z
2017-10-14T14:49:03Z
BUG: Fix range dtype in Series/DataFrame constructor on Windows
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index a889292cacc99..6b768fddb7037 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -955,6 +955,7 @@ Conversion - Bug in ``Timedelta`` construction and arithmetic that would not propagate the ``Overflow`...
- [X] closes #16804 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry Had to modify a few existing tests that use `range`, as this caused them to fail due to dtypes mismatch; mostly just involved switching to `np.arange`.
https://api.github.com/repos/pandas-dev/pandas/pulls/17840
2017-10-10T14:58:54Z
2017-10-19T10:16:41Z
2017-10-19T10:16:41Z
2017-10-19T15:34:31Z
Set ignore floating-point error in _get_join_keys().
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 0990d2bd15ee6..be9d1a5d83b85 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1217,6 +1217,15 @@ following can be done: This means that the reindexed Series's index is the same Python object as the DataFrame's index. +.. versionadded...
- [x] closes #17776 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17838
2017-10-10T14:39:06Z
2017-10-11T17:12:22Z
null
2017-10-11T17:12:22Z
TST: cleanup warnings on mpl 2.1
diff --git a/pandas/plotting/_compat.py b/pandas/plotting/_compat.py index 7b04b9e1171ec..d527bc08e2f08 100644 --- a/pandas/plotting/_compat.py +++ b/pandas/plotting/_compat.py @@ -65,3 +65,11 @@ def _mpl_ge_2_0_1(): return matplotlib.__version__ >= LooseVersion('2.0.1') except ImportError: retur...
https://api.github.com/repos/pandas-dev/pandas/pulls/17835
2017-10-10T12:08:42Z
2017-10-10T13:14:54Z
2017-10-10T13:14:54Z
2017-10-11T04:50:39Z
DEPR: Deprecate the convert parameter completely
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9d9d8334fcaf4..c7a27ebc65c05 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2172,6 +2172,7 @@ def _take(self, indices, axis=0, convert=True, is_copy=True): selecting rows, "1" means that we are selecting columns, etc. ...
Previously, we weren't issuing a warning if the user happened to pass in the original default of `True`, which would cause downstream code to break. Closes #17828
https://api.github.com/repos/pandas-dev/pandas/pulls/17831
2017-10-10T05:11:05Z
2017-10-12T21:04:35Z
2017-10-12T21:04:34Z
2017-10-13T01:29:14Z
Start porting offsets to cython
diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt index e85ba505887b4..cbd094ec4ef49 100644 --- a/doc/source/whatsnew/v0.22.0.txt +++ b/doc/source/whatsnew/v0.22.0.txt @@ -42,7 +42,7 @@ Other API Changes - ``NaT`` division with :class:`datetime.timedelta` will now return ``NaN`` instead ...
This is _mostly_ cut/paste, avoiding moving any of the classes for the time being. There is a small change in `_to_dt64` that will be described in a comment below. Defined `dtstrings` for flake8 cleanup in setup.
https://api.github.com/repos/pandas-dev/pandas/pulls/17830
2017-10-10T01:33:29Z
2017-10-28T18:53:13Z
2017-10-28T18:53:13Z
2017-11-10T16:06:31Z
DOC: slice_indexer correction + examples
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index 44358593793bc..db1780e88baef 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -833,6 +833,8 @@ Of course if you need integer based selection, then use ``iloc`` IntervalIndex ~~~~~~~~~~~~~ +.. versionadded:: 0.20.0 + :class:`I...
The stated return value of ``Index.slice_indexer`` in the doc string is wrong, the method can only return slices. Also added some examples. In addition, some very minor corrections on the user guide text on ``IntervalIndex`` (moved the versionadded to the chapter top + a spelling correction). EDIT: These are not r...
https://api.github.com/repos/pandas-dev/pandas/pulls/17829
2017-10-09T22:13:15Z
2017-10-30T08:31:05Z
2017-10-30T08:31:05Z
2017-11-06T21:46:42Z
Move timedelta-specific functions to tslibs.timedeltas
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 62224d75db37f..a0aae6a5de707 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -83,6 +83,7 @@ PyDateTime_IMPORT cdef int64_t NPY_NAT = util.get_nat() iNaT = NPY_NAT +from tslibs.timedeltas cimport parse_timedelta_string, cast_from_...
Once #17793 is merged then the remaining timedeltas functions can be moved: convert_to_timedelta64 and array_to_timedelta64. Most of Timedelta and _Timedelta can also be moved over in a follow up.
https://api.github.com/repos/pandas-dev/pandas/pulls/17827
2017-10-09T16:35:13Z
2017-10-21T14:40:42Z
2017-10-21T14:40:42Z
2017-10-27T22:11:22Z
Remove keep_tz kwarg from DatetimeIndex.to_frame
diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py index dae62176722e1..25897bee29845 100644 --- a/pandas/core/indexes/datetimes.py +++ b/pandas/core/indexes/datetimes.py @@ -915,46 +915,6 @@ def to_series(self, keep_tz=False): index=self._shallow_copy(), ...
xref https://github.com/pandas-dev/pandas/pull/17815#discussion_r143396690
https://api.github.com/repos/pandas-dev/pandas/pulls/17826
2017-10-09T15:03:18Z
2017-10-10T07:34:37Z
2017-10-10T07:34:37Z
2017-10-10T07:40:43Z
TST: Local conftest for test_offsets.py
diff --git a/pandas/tests/tseries/conftest.py b/pandas/tests/tseries/conftest.py new file mode 100644 index 0000000000000..25446c24b28c0 --- /dev/null +++ b/pandas/tests/tseries/conftest.py @@ -0,0 +1,13 @@ +import pytest +import pandas.tseries.offsets as offsets + + +@pytest.fixture(params=[getattr(offsets, o) for o i...
- [x] closes xxxxx - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Continued from #17622 per comments. Looks like `offset_types` property can be replaced entirely with a fixture.
https://api.github.com/repos/pandas-dev/pandas/pulls/17825
2017-10-09T07:11:13Z
2017-10-09T12:09:02Z
2017-10-09T12:09:02Z
2017-10-27T06:38:03Z
BUG: Coerce to numeric despite uint64 conflict
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 595fab9e18ea4..bf73c675697f4 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -828,6 +828,7 @@ Conversion - Bug in ``Timestamp.replace`` when replacing ``tzinfo`` around DST changes (:issue:`15683`...
Previously, `to_numeric` was not coercing elements to numeric if the conversion was going to be lossy (e.g. `uint64` combined with `nan`), even when `errors='coerce'`. Now the `errors` parameter takes precedence. Closes #17007. Closes #17125.
https://api.github.com/repos/pandas-dev/pandas/pulls/17823
2017-10-09T03:09:39Z
2017-10-09T22:57:36Z
2017-10-09T22:57:36Z
2017-10-10T03:20:12Z
TST: Add the default separator test for PythonParser
diff --git a/doc/source/io.rst b/doc/source/io.rst index e6b51b7e2f45c..a7f8d9da15328 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -84,7 +84,8 @@ filepath_or_buffer : various sep : str, defaults to ``','`` for :func:`read_csv`, ``\t`` for :func:`read_table` Delimiter to use. If sep is ``None``, the C e...
- [x] closes #17333 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17822
2017-10-09T02:41:49Z
2017-10-11T15:21:27Z
2017-10-11T15:21:27Z
2017-10-11T15:21:27Z
BUG: Fix default encoding for CSVFormatter.save
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 8b2c4d16f4e1a..ad184d0a6a792 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -334,6 +334,7 @@ I/O - Bug in :func:`read_csv` in which memory management issues in exception handling, under certain c...
- [x] closes #17097 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17821
2017-10-09T01:43:54Z
2017-10-11T15:19:57Z
2017-10-11T15:19:56Z
2017-10-11T15:19:57Z
DEPR: Deprecate tupleize_cols in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index 0aa4ea72e3b13..08d00138b7cd8 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -343,6 +343,10 @@ dialect : str or :class:`python:csv.Dialect` instance, default ``None`` override values, a ParserWarning will be issued. See :class:`python:csv.Dialect` ...
xref <a href="https://github.com/pandas-dev/pandas/pull/17060#issuecomment-317692667">#17060 (comment)</a>
https://api.github.com/repos/pandas-dev/pandas/pulls/17820
2017-10-08T23:40:01Z
2017-10-09T19:17:19Z
2017-10-09T19:17:19Z
2017-10-09T19:27:16Z
ERR: Raise ValueError when week is passed in to_datetime format witho…
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 1e9c402dac73e..033e428bcbbb0 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -701,6 +701,7 @@ Other API Changes - :func:`Series.argmin` and :func:`Series.argmax` will now raise a ``TypeError`` whe...
…ut day or year (#16774) - [x] closes #16774 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17819
2017-10-08T20:28:55Z
2017-10-14T18:53:05Z
2017-10-14T18:53:05Z
2017-10-14T19:48:55Z
Typo in error message
diff --git a/pandas/core/window.py b/pandas/core/window.py index 869296503225d..e3a091573aa2f 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -1138,8 +1138,8 @@ def _validate_freq(self): try: return to_offset(self.window) except (TypeError, ValueError): - rais...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17817
2017-10-08T07:08:05Z
2017-10-08T11:07:25Z
2017-10-08T11:07:25Z
2017-10-08T11:07:31Z
CLN: Use pandas.core.common for None checks
diff --git a/pandas/core/common.py b/pandas/core/common.py index e0dc420bc53f8..7b96700313012 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -223,17 +223,36 @@ def _mut_exclusive(**kwargs): def _not_none(*args): + """Returns a generator consisting of the arguments that are not None""" re...
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Used `None` checking functions from `pandas.core.common` where applicable. Common patterns changed: - `all(v is not None for v in values)` -> `_all_not_none(*values)` - Used `*` for argument unpacking in many cases, not sure if that's frown...
https://api.github.com/repos/pandas-dev/pandas/pulls/17816
2017-10-08T02:20:49Z
2017-10-13T11:32:11Z
2017-10-13T11:32:11Z
2017-10-19T23:16:11Z
ENH: Add Index.to_frame method
diff --git a/doc/source/api.rst b/doc/source/api.rst index d98a18e6f7e36..646a28686bb06 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1376,6 +1376,7 @@ Conversion Index.tolist Index.to_datetime Index.to_series + Index.to_frame Sorting ~~~~~~~ @@ -1591,6 +1592,7 @@ Conversion Datetim...
Title is self-explanatory. Closes #15230.
https://api.github.com/repos/pandas-dev/pandas/pulls/17815
2017-10-08T01:58:02Z
2017-10-09T12:17:05Z
2017-10-09T12:17:05Z
2017-10-09T16:34:09Z
DOC: Fix docstring for tsplot
diff --git a/pandas/plotting/_timeseries.py b/pandas/plotting/_timeseries.py index 3d04973ed0009..0d087f5d10123 100644 --- a/pandas/plotting/_timeseries.py +++ b/pandas/plotting/_timeseries.py @@ -22,16 +22,22 @@ def tsplot(series, plotf, ax=None, **kwargs): """ - Plots a Series on the given Matplotlib axes ...
Browsing through pandas, I noticed a small plotting function who's docs were incomplete / out of date. This is a small update to the docstring for tsplot in plotting/_timeseries. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entr...
https://api.github.com/repos/pandas-dev/pandas/pulls/17814
2017-10-07T20:24:53Z
2017-12-02T17:33:48Z
null
2017-12-04T11:17:17Z
DEPR: Deprecate from_csv in favor of read_csv
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index ed3be71852299..2eefc7ec1b636 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -715,6 +715,7 @@ Other API Changes Deprecations ~~~~~~~~~~~~ +- :meth:`DataFrame.from_csv` and :meth:`Series.from_cs...
Title is self-explanatory. Closes #4191.
https://api.github.com/repos/pandas-dev/pandas/pulls/17812
2017-10-07T09:02:07Z
2017-10-10T04:49:22Z
2017-10-10T04:49:21Z
2017-10-10T04:52:58Z
Fix a small typo
diff --git a/pandas/core/reshape/reshape.py b/pandas/core/reshape/reshape.py index d280c4f3f73d7..4eb35daba2282 100644 --- a/pandas/core/reshape/reshape.py +++ b/pandas/core/reshape/reshape.py @@ -1080,7 +1080,7 @@ def get_dummies(data, prefix=None, prefix_sep='_', dummy_na=False, prefix : string, list of strings,...
- [x] closes #xxxx - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This PR fixes a small typo : Alternativly -> Alternatively. Thanks for the awesome project!
https://api.github.com/repos/pandas-dev/pandas/pulls/17811
2017-10-07T07:28:34Z
2017-10-07T11:02:58Z
2017-10-07T11:02:58Z
2017-10-08T02:06:24Z
[WIP] TST/MAINT: split up test_resample.py (GH17806)
diff --git a/pandas/tests/resample/__init__.py b/pandas/tests/resample/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/pandas/tests/resample/base.py b/pandas/tests/resample/base.py new file mode 100644 index 0000000000000..d15810316bc67 --- /dev/null +++ b/pandas/tests/resample/base.py ...
- [ ] closes #17806 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17808
2017-10-06T20:22:12Z
2018-01-21T18:14:16Z
null
2018-01-21T18:14:16Z
Implement npy_dtime.pyx
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 5269cddf8d2fd..7a335b19eb87b 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -47,7 +47,6 @@ from datetime cimport ( npy_datetime, is_leapyear, dayofweek, - check_dts_bounds, PANDAS_FR_ns, PyDateTime_Check,...
`npy_dtime` is a `util`-like module for `tslibs`. Actually, a better analogy would be src/datetime.pxd (which it ultimately is intended to replace). Upcoming steps require `_check_dts_bounds` and `OutOfBoundsDatetime` be in a module upstream from `tslib`. The exception `OutOfBoundsDatetime` cannot be defined in a ...
https://api.github.com/repos/pandas-dev/pandas/pulls/17805
2017-10-06T16:50:38Z
2017-10-29T21:36:55Z
2017-10-29T21:36:55Z
2017-12-08T19:39:07Z
BLD: fix setup.py for xref #17798
diff --git a/setup.py b/setup.py index 23457c6f4edc1..365d387dc54d6 100755 --- a/setup.py +++ b/setup.py @@ -720,7 +720,7 @@ def pxd(name): 'sas/data/*.sas7bdat', 'data/*.html', 'data/html_encoding...
xref #17798
https://api.github.com/repos/pandas-dev/pandas/pulls/17804
2017-10-06T14:17:14Z
2017-10-06T15:22:34Z
2017-10-06T15:22:34Z
2017-10-06T15:46:42Z
DOC: sub-section on boolean Index array changes
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 94e4700a59f24..e6a8b070f9c44 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -356,6 +356,61 @@ Selection with all keys found is unchanged. s.loc[[1, 2]] +.. _whatsnew_0210.api_breaking.loc_...
closes #17740
https://api.github.com/repos/pandas-dev/pandas/pulls/17803
2017-10-06T10:05:54Z
2017-10-06T15:37:25Z
2017-10-06T15:37:25Z
2017-10-06T15:39:01Z
DOC: some typos in whatsnew
diff --git a/doc/source/remote_data.rst b/doc/source/remote_data.rst index 9af66058a7aaa..aba70ccbcc9fb 100644 --- a/doc/source/remote_data.rst +++ b/doc/source/remote_data.rst @@ -13,18 +13,18 @@ DataReader The sub-package ``pandas.io.data`` was deprecated in v.0.17 and removed in `v.0.19 <http://pandas-docs.githu...
https://api.github.com/repos/pandas-dev/pandas/pulls/17802
2017-10-06T07:11:25Z
2017-10-06T08:03:30Z
2017-10-06T08:03:30Z
2017-10-06T08:06:57Z
Closes #17788: Fix resample's deprecated `how` parameter documentation
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index d2d5ee344591a..36ffe8806f373 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -1456,8 +1456,9 @@ The ``resample`` function is very flexible and allows you to specify many different parameters to control the frequency conv...
Doc only pull request that closes #17788.
https://api.github.com/repos/pandas-dev/pandas/pulls/17801
2017-10-05T23:48:03Z
2017-10-06T01:47:13Z
2017-10-06T01:47:13Z
2017-10-06T11:05:42Z
API: Added axis argument to rename, reindex
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 0990d2bd15ee6..be9d1a5d83b85 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1217,6 +1217,15 @@ following can be done: This means that the reindexed Series's index is the same Python object as the DataFrame's index. +.. versionadded...
xref: https://github.com/pandas-dev/pandas/issues/12392 I want to test this a bit further and clean up the code for a bit, but figured I'd put this up as I'm going offline for a few hours. Any comments on the general approach of adding `*args`, and then manually validating that the parameters are consistent?
https://api.github.com/repos/pandas-dev/pandas/pulls/17800
2017-10-05T22:15:24Z
2017-10-10T15:17:58Z
2017-10-10T15:17:58Z
2017-10-24T13:26:04Z
DOC: Add examples to MultiIndex.slice_locs + note that index.slice requires
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index c4e1398d0178f..29aace2a94c5a 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3572,6 +3572,19 @@ def slice_locs(self, start=None, end=None, step=None, kind=None): ------- start, end : int + ...
Clarify ``.slice_locs`` and set up examples for how to use the method. Also, for ``pd.Index`` clarify that using ``.slice_locs`` requires that the index is monotonic.
https://api.github.com/repos/pandas-dev/pandas/pulls/17799
2017-10-05T21:52:29Z
2017-10-06T11:46:32Z
2017-10-06T11:46:32Z
2017-10-09T21:00:02Z
ENH: Add tranparent compression to json reading/writing
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 7fbf2533428dc..8d6d7947b6892 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -195,7 +195,7 @@ Other Enhancements - :func:`read_json` now accepts a ``chunksize`` parameter that can be used when ``l...
This works in the same way as the argument to ``read_csv``and ``to_csv``. I've added tests confirming that it works with both file paths, and S3 URLs. (obviously there will be edge cases I've missed - please let me know if there are important ones that I should add coverage for). The implementation is mostly plum...
https://api.github.com/repos/pandas-dev/pandas/pulls/17798
2017-10-05T20:07:05Z
2017-10-06T14:08:23Z
2017-10-06T14:08:22Z
2017-10-06T14:15:34Z
BUG/API: Raise when extension class passed to astype
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 7fbf2533428dc..5f0af8859a133 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -768,6 +768,7 @@ Conversion - Bug in :attr:`Timestamp.weekday_name` returning a UTC-based weekday name when localized t...
Closes https://github.com/pandas-dev/pandas/issues/17780
https://api.github.com/repos/pandas-dev/pandas/pulls/17796
2017-10-05T19:41:58Z
2017-10-05T23:11:16Z
2017-10-05T23:11:15Z
2017-10-27T12:04:28Z
DOC: Column indexes should use the same metadata as columns
diff --git a/doc/source/developer.rst b/doc/source/developer.rst index a695366d9ada3..9c214020ab43d 100644 --- a/doc/source/developer.rst +++ b/doc/source/developer.rst @@ -45,20 +45,19 @@ So that a ``pandas.DataFrame`` can be faithfully reconstructed, we store a .. code-block:: text {'index_columns': ['__index_...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/17795
2017-10-05T16:53:09Z
2017-10-05T17:28:22Z
2017-10-05T17:28:22Z
2017-10-05T17:28:25Z
have _NaT subclass datetime directly
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 53cde4f9b6b65..5269cddf8d2fd 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -30,7 +30,7 @@ from util cimport (is_integer_object, is_float_object, is_datetime64_object, is_timedelta64_object, INT64_MAX) cimport u...
The main change made by this PR is to have `_NaT` subclass `datetime` directly instead of subclassing `_Timestamp`. Everything else is just to preserve the current behavior. Why you ask? Because once this is OKed, the entire `NaT` machinery can be cut/paste into a stand-alone module whose only intra-pandas depende...
https://api.github.com/repos/pandas-dev/pandas/pulls/17793
2017-10-05T05:28:39Z
2017-10-28T15:34:44Z
2017-10-28T15:34:44Z
2017-10-28T17:04:47Z
DOC: Clarifying use of categorical data in describe docstring (#16722)
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 5dd770b2600a0..ed2a592a64efe 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6352,20 +6352,22 @@ def describe(self, percentiles=None, include=None, exclude=None): - A list-like of dtypes : Limits the results to the ...
- [ ] closes #16722
https://api.github.com/repos/pandas-dev/pandas/pulls/17789
2017-10-04T20:38:50Z
2017-10-05T10:27:06Z
2017-10-05T10:27:06Z
2017-10-05T22:08:23Z
ENH: SparseDataFrame/SparseSeries value assignment
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 9b70bda82e247..fa20a110133ce 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -175,6 +175,7 @@ Other Enhancements (:issue:`21627`) - New method :meth:`HDFStore.walk` will recursively walk the gr...
- [x] closes https://github.com/pandas-dev/pandas/issues/21818 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Works by as much as possible using `SparseBlock.setitem()` which calls into `SparseArray.set_values()`, which returns a new (replaceme...
https://api.github.com/repos/pandas-dev/pandas/pulls/17785
2017-10-04T16:31:31Z
2018-11-26T03:55:35Z
null
2018-11-26T03:55:35Z
API: Change str for CategoricalDtype to category
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 812bc2e031d78..1c9e876d77bf8 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -157,11 +157,10 @@ The values have been correctly interpreted as integers. The ``.dtype`` property of a ``Categorical...
Better compatibility with older versions Closes #17782
https://api.github.com/repos/pandas-dev/pandas/pulls/17783
2017-10-04T14:58:31Z
2017-10-05T18:35:56Z
2017-10-05T18:35:55Z
2017-10-06T11:42:05Z
Use argument dtype to inform coercion
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index c2cf6afc1a7b5..f3b11e52cdd7a 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -483,6 +483,39 @@ def infer_dtype_from_array(arr, pandas_dtype=False): return arr.dtype, arr +def maybe_infer_dtype_type(element): ...
Master: ```python >>> import dask.dataframe as dd >>> s = dd.core.Scalar({('s', 0): 10}, 's', 'i8') >>> pdf = pd.DataFrame({'a': [1, 2, 3, 4, 5, 6, 7], ... 'b': [7, 6, 5, 4, 3, 2, 1]}) >>> (pdf + s).dtypes a object b object dtype: object ``` Head: ``` >>> (pdf + s).dtypes ...
https://api.github.com/repos/pandas-dev/pandas/pulls/17779
2017-10-04T13:03:33Z
2017-10-05T11:30:07Z
2017-10-05T11:30:07Z
2017-10-05T12:43:21Z
DEPR: Deprecate parse_cols in read_excel
diff --git a/doc/source/io.rst b/doc/source/io.rst index 8fe5685b33aff..0aa4ea72e3b13 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -2800,21 +2800,21 @@ Parsing Specific Columns It is often the case that users will insert columns to do temporary computations in Excel and you may not want to read in thos...
Will now use "usecols" just like in read_csv. closes #4988.
https://api.github.com/repos/pandas-dev/pandas/pulls/17774
2017-10-04T06:31:07Z
2017-10-04T23:56:21Z
2017-10-04T23:56:21Z
2017-10-05T03:37:43Z
ERR: Clarify exceptions for invalid datetimelike operations
diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py index c3232627fce74..d5b4525e8a1eb 100644 --- a/pandas/core/indexes/datetimelike.py +++ b/pandas/core/indexes/datetimelike.py @@ -621,7 +621,9 @@ def _convert_scalar_indexer(self, key, kind=None): ._convert_scalar_in...
closes #9631
https://api.github.com/repos/pandas-dev/pandas/pulls/17772
2017-10-03T23:45:01Z
2017-10-08T16:15:52Z
2017-10-08T16:15:52Z
2017-10-08T16:15:55Z
Move fields functions out of the way
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 096ebe9a5627b..9fd1f367d013d 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -90,6 +90,9 @@ from tslibs.timezones cimport ( get_timezone, get_utcoffset, maybe_get_tz, get_dst_info ) +from tslibs.fields import ( + ge...
Notes: - The only usage in `tslib` of `get_date_name_field` is for `Timestamp.weekday` and can be simplified with a more direct call. - Several of the functions from `tslibs.fields` imported into `tslib` are unused. Updating the external imports to use the new locations is for a follow-up. - There is some flake8 ...
https://api.github.com/repos/pandas-dev/pandas/pulls/17770
2017-10-03T22:13:45Z
2017-10-04T23:53:51Z
2017-10-04T23:53:51Z
2017-10-30T16:22:42Z
DOC: Add column name metadata to spec
diff --git a/doc/source/developer.rst b/doc/source/developer.rst index 78c12b7e23b37..a695366d9ada3 100644 --- a/doc/source/developer.rst +++ b/doc/source/developer.rst @@ -45,6 +45,8 @@ So that a ``pandas.DataFrame`` can be faithfully reconstructed, we store a .. code-block:: text {'index_columns': ['__index_le...
This adds an additional metadata field to the spec to allow faithful reproduction of names of column indexes. cc @wesm @martindurant @jreback
https://api.github.com/repos/pandas-dev/pandas/pulls/17769
2017-10-03T19:44:20Z
2017-10-04T23:55:18Z
2017-10-04T23:55:18Z
2017-10-05T16:47:04Z
Revert "CI: pin pytables to valid build (#17760)"
diff --git a/ci/requirements-3.6.run b/ci/requirements-3.6.run index 721d0c1ad8101..822144a80bc9a 100644 --- a/ci/requirements-3.6.run +++ b/ci/requirements-3.6.run @@ -7,7 +7,7 @@ xlsxwriter xlrd xlwt numexpr -pytables=3.4.2=np113py36_1 +pytables matplotlib lxml html5lib
This reverts commit 6d30d5f425ddfaf143b8bd878f81395852b50cd9. closes #17757
https://api.github.com/repos/pandas-dev/pandas/pulls/17768
2017-10-03T19:40:49Z
2017-10-05T18:35:20Z
2017-10-05T18:35:20Z
2017-10-05T18:37:13Z
BUG: Validate the justify parameter in to_html
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 0d4eaa90d7ab3..2470c04fb97e8 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -777,7 +777,8 @@ I/O - Bug in :func:`read_stata` where the index was not set (:issue:`16342`) - Bug in :func:`read_htm...
Closes #17527 cc @TomAugspurger
https://api.github.com/repos/pandas-dev/pandas/pulls/17766
2017-10-03T16:32:24Z
2017-10-03T20:42:53Z
2017-10-03T20:42:52Z
2017-10-04T01:52:33Z
Implement NaT properties/methods directly
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 745632cf3d719..0ae4548c14f43 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -1,5 +1,8 @@ # -*- coding: utf-8 -*- # cython: profile=False +# cython: linetrace=False +# distutils: define_macros=CYTHON_TRACE=0 +# distutils: define_ma...
Causes build errors, referenced in #17756 - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17765
2017-10-03T16:20:21Z
2017-10-05T00:13:32Z
2017-10-05T00:13:32Z
2017-10-30T16:25:12Z
COMPAT: Suppress .take() warning for numpy < 1.12
diff --git a/pandas/tests/sparse/test_series.py b/pandas/tests/sparse/test_series.py index 8c0ed322028e8..13dab68b2e5b4 100644 --- a/pandas/tests/sparse/test_series.py +++ b/pandas/tests/sparse/test_series.py @@ -9,7 +9,8 @@ import numpy as np import pandas as pd -from pandas import Series, DataFrame, bdate_range, ...
Follow-up to #17352.
https://api.github.com/repos/pandas-dev/pandas/pulls/17764
2017-10-03T15:52:47Z
2017-10-03T19:49:08Z
2017-10-03T19:49:08Z
2017-10-04T01:52:22Z
TST: remove warnings, xref #15747
diff --git a/pandas/tests/series/test_indexing.py b/pandas/tests/series/test_indexing.py index 86211612a5955..09ba0e197438d 100644 --- a/pandas/tests/series/test_indexing.py +++ b/pandas/tests/series/test_indexing.py @@ -854,11 +854,15 @@ def test_basic_getitem_with_labels(self): s = Series(np.random.randn(10)...
https://api.github.com/repos/pandas-dev/pandas/pulls/17761
2017-10-03T11:38:19Z
2017-10-03T13:01:06Z
2017-10-03T13:01:06Z
2017-10-03T13:01:06Z
CI: pin pytables to valid build
diff --git a/ci/requirements-3.6.run b/ci/requirements-3.6.run index 822144a80bc9a..721d0c1ad8101 100644 --- a/ci/requirements-3.6.run +++ b/ci/requirements-3.6.run @@ -7,7 +7,7 @@ xlsxwriter xlrd xlwt numexpr -pytables +pytables=3.4.2=np113py36_1 matplotlib lxml html5lib
xref #17757
https://api.github.com/repos/pandas-dev/pandas/pulls/17760
2017-10-03T10:21:01Z
2017-10-03T10:48:58Z
2017-10-03T10:48:58Z
2017-10-03T10:48:58Z
TST: remove bunch of warnings for .astype(.....), xref #17636
diff --git a/pandas/tests/indexing/test_categorical.py b/pandas/tests/indexing/test_categorical.py index 6874fedaa705f..ab6e76c221102 100644 --- a/pandas/tests/indexing/test_categorical.py +++ b/pandas/tests/indexing/test_categorical.py @@ -8,6 +8,7 @@ Categorical, CategoricalIndex) from pandas.ut...
https://api.github.com/repos/pandas-dev/pandas/pulls/17759
2017-10-03T09:59:08Z
2017-10-03T10:54:31Z
2017-10-03T10:54:31Z
2017-10-03T10:54:31Z
Rearrange _NaT to be valid python; add attributes tests
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 745632cf3d719..53d553f31cccb 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -777,98 +777,6 @@ class Timestamp(_Timestamp): return self + other -_nat_strings = set(['NaT', 'nat', 'NAT', 'nan', 'NaN', 'NAN']) - - -class N...
At the moment the organization of `tslib` is not valid python: child classes are defined above parent classes. This PR fixes that for `_NaT` and `NaTType`. This is necessary because trying to implement more important changes in `NaTType` is leading to build errors: ``` pandas/_libs/tslib.c:103540:3: error: use ...
https://api.github.com/repos/pandas-dev/pandas/pulls/17756
2017-10-03T00:17:32Z
2017-10-03T21:29:32Z
null
2017-10-30T16:25:46Z
BUG: Implement PeriodEngine to fix PeriodIndex truncate bug
diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt index c41da4d67afe5..5c64b0a55c09b 100644 --- a/doc/source/whatsnew/v0.22.0.txt +++ b/doc/source/whatsnew/v0.22.0.txt @@ -100,7 +100,7 @@ Conversion Indexing ^^^^^^^^ -- +- Bug in :func:`PeriodIndex.truncate` which raises ``TypeError`` w...
- [x] closes #17717 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17755
2017-10-02T23:35:04Z
2017-11-04T17:07:36Z
2017-11-04T17:07:36Z
2017-11-06T13:57:51Z
API: change IntervalIndex.contains to work elementwise
diff --git a/doc/source/reference/arrays.rst b/doc/source/reference/arrays.rst index 77a87cafb9258..bf9520c54040d 100644 --- a/doc/source/reference/arrays.rst +++ b/doc/source/reference/arrays.rst @@ -335,6 +335,7 @@ A collection of intervals may be stored in an :class:`arrays.IntervalArray`. arrays.IntervalArra...
xref https://github.com/pandas-dev/pandas/issues/16316 This is more a proof-of-concept, to see if there is agreement on the behaviour change (I suppose the implementation itself can be easily vectorized based on the left/right attributes). cc @zfrenchee @shoyer @buyology @jreback
https://api.github.com/repos/pandas-dev/pandas/pulls/17753
2017-10-02T21:06:26Z
2019-07-01T23:56:50Z
2019-07-01T23:56:50Z
2019-07-02T12:41:30Z
CI: Unpin Miniconda for CI
diff --git a/appveyor.yml b/appveyor.yml index f1259f271ee39..a1f8886f6d068 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -59,7 +59,7 @@ install: # install our build environment - cmd: conda config --set show_channel_urls true --set always_yes true --set changeps1 false - # - cmd: conda update -q conda + - ...
Closes https://github.com/pandas-dev/pandas/issues/17696 xref https://github.com/pandas-dev/pandas/pull/17700
https://api.github.com/repos/pandas-dev/pandas/pulls/17752
2017-10-02T20:46:33Z
2017-10-05T18:37:16Z
2017-10-05T18:37:16Z
2017-10-27T12:04:46Z
DOC: Changing forking instructions to https (#16419)
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index e172d0d2a71a2..d8d57a8bfffdd 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -101,7 +101,7 @@ You will need your own fork to work on the code. Go to the `pandas project page <https://github.com/pandas-dev/pandas>...
- [ ] closes #16419
https://api.github.com/repos/pandas-dev/pandas/pulls/17751
2017-10-02T20:40:12Z
2017-10-03T01:21:41Z
2017-10-03T01:21:41Z
2017-10-03T19:06:49Z
Explicitly define cmp_pandas_datetimestruct
diff --git a/pandas/_libs/src/datetime/np_datetime.c b/pandas/_libs/src/datetime/np_datetime.c index ffb901981f939..f8254ed9d8418 100644 --- a/pandas/_libs/src/datetime/np_datetime.c +++ b/pandas/_libs/src/datetime/np_datetime.c @@ -269,8 +269,8 @@ static void set_datetimestruct_days(npy_int64 days, /* * Compares tw...
Fixes build warning ``` pandas/_libs/tslib.c:78967:17: warning: implicit declaration of function 'cmp_pandas_datetimestruct' is invalid in C99 [-Wimplicit-function-declaration] ```
https://api.github.com/repos/pandas-dev/pandas/pulls/17750
2017-10-02T19:44:17Z
2017-10-03T19:57:06Z
2017-10-03T19:57:06Z
2017-10-30T16:25:26Z
Adding lxml to requirements_dev.txt
diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index 6fc080c8d9090..effa5ef4184be 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -953,6 +953,7 @@ def test_importcheck_thread_safety(): # see gh-16928 # force import check by reinitalising global vars ...
- [X ] closes #17747 - [X ] tests added / passed - [X ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/17748
2017-10-02T18:28:05Z
2017-11-01T01:23:10Z
2017-11-01T01:23:10Z
2017-11-01T01:23:13Z
Move frequencies functions to cython
diff --git a/pandas/_libs/tslibs/frequencies.pxd b/pandas/_libs/tslibs/frequencies.pxd index 974eb4ab45df0..98d600c540ace 100644 --- a/pandas/_libs/tslibs/frequencies.pxd +++ b/pandas/_libs/tslibs/frequencies.pxd @@ -1,4 +1,10 @@ # -*- coding: utf-8 -*- # cython: profile=False +cpdef object get_rule_month(object so...
Move some more functions from `tseries.frequencies` up to `tslibs.frequencies`, update imports in `_libs.period` to cimports - [x] closes #xxxx - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17746
2017-10-02T17:26:27Z
2018-01-05T00:35:20Z
2018-01-05T00:35:20Z
2018-01-23T04:40:38Z
Remove unused imports
diff --git a/pandas/_libs/hashtable.pyx b/pandas/_libs/hashtable.pyx index 9aeb700dd5923..b6b81055f89b2 100644 --- a/pandas/_libs/hashtable.pyx +++ b/pandas/_libs/hashtable.pyx @@ -50,12 +50,6 @@ cnp.import_ufunc() cdef int64_t iNaT = util.get_nat() _SIZE_HINT_LIMIT = (1 << 20) + 7 -cdef extern from "datetime.h": -...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17745
2017-10-02T16:56:29Z
2017-10-03T11:25:46Z
2017-10-03T11:25:46Z
2017-10-30T16:25:22Z
DEPR: deprecate raise_on_error in .where/.mask in favor of errors=
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 66b44d4d391e1..e86eae0a5e593 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -666,8 +666,9 @@ Deprecations - ``pd.TimeGrouper`` is deprecated in favor of :class:`pandas.Grouper` (:issue:`16747`) ...
closes #14968
https://api.github.com/repos/pandas-dev/pandas/pulls/17744
2017-10-02T16:24:11Z
2017-10-05T18:36:29Z
2017-10-05T18:36:29Z
2017-10-05T18:38:05Z
DEPR: passing categories or ordered kwargs to Series.astype is deprecated
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index d69a5c22acc03..28d4be7fd1850 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -572,6 +572,7 @@ Deprecations - :func:`DataFrame.as_blocks` is deprecated, as this is exposing the internal implementat...
closes #17636
https://api.github.com/repos/pandas-dev/pandas/pulls/17742
2017-10-02T13:29:47Z
2017-10-03T01:14:19Z
2017-10-03T01:14:19Z
2017-10-03T08:57:42Z
allow neg index on str_get
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index d69a5c22acc03..a5d5dc28e177d 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -668,6 +668,7 @@ Indexing - Bug in ``IntervalIndex`` where performing a scalar lookup fails for included right endpoint...
- [x] closes #17704 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17741
2017-10-02T13:28:39Z
2017-10-02T19:21:42Z
2017-10-02T19:21:42Z
2017-10-02T20:00:35Z
DEPR: deprecate .get_value and .set_value for Series, DataFrame, Panel & Sparse
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index d7789bfbfd04c..66b44d4d391e1 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -666,7 +666,8 @@ Deprecations - ``pd.TimeGrouper`` is deprecated in favor of :class:`pandas.Grouper` (:issue:`16747`) ...
closes #15269
https://api.github.com/repos/pandas-dev/pandas/pulls/17739
2017-10-02T12:30:58Z
2017-10-05T12:18:20Z
2017-10-05T12:18:20Z
2017-10-05T12:20:01Z
BUG: Regression in .loc accepting a boolean Index as an indexer
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index c8a0a6bff5cc7..23ff7cb9f34d4 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -667,6 +667,7 @@ Indexing - Bug in ``IntervalIndex`` where performing a scalar lookup fails for included right endpoint...
closes #17131
https://api.github.com/repos/pandas-dev/pandas/pulls/17738
2017-10-02T10:32:10Z
2017-10-02T11:59:16Z
2017-10-02T11:59:16Z
2017-10-02T12:50:33Z
Fixed the memory usage explanation of categorical in gotchas from O(n…
diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst index cadbc895354b7..c5bbc3c004675 100644 --- a/doc/source/categorical.rst +++ b/doc/source/categorical.rst @@ -979,7 +979,7 @@ Memory Usage .. _categorical.memory: -The memory usage of a ``Categorical`` is proportional to the number of categorie...
…m) to O(n+m) - [ ] closes #17705
https://api.github.com/repos/pandas-dev/pandas/pulls/17736
2017-10-02T06:37:32Z
2017-10-02T10:18:22Z
2017-10-02T10:18:22Z
2017-10-02T10:18:24Z
CLN: replace %s syntax with .format in pandas.core: categorical, common, config, config_init
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index 61e28dde2e34c..5619f15ac85d9 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -263,7 +263,8 @@ def __init__(self, values, categories=None, ordered=None, dtype=None, if dtype == 'category': ...
Progress towards #16130 - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Replaced `%s` syntax with `.format` in pandas.core: `categorical.py`, `common.py`, `config.py`, `config_init.py`. Additionally, made some of the existing positional `.format` code more explicit.
https://api.github.com/repos/pandas-dev/pandas/pulls/17735
2017-10-02T06:05:07Z
2017-10-02T10:19:54Z
2017-10-02T10:19:54Z
2017-10-02T13:39:29Z
TST: add backward compat for offset testing for pickles
diff --git a/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_darwin_3.5.3.pickle b/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_darwin_3.5.3.pickle new file mode 100644 index 0000000000000..537864af7028b Binary files /dev/null and b/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_darwin_3.5.3...
closes #17721
https://api.github.com/repos/pandas-dev/pandas/pulls/17733
2017-10-01T20:43:33Z
2017-10-01T22:58:02Z
2017-10-01T22:58:01Z
2017-10-01T22:58:57Z
DOC: Fixed typo in documentation for 'pandas.DataFrame.replace'
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 2fb0e348c01c0..6fd4f3eeb6b90 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4260,7 +4260,7 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None, dicts of such objects are also allowed. i...
* Replaced 'form' to 'from' for the 'inplace' parameter. - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17731
2017-10-01T11:33:48Z
2017-10-01T12:25:40Z
2017-10-01T12:25:40Z
2017-10-01T12:25:46Z
BUG: GH17525 Function _get_standard_colors resets global random seed
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index e0e0c18052550..da3cf965cb81a 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -614,6 +614,7 @@ Plotting - Line plots no longer assume monotonic x data when calculating xlims, they show the entire l...
- [X] closes #17525 - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17730
2017-09-30T21:33:48Z
2017-10-03T08:07:09Z
2017-10-03T08:07:09Z
2017-10-03T11:19:55Z
BUG: GH17525 Function _get_standard_colors resets random seed
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index e0e0c18052550..d5f8c3027d5af 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -614,6 +614,7 @@ Plotting - Line plots no longer assume monotonic x data when calculating xlims, they show the entire l...
- [X] closes #17525 - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17729
2017-09-30T20:58:50Z
2017-09-30T21:22:52Z
null
2023-05-11T01:16:30Z
REF/INT: concat blocks of same type with preserving block type
diff --git a/pandas/core/dtypes/concat.py b/pandas/core/dtypes/concat.py index f6f956832eebe..93993fd0a0cab 100644 --- a/pandas/core/dtypes/concat.py +++ b/pandas/core/dtypes/concat.py @@ -63,11 +63,12 @@ def get_dtype_kinds(l): return typs -def _get_series_result_type(result): +def _get_series_result_type(res...
Related to https://github.com/pandas-dev/pandas/issues/17283 Goal is to get `pd.concat([list of series]` working with Series with external block type. Currently the values are always converted to arrays, concatenated, and converted back to block with block type inference. This is a proof-of-concept to check wheth...
https://api.github.com/repos/pandas-dev/pandas/pulls/17728
2017-09-30T15:26:19Z
2017-10-12T21:02:14Z
2017-10-12T21:02:14Z
2018-01-11T17:29:50Z
repr string for pd.Grouper
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 967685c4e11bf..f9ac0e67fcf05 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -9,7 +9,7 @@ from pandas.compat import ( zip, range, lzip, - callable, map + callable, map, signature ) from pandas import compat @@ -234,...
- [ ] closes #xxxx - [x ] tests added / passed - [ x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry **Edit: I've made a full proposal (sans some discussion points below)** Currently the repr for ``Grouper`` and ``TimeGrouper`` is not pretty: ```python >>> pd.Grouper(k...
https://api.github.com/repos/pandas-dev/pandas/pulls/17727
2017-09-30T12:57:07Z
2017-11-09T22:31:19Z
null
2017-12-11T08:09:16Z
BUG: fixed check `_is_unorderable_exception`
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index 37f99bd344e6c..2962c05e1b4fd 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -1158,7 +1158,9 @@ def _is_unorderable_exception(e): """ if PY36: - return "'>' not supported between instances o...
With upgrade to NumPy 1.13.2 the error message raised when comparing unorderable types changes from using `"'>' not supported between instances of"` to using `"'<' not supported between instances of"`. This PR checks both of these. See [GH-17046](https://github.com/pandas-dev/pandas/issues/17046) for discussion...
https://api.github.com/repos/pandas-dev/pandas/pulls/17724
2017-09-29T20:53:36Z
2017-10-03T13:00:49Z
null
2017-10-03T13:00:49Z
Update clipboard Qt-bindings for flexiblity and Python3 compatibility
diff --git a/ci/requirements-3.6_BUILD_TEST.sh b/ci/requirements-3.6_BUILD_TEST.sh index 84dd27c50d587..2a3adeff836ee 100644 --- a/ci/requirements-3.6_BUILD_TEST.sh +++ b/ci/requirements-3.6_BUILD_TEST.sh @@ -4,4 +4,4 @@ source activate pandas echo "install 36 BUILD_TEST" -conda install -n pandas -c conda-forge py...
This should prevent any conflicts with other qt-bindings packages when embedding pandas in a Qt-based gui and should also provide compatibility with Python3 since PyQt4 may not be available for the latest releases. - [ ] closes #17722
https://api.github.com/repos/pandas-dev/pandas/pulls/17723
2017-09-29T18:40:37Z
2017-11-24T22:17:03Z
2017-11-24T22:17:03Z
2017-11-25T00:42:02Z
Separate out _convert_datetime_to_tsobject
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 4c34d0fcb1e5f..60b7c3cfcb6c7 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -728,7 +728,7 @@ class Timestamp(_Timestamp): # reconstruct & check bounds ts_input = datetime(dts.year, dts.month, dts.day, dts.hour, dts...
A bunch of calls to `convert_to_tsobject` are made in cases where we already know that the input is a `datetime` object. This PR separates out the `datetime` case into a new function `_convert_datetime_to_tsobject`. Second, to make the dependency between `_TSObject` and `Timestamp` one-way, this removes the three r...
https://api.github.com/repos/pandas-dev/pandas/pulls/17715
2017-09-29T02:49:22Z
2017-10-02T12:43:40Z
2017-10-02T12:43:40Z
2017-10-30T16:25:23Z
Doc: Further improvements for IntervalIndex and Interval
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index 799d04859cc2a..cfdb53ec7e4b1 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -833,12 +833,21 @@ Of course if you need integer based selection, then use ``iloc`` IntervalIndex ~~~~~~~~~~~~~ +:class:`IntervalIndex` together wit...
- [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` This follows #17706. Further changes are: * Taken text from the whatsnew for v0.20 and use it in advanced.rst to give more explations to ``IntervalIndex`` and ``Interval``. * in interval.pyx, the doc string "Attributes" didn't parse properly, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/17714
2017-09-29T01:41:22Z
2017-09-29T15:00:09Z
2017-09-29T15:00:09Z
2017-09-29T16:08:11Z
update imports of DateParseError, remove unused imports from tslib
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 4c34d0fcb1e5f..b0b70bb810204 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -1,12 +1,9 @@ # -*- coding: utf-8 -*- # cython: profile=False -import warnings - cimport numpy as np from numpy cimport (int8_t, int32_t, int64_t, imp...
Start checking off the todo list in #17652 - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17713
2017-09-29T01:30:58Z
2017-09-29T10:04:42Z
2017-09-29T10:04:42Z
2017-10-30T16:23:15Z
Add missing file to _pyxfiles, delete commented-out
diff --git a/setup.py b/setup.py index d25ae4a5fb45c..793aa089e708f 100755 --- a/setup.py +++ b/setup.py @@ -341,6 +341,7 @@ class CheckSDist(sdist_class): 'pandas/_libs/window.pyx', 'pandas/_libs/sparse.pyx', 'pandas/_libs/parsers.pyx', + 'pandas/_l...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17712
2017-09-28T23:54:26Z
2017-09-29T10:06:00Z
2017-09-29T10:06:00Z
2017-10-30T16:23:16Z
remove unused time conversion funcs
diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx index 884117799ec5b..c96251a0293d6 100644 --- a/pandas/_libs/index.pyx +++ b/pandas/_libs/index.pyx @@ -13,29 +13,19 @@ cimport util import numpy as np -cimport tslib +from tslib cimport _to_i8 from hashtable cimport HashTable -from tslibs.timezones...
Takes the place of #17708, removing funcs instead of moving them. Had to cpdef `pydt_to_i8` because the func it is replacing in `_libs.index` was cdef'd. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17711
2017-09-28T21:41:04Z
2017-10-01T20:47:44Z
2017-10-01T20:47:44Z
2017-10-30T16:23:08Z
Delay import
diff --git a/.travis.yml b/.travis.yml index 034e2a32bb75c..fe1a2950dbf08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -121,6 +121,8 @@ script: - ci/script_single.sh - ci/script_multi.sh - ci/lint.sh + - echo "checking imports" + - source activate pandas && python ci/check_imports.py - echo "script done"...
Closes https://github.com/pandas-dev/pandas/issues/16764 Improves performance by delaying the import of matplotlib, s3fs, pytest, and openpyxl. Also removes our old MPL style sheet. The option was deprecated and removed, but the stylesheet hung around. Master: ``` In [1]: %time import numpy CPU times: use...
https://api.github.com/repos/pandas-dev/pandas/pulls/17710
2017-09-28T20:16:25Z
2017-10-02T13:32:53Z
2017-10-02T13:32:53Z
2017-10-25T22:28:40Z
BUG: Implement interpolating NaT values in datetime series
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index dae93feb48b02..37d67e93b86a7 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -163,6 +163,7 @@ Other Enhancements - :func:`Categorical.rename_categories` now accepts a dict-like argument as `new_ca...
- [ ] closes #11701 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17709
2017-09-28T19:13:19Z
2017-11-11T16:24:10Z
null
2017-11-11T16:24:10Z
Move time conversion funcs to tslibs.conversion
diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx index 884117799ec5b..9e55f2c3631b5 100644 --- a/pandas/_libs/index.pyx +++ b/pandas/_libs/index.pyx @@ -13,28 +13,19 @@ cimport util import numpy as np -cimport tslib - from hashtable cimport HashTable from tslibs.timezones cimport is_utc, get_utcoff...
Eventually a bunch of `_TSObject` logic belongs in `tslibs.conversion`. To start off small, this just moves a few out-of-place functions from `_libs.lib` and `_libs.index`. The changes that are not cut/paste: In `_to_i8`: `tslib._delta_to_nanoseconds(offset)` became `int(offset.total_seconds() * 1e9)` In `array...
https://api.github.com/repos/pandas-dev/pandas/pulls/17708
2017-09-28T16:37:44Z
2017-09-28T23:38:06Z
null
2017-09-29T00:24:05Z
DOC: Improved doc string for IntervalIndex + related changes
diff --git a/pandas/_libs/interval.pyx b/pandas/_libs/interval.pyx index bfbda9696ff2b..306597031817d 100644 --- a/pandas/_libs/interval.pyx +++ b/pandas/_libs/interval.pyx @@ -58,6 +58,10 @@ cdef class Interval(IntervalMixin): closed : {'left', 'right', 'both', 'neither'} Whether the interval is closed o...
- [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` This PR has Improvements for the doc string for ``IntervalIndex`` + related changes
https://api.github.com/repos/pandas-dev/pandas/pulls/17706
2017-09-28T13:27:14Z
2017-09-28T19:26:39Z
2017-09-28T19:26:39Z
2017-10-09T21:00:10Z
DEPR: deprecate pd.TimeGrouper
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index ae55b4a0aa469..dae93feb48b02 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -492,6 +492,7 @@ Deprecations - ``pd.options.html.border`` has been deprecated in favor of ``pd.options.display.html.bo...
closes #16747
https://api.github.com/repos/pandas-dev/pandas/pulls/17703
2017-09-28T10:26:16Z
2017-09-28T11:50:33Z
2017-09-28T11:50:33Z
2017-09-28T11:51:34Z
CI: Pin miniconda version
diff --git a/appveyor.yml b/appveyor.yml index a1f8886f6d068..f1259f271ee39 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -59,7 +59,7 @@ install: # install our build environment - cmd: conda config --set show_channel_urls true --set always_yes true --set changeps1 false - - cmd: conda update -q conda + # - ...
xref #17696
https://api.github.com/repos/pandas-dev/pandas/pulls/17700
2017-09-27T22:17:55Z
2017-09-28T09:59:26Z
2017-09-28T09:59:26Z
2017-09-28T10:53:58Z
try installing bzip2
diff --git a/ci/install_circle.sh b/ci/install_circle.sh index fd79f907625e9..d7b3a6d07c60d 100755 --- a/ci/install_circle.sh +++ b/ci/install_circle.sh @@ -69,6 +69,9 @@ time conda install -n pandas pytest>=3.1.0 || exit 1 source activate pandas time pip install moto || exit 1 +# https://github.com/conda/conda/iss...
Just testing this out. xref #17696
https://api.github.com/repos/pandas-dev/pandas/pulls/17698
2017-09-27T21:00:22Z
2017-09-28T10:31:32Z
null
2017-09-28T10:58:29Z
TST: add datetimelike tests for tz-aware DatetimeIndex
diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py index 90618cd6e235f..aca7060ea1a3d 100644 --- a/pandas/tests/indexes/common.py +++ b/pandas/tests/indexes/common.py @@ -34,6 +34,12 @@ def verify_pickle(self, index): unpickled = tm.round_trip_pickle(index) assert index.equal...
This commit just makes quick patches to get tests working for subclassing common index tests for tz-aware DatetimeIndex, by either ignoring tests entirely or explicitly converting to the DatetimeIndex's TZ. This is split off from PR #17583 where we were trying to add another common test. Advice is requested for whether...
https://api.github.com/repos/pandas-dev/pandas/pulls/17694
2017-09-27T16:31:40Z
2017-11-12T18:19:39Z
null
2017-11-12T18:19:40Z
DEPR: Deprecate cdate_range and merge into bdate_range
diff --git a/doc/source/api.rst b/doc/source/api.rst index 4ffeb5035912f..28d4567027572 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -218,7 +218,6 @@ Top-level dealing with datetimelike to_timedelta date_range bdate_range - cdate_range period_range timedelta_range infer_freq dif...
- [X] closes #17596 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry A bit going on here, so see summary below. Deprecated `cdate_range`: - Removed from api (was added to api after 0.20.3 release) - Added a `FutureWarning` to `cdate_range` i...
https://api.github.com/repos/pandas-dev/pandas/pulls/17691
2017-09-27T05:48:25Z
2017-10-02T11:28:31Z
2017-10-02T11:28:30Z
2017-10-02T13:39:09Z
typo fix evalute_compare-->evaluate_compare
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index dba616c2d15e6..c4e1398d0178f 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3742,7 +3742,7 @@ def _evaluate_with_timedelta_like(self, other, op, opstr): def _evaluate_with_datetime_like(self, other, op, ops...
It's never actually called and if it did would just raise AbstractMethodError. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17688
2017-09-27T01:56:31Z
2017-09-27T10:20:44Z
2017-09-27T10:20:44Z
2017-10-30T16:23:19Z
BUG: remove tab completion for deprecated functions
diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py index c8476841bfce4..7a2da9655cc4a 100644 --- a/pandas/core/accessor.py +++ b/pandas/core/accessor.py @@ -10,10 +10,11 @@ class DirNamesMixin(object): _accessors = frozenset([]) + _deprecations = frozenset([]) def _dir_deletions(self): ...
closes #17674
https://api.github.com/repos/pandas-dev/pandas/pulls/17683
2017-09-26T13:51:02Z
2017-09-26T16:25:08Z
2017-09-26T16:25:08Z
2017-09-26T16:27:47Z
DOC: Add references for different index types + examples for pd.Index
diff --git a/doc/source/api.rst b/doc/source/api.rst index 28d4567027572..d98a18e6f7e36 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1626,6 +1626,52 @@ Conversion .. currentmodule:: pandas +PeriodIndex +-------------- + +.. autosummary:: + :toctree: generated/ + :template: autosummary/class_wit...
- [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Added 'See also'-references for different index types to make it easier to find the correct index type when in doubt + added simple examples for pd.Index
https://api.github.com/repos/pandas-dev/pandas/pulls/17680
2017-09-26T11:08:16Z
2017-10-06T07:15:33Z
2017-10-06T07:15:33Z
2017-10-09T21:00:05Z
DOC: correct grammar in unicode section
diff --git a/doc/source/options.rst b/doc/source/options.rst index f042e4d3f5120..2da55a5a658a4 100644 --- a/doc/source/options.rst +++ b/doc/source/options.rst @@ -474,10 +474,10 @@ Unicode Formatting Enabling this option will affect the performance for printing of DataFrame and Series (about 2 times slower). ...
Rewrite some sentences in the Unicode section for grammatical correctness.
https://api.github.com/repos/pandas-dev/pandas/pulls/17678
2017-09-26T04:50:37Z
2017-09-26T10:34:34Z
2017-09-26T10:34:34Z
2017-09-26T10:34:39Z
Melt enhance
diff --git a/doc/source/reshaping.rst b/doc/source/reshaping.rst index 1b81d83bb76c7..2a5fc732ccbb4 100644 --- a/doc/source/reshaping.rst +++ b/doc/source/reshaping.rst @@ -265,24 +265,59 @@ the right thing: Reshaping by Melt ----------------- -The top-level :func:`melt` and :func:`~DataFrame.melt` functions are us...
- [ x] closes #17676 - [ x] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/17677
2017-09-25T23:51:25Z
2018-02-10T18:43:05Z
null
2018-02-10T18:43:06Z