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
[ArrayManager] TST: get tests running for /tests/frame
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06a06484b921a..6d7705fb0f838 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,9 +154,10 @@ jobs: PANDAS_DATA_MANAGER: array run: | source activate pandas-dev + pytest pandas/tests/frame/m...
xref https://github.com/pandas-dev/pandas/issues/39146 This is on top of https://github.com/pandas-dev/pandas/pull/39612, so only the last commit is relevant for this PR: https://github.com/pandas-dev/pandas/pull/39700/commits/ec83091284ac9a388ef147e006e2d4d43d946ea7
https://api.github.com/repos/pandas-dev/pandas/pulls/39700
2021-02-09T15:53:56Z
2021-03-05T01:32:59Z
2021-03-05T01:32:59Z
2021-03-05T07:47:55Z
[ArrayManager] Enable downcast in fillna / enable where indexing tests
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aec19e27a33e2..c4629048deef7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,7 +154,9 @@ jobs: source activate pandas-dev pytest pandas/tests/frame/methods --array-manager - # indexing iset rel...
Instead of https://github.com/pandas-dev/pandas/pull/39539, for now keeping the downcasting behaviour of `fillna`.
https://api.github.com/repos/pandas-dev/pandas/pulls/39697
2021-02-09T13:14:51Z
2021-02-16T08:46:56Z
2021-02-16T08:46:56Z
2021-02-16T08:46:59Z
Backport PR #39669 on branch 1.2.x (DOC: Start v1.2.3 release notes)
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index c37255c765171..c9c31b408fb7e 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -16,6 +16,7 @@ Version 1.2 .. toctree:: :maxdepth: 2 + v1.2.3 v1.2.2 v1.2.1 v1.2.0 diff --git a/doc/source/...
Backport PR #39669: DOC: Start v1.2.3 release notes
https://api.github.com/repos/pandas-dev/pandas/pulls/39694
2021-02-09T12:42:17Z
2021-02-09T13:38:40Z
2021-02-09T13:38:40Z
2021-02-09T13:38:40Z
Backport PR #39526: CI: pin numpy for CI / Checks github action (#39529)
diff --git a/environment.yml b/environment.yml index 319261ec6640c..a5b61220f88f3 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge dependencies: # required - - numpy>=1.16.5 + - numpy>=1.16.5, <1.20 # gh-39513 - python=3 - python-dateutil>=2.7.3 - pytz diff --...
re-apply Backport PR #39526 xref #39641
https://api.github.com/repos/pandas-dev/pandas/pulls/39693
2021-02-09T12:07:48Z
2021-02-09T13:04:24Z
2021-02-09T13:04:24Z
2021-02-09T13:04:27Z
PERF: optimize algos.take for repeated calls
diff --git a/pandas/core/array_algos/take.py b/pandas/core/array_algos/take.py index 447167aa8fae5..2179085d9ad9b 100644 --- a/pandas/core/array_algos/take.py +++ b/pandas/core/array_algos/take.py @@ -1,5 +1,6 @@ from __future__ import annotations +import functools from typing import Optional import numpy as np ...
This PR optimizes our internal `take` algorithm, with the following changes: - Cache the expensive parts that are independent of the actual array values but only dependent on the dtypes / dimension / axis / fill_value (which is often the same for repeated calls), i.e. `maybe_promote` and `_get_take_nd_function` - T...
https://api.github.com/repos/pandas-dev/pandas/pulls/39692
2021-02-09T09:58:43Z
2021-03-05T01:36:00Z
2021-03-05T01:36:00Z
2023-02-23T00:26:36Z
STYLE use ast.parse instead of regex to fixup inconsistencies in namespace
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a371c8249eba..d433fb08209bf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -138,7 +138,7 @@ repos: entry: python scripts/check_for_inconsistent_pandas_namespace.py language: python types: [python] - ...
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them The regular expression wasn't working too well, this solution should be better. Also, like this, you can pass `--replace` and have th...
https://api.github.com/repos/pandas-dev/pandas/pulls/39690
2021-02-09T08:52:15Z
2021-02-19T01:11:36Z
2021-02-19T01:11:36Z
2021-02-19T07:16:47Z
CLN: remove unused arg from Index._get_unique_index
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 550c1ac906a99..cbffd7aab70d9 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -2620,36 +2620,15 @@ def duplicated(self, keep="first"): return np.zeros(len(self), dtype=bool) return super().dup...
we'll be able to get rid of get_unique_index altogether following #38140
https://api.github.com/repos/pandas-dev/pandas/pulls/39689
2021-02-09T04:00:55Z
2021-02-10T16:17:51Z
2021-02-10T16:17:50Z
2021-02-10T16:19:54Z
TST: split test_indexing tests
diff --git a/pandas/tests/series/indexing/test_get.py b/pandas/tests/series/indexing/test_get.py index 3371c47fa1b0a..e672296008169 100644 --- a/pandas/tests/series/indexing/test_get.py +++ b/pandas/tests/series/indexing/test_get.py @@ -192,3 +192,23 @@ def test_get2(arr): ser = Series(arr) ser2 = ser[::2] ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39687
2021-02-08T21:39:44Z
2021-02-08T22:45:13Z
2021-02-08T22:45:13Z
2021-02-08T22:54:13Z
REF: remove unnecessary PeriodIndex._get_indexer
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 346258fe5162b..21811aa503612 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3384,7 +3384,7 @@ def _get_fill_indexer( else: indexer = self._get_fill_indexer_searchsorted(target, method, limi...
https://api.github.com/repos/pandas-dev/pandas/pulls/39685
2021-02-08T19:41:06Z
2021-02-08T22:44:16Z
2021-02-08T22:44:16Z
2021-02-08T22:53:46Z
TST: split chaining tests
diff --git a/pandas/tests/indexing/test_chaining_and_caching.py b/pandas/tests/indexing/test_chaining_and_caching.py index 9a65321398ea4..1ac2a16660f93 100644 --- a/pandas/tests/indexing/test_chaining_and_caching.py +++ b/pandas/tests/indexing/test_chaining_and_caching.py @@ -1,3 +1,5 @@ +from string import ascii_lette...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39684
2021-02-08T19:40:09Z
2021-02-08T22:44:54Z
2021-02-08T22:44:54Z
2021-02-08T22:53:31Z
Backport PR #39681 on branch 1.2.x (DOC: update release date for 1.2.2)
diff --git a/doc/source/whatsnew/v1.2.2.rst b/doc/source/whatsnew/v1.2.2.rst index 837b81883c5f3..fa41a83a5e5fb 100644 --- a/doc/source/whatsnew/v1.2.2.rst +++ b/doc/source/whatsnew/v1.2.2.rst @@ -1,6 +1,6 @@ .. _whatsnew_122: -What's new in 1.2.2 (February 08, 2021) +What's new in 1.2.2 (February 09, 2021) -------...
Backport PR #39681: DOC: update release date for 1.2.2
https://api.github.com/repos/pandas-dev/pandas/pulls/39682
2021-02-08T18:10:57Z
2021-02-08T18:11:25Z
2021-02-08T18:11:25Z
2021-02-08T18:11:26Z
DOC: update release date for 1.2.2
diff --git a/doc/source/whatsnew/v1.2.2.rst b/doc/source/whatsnew/v1.2.2.rst index 837b81883c5f3..fa41a83a5e5fb 100644 --- a/doc/source/whatsnew/v1.2.2.rst +++ b/doc/source/whatsnew/v1.2.2.rst @@ -1,6 +1,6 @@ .. _whatsnew_122: -What's new in 1.2.2 (February 08, 2021) +What's new in 1.2.2 (February 09, 2021) -------...
https://api.github.com/repos/pandas-dev/pandas/pulls/39681
2021-02-08T18:10:16Z
2021-02-08T18:10:43Z
2021-02-08T18:10:43Z
2021-02-08T18:11:08Z
Backport PR #39547 on branch 1.2.x (BUG: read_excel with openpyxl produces trailing rows of nan)
diff --git a/doc/source/whatsnew/v1.2.2.rst b/doc/source/whatsnew/v1.2.2.rst index 46023e2ce08f5..88bceb7a11cb9 100644 --- a/doc/source/whatsnew/v1.2.2.rst +++ b/doc/source/whatsnew/v1.2.2.rst @@ -35,6 +35,7 @@ Bug fixes - :func:`pandas.read_excel` error message when a specified ``sheetname`` does not exist is now u...
Backport PR #39547: BUG: read_excel with openpyxl produces trailing rows of nan
https://api.github.com/repos/pandas-dev/pandas/pulls/39679
2021-02-08T15:16:03Z
2021-02-08T17:44:15Z
2021-02-08T17:44:15Z
2021-02-08T17:44:16Z
PERF: special case numpy.dtype in is_extension_array_dtype
diff --git a/asv_bench/benchmarks/dtypes.py b/asv_bench/benchmarks/dtypes.py index a5ed5c389fee4..3efcf46955e2b 100644 --- a/asv_bench/benchmarks/dtypes.py +++ b/asv_bench/benchmarks/dtypes.py @@ -2,9 +2,10 @@ import numpy as np +import pandas as pd from pandas import DataFrame import pandas._testing as tm -from...
Master: ``` dtype = np.dtype(float) dtype2 = pd.Int32Dtype() In [2]: %timeit pd.api.types.is_extension_array_dtype(dtype) 645 ns ± 59.1 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) In [3]: %timeit pd.api.types.is_extension_array_dtype(dtype2) 251 ns ± 9.68 ns per loop (mean ± std. dev. of 7...
https://api.github.com/repos/pandas-dev/pandas/pulls/39678
2021-02-08T14:59:53Z
2021-02-10T14:29:17Z
2021-02-10T14:29:17Z
2021-02-10T14:32:10Z
Backport PR #39655: REGR: fix case all-NaN/numeric object column in groupby
diff --git a/doc/source/whatsnew/v1.2.2.rst b/doc/source/whatsnew/v1.2.2.rst index 8ea0d72356acf..db62934f2f7ec 100644 --- a/doc/source/whatsnew/v1.2.2.rst +++ b/doc/source/whatsnew/v1.2.2.rst @@ -23,7 +23,8 @@ Fixed regressions - Fixed regression in :meth:`~DataFrame.to_csv` opening ``codecs.StreamWriter`` in binary ...
Backport PR #39655
https://api.github.com/repos/pandas-dev/pandas/pulls/39677
2021-02-08T14:43:00Z
2021-02-08T16:15:52Z
2021-02-08T16:15:52Z
2021-02-08T16:55:47Z
Backport PR #39615: BUG: fix Categorical.astype for dtype=np.int32 argument
diff --git a/doc/source/whatsnew/v1.2.2.rst b/doc/source/whatsnew/v1.2.2.rst index 8ea0d72356acf..167d0216b323e 100644 --- a/doc/source/whatsnew/v1.2.2.rst +++ b/doc/source/whatsnew/v1.2.2.rst @@ -21,6 +21,7 @@ Fixed regressions - Fixed regression in :meth:`~DataFrame.to_pickle` failing to create bz2/xz compressed pic...
Backport PR #39615
https://api.github.com/repos/pandas-dev/pandas/pulls/39676
2021-02-08T14:20:30Z
2021-02-08T16:15:28Z
2021-02-08T16:15:28Z
2021-02-08T16:55:07Z
Backport PR #39658 on branch 1.2.x (DOC: pin sphinx theme to avoid mobile dropdown bug)
diff --git a/environment.yml b/environment.yml index 71d7e47894f9d..a5b61220f88f3 100644 --- a/environment.yml +++ b/environment.yml @@ -113,5 +113,5 @@ dependencies: - tabulate>=0.8.3 # DataFrame.to_markdown - natsort # DataFrame.sort_values - pip: - - git+https://github.com/pandas-dev/pydata-sphinx-them...
Backport PR #39658: DOC: pin sphinx theme to avoid mobile dropdown bug
https://api.github.com/repos/pandas-dev/pandas/pulls/39674
2021-02-08T13:46:26Z
2021-02-08T14:45:17Z
2021-02-08T14:45:17Z
2021-02-08T14:45:17Z
Backport PR #39670 on branch 1.2.x (DOC: 1.2.2 release date)
diff --git a/doc/source/whatsnew/v1.2.2.rst b/doc/source/whatsnew/v1.2.2.rst index 8ea0d72356acf..46023e2ce08f5 100644 --- a/doc/source/whatsnew/v1.2.2.rst +++ b/doc/source/whatsnew/v1.2.2.rst @@ -1,6 +1,6 @@ .. _whatsnew_122: -What's new in 1.2.2 (February ??, 2021) +What's new in 1.2.2 (February 08, 2021) -------...
Backport PR #39670: DOC: 1.2.2 release date
https://api.github.com/repos/pandas-dev/pandas/pulls/39673
2021-02-08T13:41:10Z
2021-02-08T14:47:28Z
2021-02-08T14:47:28Z
2021-02-08T14:47:28Z
DOC: 1.2.2 release date
diff --git a/doc/source/whatsnew/v1.2.2.rst b/doc/source/whatsnew/v1.2.2.rst index 8ea0d72356acf..46023e2ce08f5 100644 --- a/doc/source/whatsnew/v1.2.2.rst +++ b/doc/source/whatsnew/v1.2.2.rst @@ -1,6 +1,6 @@ .. _whatsnew_122: -What's new in 1.2.2 (February ??, 2021) +What's new in 1.2.2 (February 08, 2021) -------...
https://api.github.com/repos/pandas-dev/pandas/pulls/39670
2021-02-08T12:06:37Z
2021-02-08T13:39:43Z
2021-02-08T13:39:42Z
2021-02-08T13:41:21Z
DOC: Start v1.2.3 release notes
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index e71b600412b03..71c9b0613b3ce 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 1.2 .. toctree:: :maxdepth: 2 + v1.2.3 v1.2.2 v1.2.1 v1.2.0 diff --git a/doc/source/...
web and docs will fail until 1.2.2 tag exists (can restart just that job after release)
https://api.github.com/repos/pandas-dev/pandas/pulls/39669
2021-02-08T11:54:17Z
2021-02-09T12:41:37Z
2021-02-09T12:41:37Z
2021-02-09T12:42:24Z
⬆️ UPGRADE: Autoupdate pre-commit config
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0fc6e61049a44..9017b1c2ea14c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,12 +24,12 @@ repos: hooks: - id: isort - repo: https://github.com/asottile/pyupgrade - rev: v2.9.0 + rev: v2.10.0 hooks: ...
<!-- START pr-commits --> <!-- END pr-commits --> ## Base PullRequest default branch (https://github.com/pandas-dev/pandas/tree/master) ## Command results <details> <summary>Details: </summary> <details> <summary><em>add path</em></summary> ```Shell /home/runner/work/_actions/technote-space/create-pr-action/v2/nod...
https://api.github.com/repos/pandas-dev/pandas/pulls/39668
2021-02-08T07:24:47Z
2021-02-08T10:02:45Z
2021-02-08T10:02:45Z
2021-02-08T10:02:51Z
CLN: minor error msg fix
diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 2b882207d9115..735fb345363c7 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -2085,6 +2085,6 @@ def _maybe_convert_css_to_tuples(style: CSSProperties) -> CSSSequence: except IndexError: raise Val...
- [x] tests passed
https://api.github.com/repos/pandas-dev/pandas/pulls/39667
2021-02-08T07:21:03Z
2021-02-11T13:47:33Z
2021-02-11T13:47:33Z
2021-02-11T18:07:21Z
CI: run database tests only #39550
diff --git a/.github/workflows/database.yml b/.github/workflows/database.yml index a30dbc048c03d..ba5a0a1fd0909 100644 --- a/.github/workflows/database.yml +++ b/.github/workflows/database.yml @@ -12,17 +12,19 @@ env: PYTEST_WORKERS: "auto" PANDAS_CI: 1 PATTERN: ((not slow and not network and not clipboard) or...
- [x] closes #39550 - [x] closes #39758
https://api.github.com/repos/pandas-dev/pandas/pulls/39666
2021-02-08T07:00:31Z
2021-03-19T14:22:49Z
2021-03-19T14:22:49Z
2021-03-21T03:45:52Z
PERF: EWMGroupby
diff --git a/asv_bench/benchmarks/rolling.py b/asv_bench/benchmarks/rolling.py index 5738775fe2b27..0c23aa59c4608 100644 --- a/asv_bench/benchmarks/rolling.py +++ b/asv_bench/benchmarks/rolling.py @@ -255,6 +255,19 @@ def time_rolling_multiindex_creation(self): class GroupbyEWM: + params = ["var", "std", "cov",...
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry ``` (pandas-dev) asv_bench % asv continuous -f 1.1 upstream/master HEAD -b rolling.GroupbyEWM before...
https://api.github.com/repos/pandas-dev/pandas/pulls/39664
2021-02-08T06:37:32Z
2021-02-08T21:00:52Z
2021-02-08T21:00:52Z
2021-02-08T21:06:24Z
DOC: Note on PyTables index issue and additional Contributing refinements
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index 7785f5fe3283d..1ece60bf704d6 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -112,8 +112,10 @@ want to clone your fork to your machine: :: This creates the directory `pandas-yourname` and connects your repository...
closes #9676
https://api.github.com/repos/pandas-dev/pandas/pulls/10069
2015-05-06T14:39:17Z
2015-05-07T00:20:22Z
2015-05-07T00:20:21Z
2015-05-07T00:20:26Z
BUG: Series.align resets name when fill_value is specified
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index a7917e81f7057..1658d79ae3532 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -73,9 +73,14 @@ Bug Fixes - Bug in display datetimes with mixed frequencies uniformly; display 'ms' datetimes to the pr...
``` import pandas.util.testing as tm ts = tm.makeTimeSeries() ts.name = 'ts' a, b = ts[2:], ts[:5] # OK (names are preserved) aa, ba = a.align(b) aa.name # ts ba.name # ts # NG, specifying fill_value resets names aa, ba = a.align(b, fill_value=-1) aa.name # None ba.name # None ```
https://api.github.com/repos/pandas-dev/pandas/pulls/10067
2015-05-06T03:09:14Z
2015-05-30T13:41:38Z
2015-05-30T13:41:38Z
2015-06-02T19:26:59Z
DOC: remove use of deprecated index set operation (follow-up GH10042)
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index d2b899716bce2..76efdc0553c7d 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1004,7 +1004,7 @@ Note that the following also works, but is a bit less obvious / clean: .. ipython:: python - df.reindex(df.index - ['a', 'd']) + df....
follow-up for #10038 and #10042 -> remove the occurence in the docs
https://api.github.com/repos/pandas-dev/pandas/pulls/10066
2015-05-05T23:43:38Z
2015-05-05T23:45:07Z
2015-05-05T23:45:07Z
2015-05-07T11:28:59Z
BUG: Bug in grouping with multiple pd.Grouper where one is non-time based (GH10063)
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 9436b4c4b34f1..4cd470562654d 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -231,7 +231,7 @@ Bug Fixes - Fixed bug in ``StataWriter`` resulting in changes to input ``DataFrame`` upon save (:issue...
closes #10063
https://api.github.com/repos/pandas-dev/pandas/pulls/10064
2015-05-05T14:34:47Z
2015-05-05T16:48:28Z
2015-05-05T16:48:28Z
2015-05-05T16:48:28Z
DOC: add warning for datareader changes in 0.17.0 (GH10004)
diff --git a/doc/source/remote_data.rst b/doc/source/remote_data.rst index 65fcf600cdfd2..1992288fd4d00 100644 --- a/doc/source/remote_data.rst +++ b/doc/source/remote_data.rst @@ -25,6 +25,24 @@ Remote Data Access ****************** +.. _remote_data.pandas_datareader: + +.. warning:: + + In pandas 0.17.0, the su...
closes #10004 ![remote data access pandas 0 16 0-249-g8f0f417 documentation](https://cloud.githubusercontent.com/assets/953992/7471821/9a99d0b4-f2f9-11e4-9a34-90b80bf9d4bf.png)
https://api.github.com/repos/pandas-dev/pandas/pulls/10061
2015-05-05T11:37:01Z
2015-05-05T22:27:26Z
2015-05-05T22:27:26Z
2015-05-05T22:27:26Z
BUG: Panel.from_dict does not set dtype when specified
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 2a4a408643451..3d5a2697e0e84 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -63,6 +63,7 @@ Bug Fixes - Bug in ``Categorical`` repr with ``display.width`` of ``None`` in Python 3 (:issue:`10087`) ...
currently `Panel.from_dict` is just ignoring the `dtype` argument: ``` In [1]: import pandas as pd In [2]: import numpy as np In [3]: df = pd.DataFrame(np.array(range(6)).reshape(3, 2)) In [4]: pa = pd.Panel.from_dict({'a': df, 'b': df}, dtype=float) In [5]: pa.dtypes Out[5]: a int64 b int64 dtype: object ``` t...
https://api.github.com/repos/pandas-dev/pandas/pulls/10058
2015-05-05T07:45:14Z
2015-05-18T11:45:06Z
2015-05-18T11:45:06Z
2015-06-02T19:26:59Z
ENH: Series.resample performance with datetime64[ns] #7754
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 9bf478831ea01..102460ff6d476 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -53,6 +53,8 @@ Removal of prior version deprecations/changes Performance Improvements ~~~~~~~~~~~~~~~~~~~~~~~~ +- Im...
It fixes the performance drop. See %timeit result [here](http://nbviewer.ipython.org/gist/scari/1173a9519d8b89000c08). closes #7754 @jreback Would you review this PR? Thanks!
https://api.github.com/repos/pandas-dev/pandas/pulls/10057
2015-05-04T21:34:41Z
2015-05-12T13:06:06Z
2015-05-12T13:06:06Z
2015-06-02T19:26:59Z
BUG: read_hdf modifying passed columns list (GH7212)
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 1cff74d41f686..d7955d7210ade 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -60,6 +60,8 @@ Performance Improvements Bug Fixes ~~~~~~~~~ +- Bug where read_hdf store.select modifies the passed c...
Closes #7212. If this object is a list, make a copy and then pass to process_axes - otherwise, just pass the object directly (in this case it is most likely none). A test for this behavior seems complex and somewhat contrived when compared with what exists in test_pytables.py, so I didn't add one --- let me know any t...
https://api.github.com/repos/pandas-dev/pandas/pulls/10055
2015-05-04T03:07:47Z
2015-05-26T04:06:27Z
2015-05-26T04:06:27Z
2022-10-13T00:16:33Z
ENH: Create merge indicator for obs from left, right, or both
diff --git a/doc/source/merging.rst b/doc/source/merging.rst index c62647010a131..6aa42dbdd3374 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -489,9 +489,9 @@ standard database join operations between DataFrame objects: :: - pd.merge(left, right, how='inner', on=None, left_on=None, right_o...
xref #7412 closes #8790 Adds a new column (`_merge`) to DataFrames being merged that takes on a value of `1` if observation was only in left df, `2` if only in right df, and `3` if in both. Designed to address #7412 and #8790. **Update:** new column now categorical with more informative labels of `left_only`, `righ...
https://api.github.com/repos/pandas-dev/pandas/pulls/10054
2015-05-03T17:12:39Z
2015-09-04T00:51:47Z
2015-09-04T00:51:47Z
2015-09-04T00:51:57Z
DOC: Add infer frequency to docs
diff --git a/doc/source/api.rst b/doc/source/api.rst index d442d8631247c..e63902a0910b3 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -158,6 +158,7 @@ Top-level dealing with datetimelike bdate_range period_range timedelta_range + infer_freq Top-level evaluation ~~~~~~~~~~~~~~~~~~~~ @@ -1...
Was there a reason infer_freq and inferred_freq weren't in the docs? Did I pick the right spot to add it? Does the feature work well? I set out looking for a feature like this, searching "guess frequency", "auto detect frequency".
https://api.github.com/repos/pandas-dev/pandas/pulls/10053
2015-05-03T15:51:18Z
2015-05-05T10:45:19Z
2015-05-05T10:45:19Z
2015-05-05T10:45:23Z
ENH: support str translate for StringMethods
diff --git a/doc/source/api.rst b/doc/source/api.rst index b708e35f3b6e1..57ae089e463c8 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -560,6 +560,7 @@ strings and apply several methods to it. These can be acccessed like Series.str.strip Series.str.swapcase Series.str.title + Series.str.trans...
as a part of https://github.com/pydata/pandas/issues/9111 note that this handles both py2 and py3 as the signature for `str.translate` has changed from py2 to py3 @sinhrks @jreback
https://api.github.com/repos/pandas-dev/pandas/pulls/10052
2015-05-02T20:09:54Z
2015-05-08T17:55:24Z
2015-05-08T17:55:24Z
2015-05-08T19:28:56Z
DOC: add PeriodIndex.asfreq docstring
diff --git a/pandas/tseries/period.py b/pandas/tseries/period.py index a4b754f5a6bbd..010d6dfb42f63 100644 --- a/pandas/tseries/period.py +++ b/pandas/tseries/period.py @@ -355,6 +355,44 @@ def freqstr(self): return self.freq def asfreq(self, freq=None, how='E'): + """ + Convert the Period...
Part of https://github.com/pydata/pandas/issues/6384 I guess PeriodIndex don't show up in the API docs at all. Not sure if I'll get to any more.
https://api.github.com/repos/pandas-dev/pandas/pulls/10051
2015-05-02T15:04:50Z
2015-05-09T20:42:30Z
2015-05-09T20:42:30Z
2017-04-05T02:06:24Z
ENH: support StringMethods index and rindex
diff --git a/doc/source/api.rst b/doc/source/api.rst index 364b3ba04aefb..b708e35f3b6e1 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -536,6 +536,7 @@ strings and apply several methods to it. These can be acccessed like Series.str.find Series.str.findall Series.str.get + Series.str.index ...
as a part of https://github.com/pydata/pandas/issues/9111 @sinhrks @jreback
https://api.github.com/repos/pandas-dev/pandas/pulls/10045
2015-05-01T20:36:49Z
2015-05-08T17:46:06Z
2015-05-08T17:46:06Z
2015-05-08T19:29:40Z
BUG: numericlike set ops on unsupported Indexes
diff --git a/pandas/core/index.py b/pandas/core/index.py index 83f60b360c746..b49108378ca68 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -1179,17 +1179,18 @@ def argsort(self, *args, **kwargs): return result.argsort(*args, **kwargs) def __add__(self, other): - if isinstance(oth...
closes #10038 closes #10039 - `CategoricalIndex` now raise `TypeError` on ops like : `idx - idx` (we are moving all non-numeric Indexes to this, but just deprecated for now on existing index types) - Index ops with lists will now show the same warning (e.g. `idx - ['a','b']`)
https://api.github.com/repos/pandas-dev/pandas/pulls/10042
2015-05-01T16:03:24Z
2015-05-04T12:45:51Z
2015-05-04T12:45:51Z
2015-05-04T21:00:39Z
DOC: use _shared_docs for fillna methods
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 341e129b22212..9a17fd5707198 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -66,7 +66,7 @@ # Docstring templates _shared_doc_kwargs = dict(axes='index, columns', klass='DataFrame', - axes_single_arg="{0,1,'index...
currently the docstring for `DataFrame.fillna` is shown for `Series.fillna` and `Panel.fillna`. http://pandas.pydata.org/pandas-docs/version/0.16.0/generated/pandas.Panel.fillna.html?highlight=fillna#pandas.Panel.fillna this is not accurate in particular for the `axis` values. This PR makes it such that they share th...
https://api.github.com/repos/pandas-dev/pandas/pulls/10036
2015-04-30T19:25:35Z
2015-05-04T21:35:28Z
2015-05-04T21:35:28Z
2015-05-05T00:08:19Z
DOC: added fredapi module to ecosystem list
diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst index a88c19c6edd55..194baba807d14 100644 --- a/doc/source/ecosystem.rst +++ b/doc/source/ecosystem.rst @@ -146,6 +146,15 @@ the European statistics office (Eurostat) and the European Central Bank (ECB). Datasets may be returned as pandas Series or mul...
kind of a shameless plug here, but would love to have my pandas-based project on this page :) please let me know what you think. Thanks.
https://api.github.com/repos/pandas-dev/pandas/pulls/10035
2015-04-30T19:10:57Z
2015-04-30T22:00:29Z
2015-04-30T22:00:29Z
2015-04-30T22:10:15Z
pd.lib.infer_dtype infers bytes in Python3
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 811b32676fc6a..8d593b3b44002 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -67,6 +67,8 @@ Enhancements - ``DataFrame`` and ``Series`` now have ``_constructor_expanddim`` property as overridabl...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/10032
2015-04-30T16:32:16Z
2015-05-08T14:16:38Z
2015-05-08T14:16:38Z
2015-05-08T14:16:39Z
ENH: Added str.normalize to use unicodedata.normalize
diff --git a/doc/source/api.rst b/doc/source/api.rst index d442d8631247c..20c76422ff924 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -540,6 +540,7 @@ strings and apply several methods to it. These can be acccessed like Series.str.lower Series.str.lstrip Series.str.match + Series.str.normali...
Derived from #9111. Can this be considered in v0.16.1? Otherwise will change the milestone. > [`unicodedata.normalize`](https://docs.python.org/2/library/unicodedata.html?highlight=unicodedata#unicodedata.normalize) is quite useful to standardize multi-bytes characters. I think it is nice if `StringMethods.normalize`...
https://api.github.com/repos/pandas-dev/pandas/pulls/10031
2015-04-30T16:12:18Z
2015-05-06T10:40:18Z
2015-05-06T10:40:18Z
2015-05-07T02:39:22Z
DOC: mention other packages in IO docs (for now, just xray for netCDF)
diff --git a/doc/source/io.rst b/doc/source/io.rst index a6c702e1cd874..52c7402594c60 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3996,6 +3996,24 @@ whether imported ``Categorical`` variables are ordered. a ``Categorial`` with string categories for the values that are labeled and numeric catego...
As discussed in #5487. This would also be a nice place to mention other packages that connect the pandas DataFrames with other file formats. Right now, the only one I can think of off-hand is `root_pandas` (#9378, CC @ibab), but I'm sure there are more.
https://api.github.com/repos/pandas-dev/pandas/pulls/10027
2015-04-30T06:39:53Z
2015-05-04T10:58:50Z
2015-05-04T10:58:50Z
2015-05-04T18:18:22Z
Fix TimedeltaIndex constructor fastpath when name is set
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index d00ce29fbfe92..08715e9613330 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -192,6 +192,7 @@ Bug Fixes - Bug in ``read_sql_table`` error when reading postgres table with timezone (:issue:`7139`) ...
Fixes #10025
https://api.github.com/repos/pandas-dev/pandas/pulls/10026
2015-04-30T05:52:33Z
2015-05-04T10:48:26Z
2015-05-04T10:48:26Z
2015-05-04T18:18:30Z
Speed up max_len_string_array
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index fdd31cd4d8e36..84472802d73be 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -171,7 +171,7 @@ Performance Improvements - Improved csv write performance with mixed dtypes, including datetimes by ...
Before: ``` python In [5]: x = np.array(['abcd', 'abcde', 'abcdef', 'abcdefg'] * int(1e7), object) In [2]: f = pd.lib.max_len_string_array In [6]: %timeit f(x) 1 loops, best of 3: 501 ms per loop ``` After: ``` python In [1]: x = np.array(['abcd', 'abcde', 'abcdef', 'abcdefg'] * int(1e7), object) In [2]: f = pd.l...
https://api.github.com/repos/pandas-dev/pandas/pulls/10024
2015-04-29T20:41:36Z
2015-04-30T15:09:30Z
2015-04-30T15:09:30Z
2015-04-30T15:09:31Z
read_csv newline fix
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 2ddf77d99d51d..16aab41cc3e88 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -216,6 +216,7 @@ Bug Fixes - Bug ``GroupBy.size`` doesn't attach index name properly if grouped by ``TimeGrouper`` (:is...
Slight change to the logic in the `tokenize_delimited()` and `tokenize_delim_customterm()` functions of the C parser. Fixes #10022. I believe the new logic is correct, but perhaps someone with more familiarity can double-check.
https://api.github.com/repos/pandas-dev/pandas/pulls/10023
2015-04-29T19:37:05Z
2015-05-08T04:25:52Z
2015-05-08T04:25:52Z
2015-05-09T00:42:05Z
BUG: null group spills into final group when grouping on a categorical
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 2ddf77d99d51d..d00ce29fbfe92 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -218,7 +218,7 @@ Bug Fixes - Bug in csv parser causing lines with initial whitespace plus one non-space character to be...
Fixes GH #9603
https://api.github.com/repos/pandas-dev/pandas/pulls/10014
2015-04-29T11:48:50Z
2015-04-29T23:05:42Z
2015-04-29T23:05:42Z
2015-04-29T23:08:00Z
kwarg for Categorical.fillna should be value instead of fill_value
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index caf706fcbcbbd..35db7481c8258 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -10,7 +10,7 @@ from pandas.core.algorithms import factorize from pandas.core.base import PandasObject, PandasDelegate import pandas.core....
It seems inconsistent that all the other `fillna()` methods (`DataFrame.fillna`, `Series.fillna`, etc) have `value` as the first kwarg but `Categorical` has `fill_value` instead
https://api.github.com/repos/pandas-dev/pandas/pulls/10012
2015-04-29T00:48:57Z
2015-04-29T10:27:10Z
2015-04-29T10:27:10Z
2015-04-29T15:15:43Z
CLN: remove an unnecessary warning from test_index.py
diff --git a/pandas/core/index.py b/pandas/core/index.py index 8b650fea9b440..83f60b360c746 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -1357,7 +1357,7 @@ def difference(self, other): theDiff = sorted(set(self) - set(other)) return Index(theDiff, name=result_name) - diff = dep...
Just a minor cleanup. `diff` is deprecated and it triggers a warning.
https://api.github.com/repos/pandas-dev/pandas/pulls/10010
2015-04-28T21:40:17Z
2015-04-29T10:29:14Z
2015-04-29T10:29:14Z
2015-04-29T15:15:15Z
DOC: improve fillna() doc for limit keyword (fixes #10002)
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index caf706fcbcbbd..4d4bfe9ab7561 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -1180,7 +1180,13 @@ def fillna(self, fill_value=None, method=None, limit=None): value : scalar Value to use to fill ho...
fixes #10002
https://api.github.com/repos/pandas-dev/pandas/pulls/10009
2015-04-28T21:22:07Z
2015-04-29T22:20:10Z
2015-04-29T22:20:10Z
2015-04-29T23:33:35Z
Docs: add reference to pandaSDMX to the ecosystem
diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst index 4a0743b8be3e4..a88c19c6edd55 100644 --- a/doc/source/ecosystem.rst +++ b/doc/source/ecosystem.rst @@ -137,6 +137,15 @@ PyDatastream is a Python interface to the SOAP API to return indexed Pandas DataFrames or Panels with financial data. This pack...
Closes #9962
https://api.github.com/repos/pandas-dev/pandas/pulls/10007
2015-04-28T19:12:04Z
2015-04-28T19:32:57Z
2015-04-28T19:32:57Z
2015-04-28T19:33:05Z
BUGFIX: length_of_indexer() can return incorrect values that break slice assignments
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 3d5c95aee2e92..5e882006e7de9 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -205,6 +205,7 @@ Bug Fixes - Bug in ``to_msgpack`` and ``read_msgpack`` zlib and blosc compression support (:issue:`978...
... assignments. BUG DESCRIPTION: length_of_indexer() (defined in pandas/core/indexing.py) returns incorrect result if (stop-start) is not divisible by step. As a consequence some slice assignments throw exceptions. Affected panda versions: 0.16.x, 0.15.x, current git master. HOW TO REPRODUCE: import pandas as pd sr...
https://api.github.com/repos/pandas-dev/pandas/pulls/9996
2015-04-26T23:24:36Z
2015-04-27T06:03:18Z
2015-04-27T06:03:18Z
2016-08-08T08:45:04Z
BUG: transform and filter misbehave when grouping on categorical data
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index c0408c4123eab..14caaab738be7 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -247,3 +247,5 @@ Bug Fixes - Bug in hiding ticklabels with subplots and shared axes when adding a new plot to an ex...
Fixes GH #9921 closes #9700
https://api.github.com/repos/pandas-dev/pandas/pulls/9994
2015-04-26T19:04:19Z
2015-04-29T10:31:53Z
2015-04-29T10:31:53Z
2015-09-19T00:38:08Z
DOC: provide more links to API documentation where possible (GH3705)
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index 1f59c38d75f93..94c2d921eb116 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -45,21 +45,22 @@ Object Creation See the :ref:`Data Structure Intro section <dsintro>` -Creating a ``Series`` by passing a list of values, letting pandas creat...
Part 1: 10min and basics.rst Addresses #3705 (for two files). I mainly replaced most ```method_name``` occurences with `:meth:`name``
https://api.github.com/repos/pandas-dev/pandas/pulls/9988
2015-04-25T20:45:37Z
2015-05-02T19:08:45Z
2015-05-02T19:08:45Z
2015-05-02T19:08:45Z
DOC: clean up / consistent imports (GH9886)
diff --git a/doc/source/computation.rst b/doc/source/computation.rst index 4b0fe39d929a9..4621d7bd9b216 100644 --- a/doc/source/computation.rst +++ b/doc/source/computation.rst @@ -1,23 +1,22 @@ .. currentmodule:: pandas -.. _computation: .. ipython:: python :suppress: import numpy as np np.random.see...
Start for #9886
https://api.github.com/repos/pandas-dev/pandas/pulls/9987
2015-04-25T20:41:47Z
2015-05-05T10:37:24Z
2015-05-05T10:37:24Z
2015-05-05T10:37:24Z
DOC/CLN: HTML docs fixes
diff --git a/doc/source/enhancingperf.rst b/doc/source/enhancingperf.rst index e6b735173110b..d007446a5b922 100644 --- a/doc/source/enhancingperf.rst +++ b/doc/source/enhancingperf.rst @@ -66,7 +66,7 @@ Here's the function in pure python: s += f(a + i * dx) return s * dx -We achieve our result by ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9986
2015-04-25T18:55:33Z
2015-04-25T21:44:41Z
2015-04-25T21:44:41Z
2015-04-25T23:31:42Z
BUG: .iloc and .loc behavior not consistent on empty dataframe
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index d00ce29fbfe92..fdd31cd4d8e36 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -217,9 +217,8 @@ Bug Fixes - Bug causing an exception in slice assignments because ``length_of_indexer`` returns wrong ...
Fixes #9964 . Notice that `assert_frame_equal` now fails for empty dataframes with different dtypes (as, I think, it should). However, this means some tests need to be patched now.
https://api.github.com/repos/pandas-dev/pandas/pulls/9983
2015-04-25T03:10:19Z
2015-04-30T10:04:04Z
2015-04-30T10:04:04Z
2015-04-30T10:04:40Z
DOC: StringMethods html doc fixes
diff --git a/doc/source/api.rst b/doc/source/api.rst index b1540ff528605..d3493a761521a 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -553,6 +553,7 @@ strings and apply several methods to it. These can be acccessed like Series.str.swapcase Series.str.title Series.str.upper + Series.str.wrap ...
I noticed some of the HTML links are broken in `text.rst` @sinhrks @jorisvandenbossche this is related to https://github.com/pydata/pandas/pull/9843 but can be independently merged
https://api.github.com/repos/pandas-dev/pandas/pulls/9981
2015-04-24T21:23:21Z
2015-04-25T07:34:47Z
2015-04-25T07:34:47Z
2015-04-25T07:38:35Z
TST: Check index names
diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py index 799872d036c4f..d01fdb4d75886 100755 --- a/pandas/io/tests/test_parsers.py +++ b/pandas/io/tests/test_parsers.py @@ -272,7 +272,7 @@ def test_squeeze(self): b,2 c,3 """ - expected = Series([1, 2, 3], ['a', 'b', 'c']) + ...
Derived from #9862. Added `check_names` kw to followings testing functions: - `assert_index_equal` (default=True). - `assert_series_equal` (default=True). Maybe the same option can be used to check `Series.name` in the future, otherwise it may better to choose separate name such as `check_index_name`. - `assert_paneln...
https://api.github.com/repos/pandas-dev/pandas/pulls/9972
2015-04-23T14:17:06Z
2015-04-28T11:10:00Z
2015-04-28T11:10:00Z
2015-04-29T01:22:19Z
DOC: Release note link and format correction
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index ed6257d8979e7..3d5c95aee2e92 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -9,7 +9,7 @@ We recommend that all users upgrade to this version. Highlights include: -- Support for a ``Categorica...
https://api.github.com/repos/pandas-dev/pandas/pulls/9968
2015-04-22T13:54:35Z
2015-04-22T14:19:13Z
2015-04-22T14:19:13Z
2015-04-23T13:34:21Z
TST: adding sdist and install tests to the 2.6 regression - closes #9878
diff --git a/.travis.yml b/.travis.yml index bc87853b26d6e..0d143d7f7133b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ matrix: - LOCALE_OVERRIDE="it_IT.UTF-8" - BUILD_TYPE=conda - JOB_NAME: "26_nslow_nnet" + - INSTALL_TEST=true - python: 2.7 env: - NOSE_ARGS=...
closes #9878 Adds a test for packaging and installing pandas from a tarball, inside of the 2.6 regression. After regular nosetests complete, cython is removed from the venv, pandas is packaged with cdist command, and the package is installed via pip. Limited nosetests run once installed. The output of this test in t...
https://api.github.com/repos/pandas-dev/pandas/pulls/9956
2015-04-20T19:08:27Z
2015-04-21T23:41:18Z
2015-04-21T23:41:18Z
2015-04-21T23:41:25Z
Spelling typo
diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst index 9d4cba2e5ee8c..43fa6ea759b33 100644 --- a/doc/source/visualization.rst +++ b/doc/source/visualization.rst @@ -267,7 +267,7 @@ You can pass other keywords supported by matplotlib ``hist``. For example, horiz plt.close('all') See the :m...
documenation -> documentation
https://api.github.com/repos/pandas-dev/pandas/pulls/9954
2015-04-20T15:38:07Z
2015-04-20T17:06:13Z
2015-04-20T17:06:13Z
2015-04-20T17:06:13Z
BUG: hidden ticklabels with sharex and secondary
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index cbd5ad3f49c18..32f2e6b626d12 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -239,3 +239,6 @@ Bug Fixes - Fixed latex output for multi-indexed dataframes (:issue:`9778`) - Bug causing an except...
Closes https://github.com/pydata/pandas/issues/9158 Fixes up a git mistake in https://github.com/pydata/pandas/pull/9164
https://api.github.com/repos/pandas-dev/pandas/pulls/9953
2015-04-20T12:26:18Z
2015-04-20T18:41:21Z
2015-04-20T18:41:21Z
2017-04-05T02:06:24Z
operator equal on Index should behavior similarly to Series
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 349e7e25fdafb..648013b393e1e 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -240,14 +240,14 @@ way to summarize a boolean result. .. ipython:: python - (df>0).all() - (df>0).any() + (df > 0).all() + (df > 0).any() You ca...
currently on `master` (after the PR https://github.com/pydata/pandas/issues/9785), we have the following behavior when comparing two Indexes with `==`: ``` In [3]: index_a = Index(['a', 'b', 'c']) In [4]: index_b = Index(['a', 'b', 'c', 'd']) In [5]: index_a == index_b Out[5]: False ``` Firstly, `==` should be elemen...
https://api.github.com/repos/pandas-dev/pandas/pulls/9947
2015-04-20T07:55:40Z
2015-07-16T08:32:48Z
2015-07-16T08:32:48Z
2015-07-17T14:02:03Z
various windows test / dtype fixes
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9624b1308239c..f3d7c48c7d1f1 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3341,10 +3341,18 @@ def where(self, cond, other=np.nan, inplace=False, axis=None, level=None, matches = (new_other == np.array(other)) ...
xref #9770 xref #9845 xref #9804 xref #9802
https://api.github.com/repos/pandas-dev/pandas/pulls/9942
2015-04-19T22:14:36Z
2015-04-20T01:04:01Z
2015-04-20T01:04:01Z
2015-04-20T01:04:01Z
PERF: improve perf of writing csv's with datetimes
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 7166801b3fbf0..c2992f2e6c7d2 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -89,7 +89,8 @@ API changes Performance Improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - +- Improved csv write performance wit...
``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- frame_to_csv_mixed | 107.7774 | 668.5090 | 0.16...
https://api.github.com/repos/pandas-dev/pandas/pulls/9940
2015-04-19T18:30:36Z
2015-04-20T11:15:48Z
2015-04-20T11:15:48Z
2015-04-20T11:15:48Z
DOC: Link to recipe for SafeHDF5Store
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 0e6386955a653..f69f926296020 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -1006,6 +1006,9 @@ The :ref:`HDFStores <io.hdf5>` docs `Merging on-disk tables with millions of rows <http://stackoverflow.com/questions/14614512/merg...
Just a link in the cookbook, as suggested by https://github.com/pydata/pandas/issues/9641
https://api.github.com/repos/pandas-dev/pandas/pulls/9938
2015-04-19T10:38:43Z
2015-04-19T17:54:28Z
2015-04-19T17:54:28Z
2015-04-19T17:54:34Z
BUG: GroupBy.size doesnt attach index name properly if grouped by TimeGr...
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 659aa6786b366..7639408d2c644 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -125,7 +125,7 @@ Bug Fixes - Bug in ``to_msgpack`` and ``read_msgpack`` zlib and blosc compression support (:issue:`978...
Closes #9925
https://api.github.com/repos/pandas-dev/pandas/pulls/9936
2015-04-18T20:56:54Z
2015-04-20T11:08:51Z
2015-04-20T11:08:51Z
2015-04-22T13:55:10Z
BUG: Exception when setting an empty range using DataFrame.loc
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 659aa6786b366..8bd2939e2c805 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -161,3 +161,4 @@ Bug Fixes - Changed caching in ``AbstractHolidayCalendar`` to be at the instance level rather than at ...
Fixes #9596
https://api.github.com/repos/pandas-dev/pandas/pulls/9934
2015-04-18T17:22:20Z
2015-04-18T20:42:41Z
2015-04-18T20:42:41Z
2015-04-18T20:52:21Z
Update README.md
diff --git a/README.md b/README.md index cea7e8c6bfd72..c76fbe7df9e6b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # pandas: powerful Python data analysis toolkit -![Travis-CI Build Status](https://travis-ci.org/pydata/pandas.svg) +[![Build Status](https://travis-ci.org/pydata/pandas.svg?branch=master)](ht...
Travis build status badge should be clickable.
https://api.github.com/repos/pandas-dev/pandas/pulls/9931
2015-04-18T15:35:35Z
2015-04-19T00:16:58Z
2015-04-19T00:16:58Z
2015-04-19T00:17:02Z
Allow add_categories() to accept Series/np.array and make raising on dup...
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 659aa6786b366..29ea267ed583b 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -55,6 +55,7 @@ Enhancements - Allow Panel.shift with ``axis='items'`` (:issue:`9890`) - Trying to write an excel fil...
...licates optional, fixes #9927
https://api.github.com/repos/pandas-dev/pandas/pulls/9929
2015-04-18T07:01:35Z
2015-04-21T23:38:48Z
2015-04-21T23:38:48Z
2015-04-22T00:08:07Z
ENH: Remove Unnecessary Conditional
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 19f15f58afffd..80edfa2af024e 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -794,10 +794,7 @@ def from_records(cls, data, index=None, exclude=None, columns=None, return cls() try: - if compat.P...
this removes a check for `compat.PY3` where it is no longer needed
https://api.github.com/repos/pandas-dev/pandas/pulls/9916
2015-04-16T18:41:04Z
2015-04-16T23:13:00Z
2015-04-16T23:13:00Z
2015-04-16T23:13:00Z
BUG: barplot with log=True not working for values smaller than 1
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 090ef9ea92fc1..1c8c207e0955a 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -144,8 +144,8 @@ Bug Fixes - Bug in ``MultiIndex.sortlevel()`` results in unicode level name breaks (:issue:`9875`) - ...
Closes #9905. Also include a fix that `log` kw is ignored in horizontal bar plot. Test cases are based on standard mpl result: ``` plt.bar([0, 1, 2], [0.1, 0.01, 0.001], log=True) plt.gca().get_ylim() # (0.001, 0.10000000000000001) plt.gca().yaxis.get_ticklocs() # [ 1.00000000e-04 1.00000000e-03 1.00000000e-02 ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9914
2015-04-16T14:55:15Z
2015-04-16T18:55:42Z
2015-04-16T18:55:42Z
2015-04-18T10:43:50Z
DOC: add redirects to ensure old links instead of building the docstring page
diff --git a/doc/_templates/api_redirect.html b/doc/_templates/api_redirect.html new file mode 100644 index 0000000000000..24bdd8363830f --- /dev/null +++ b/doc/_templates/api_redirect.html @@ -0,0 +1,15 @@ +{% set pgn = pagename.split('.') -%} +{% if pgn[-2][0].isupper() -%} + {% set redirect = ["pandas", pgn[-2], ...
We still have a lot of API pages with 'old' namespace usage (eg `pandas.io.parsers.read_csv` instead of `pandas.read_csv` as how it should show up in the documentation). Now we build the pages as well, this PR changes this in adding redirect pages. (The reason I care about this is that googling eg `read_csv` still oft...
https://api.github.com/repos/pandas-dev/pandas/pulls/9911
2015-04-15T21:02:35Z
2015-04-25T20:39:18Z
2015-04-25T20:39:18Z
2015-04-27T22:38:54Z
add/delete str/dt/cat dynamically from __dir__ (fix for #9627)
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 3561822baf5eb..08d8ef9116367 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -62,6 +62,8 @@ Enhancements - Trying to write an excel file now raises ``NotImplementedError`` if the ``DataFrame`` h...
@jreback this PR makes it easier to add/delete items from `__dir__`. The `.str/.dt/.cat` are now only present in `__dir__` when they are appropriate types. However, the IPython tab completion does not seem to only source the list from `__dir__`, and therefore even if an item is removed from `__dir__` it is still showi...
https://api.github.com/repos/pandas-dev/pandas/pulls/9910
2015-04-15T20:57:31Z
2015-04-21T00:58:16Z
2015-04-21T00:58:16Z
2015-04-21T21:45:58Z
Fixed latex output for multi-indexed dataframes - GH9778
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index ffc08fa4ff169..090ef9ea92fc1 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -157,3 +157,5 @@ Bug Fixes - Bug where dividing a dataframe containing values of type ``Decimal`` by another ``Decimal`...
Proposed fix for https://github.com/pydata/pandas/issues/9778 The formatting issue was caused by an incorrect number of elements in the (first) index columns of `strcols`. The length of reinserted columns was based on the number of elements per index level, but should have relied on the number of rows/occurrences of s...
https://api.github.com/repos/pandas-dev/pandas/pulls/9908
2015-04-15T18:44:18Z
2015-04-16T06:14:38Z
2015-04-16T06:14:38Z
2015-07-23T11:02:22Z
Fix of the docs for tz_conver and tz_localize (fix for #9865)
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 49c5791f6a5a4..8bd85a008f077 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3599,8 +3599,7 @@ def truncate(self, before=None, after=None, axis=None, copy=True): def tz_convert(self, tz, axis=0, level=None, copy=True): ...
Fix for issue #9865 "Cannot convert tz-naive timestamps": Docs for `tz_convert` and `tz_localize` were updated and "Raises" section were added.
https://api.github.com/repos/pandas-dev/pandas/pulls/9906
2015-04-15T15:32:42Z
2015-04-15T20:10:09Z
2015-04-15T20:10:09Z
2015-04-16T08:57:28Z
Index repr changes to make them consistent
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index 688935c6b104d..262c439cde636 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -675,10 +675,7 @@ values NOT in the categories, similarly to how you can reindex ANY pandas index. }).set_index('B') ...
With this PR, makes repr of all Index types consistent. closes #6482 closes #6295 replaces #9897 Previous Behavior ``` In [1]: pd.get_option('max_seq_items') Out[1]: 100 In [2]: pd.Index(range(4),name='foo') Out[2]: Int64Index([0, 1, 2, 3], dtype='int64') In [3]: pd.Index(range(104),name='foo') Out[3]: Int64Index(...
https://api.github.com/repos/pandas-dev/pandas/pulls/9901
2015-04-14T18:51:17Z
2015-05-09T21:51:59Z
2015-05-09T21:51:59Z
2015-05-09T21:51:59Z
DOC: Revise merging.rst with graphical examples
diff --git a/doc/source/merging.rst b/doc/source/merging.rst index 7128e2dd82d6c..8f2f4c9467ac2 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -12,6 +12,12 @@ randn = np.random.randn np.set_printoptions(precision=4, suppress=True) + import matplotlib.pyplot as plt + plt.close('all') +...
Closes #9301. Though further table size adjustment / plotter module refactoring is required, I'd like to ask any feedbacks for current output. I've prepared table plotter under utils.doctools, but is there anywhere more appropriate? cc @JanSchulz ![merge_update png](https://cloud.githubusercontent.com/assets/169630...
https://api.github.com/repos/pandas-dev/pandas/pulls/9899
2015-04-14T16:00:36Z
2015-05-08T07:45:25Z
2015-05-08T07:45:25Z
2015-05-14T16:17:09Z
Use 'python-dateutil' instead of 'dateutil' for requirement files
diff --git a/ci/requirements-2.7_32.txt b/ci/requirements-2.7_32.txt index 01b305bb6f21a..2e241b1ce45bf 100644 --- a/ci/requirements-2.7_32.txt +++ b/ci/requirements-2.7_32.txt @@ -1,4 +1,4 @@ -dateutil +python-dateutil pytz xlwt numpy diff --git a/ci/requirements-2.7_64.txt b/ci/requirements-2.7_64.txt index 01b305...
The former also is known to the 'pip install' command, and still works with conda install. Making requirements files compatible with 'pip install' is more relevant now that packages like numpy have a (binary) wheel available.
https://api.github.com/repos/pandas-dev/pandas/pulls/9898
2015-04-14T15:50:50Z
2015-06-09T22:05:05Z
2015-06-09T22:05:05Z
2015-06-09T22:06:10Z
Period accepts datetime64
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index a39ef71f57f15..eddaaf46893fa 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -49,6 +49,7 @@ Enhancements - Allow conversion of values with dtype ``datetime64`` or ``timedelta64`` to strings usin...
closes #9054
https://api.github.com/repos/pandas-dev/pandas/pulls/9896
2015-04-14T14:26:25Z
2015-04-14T16:14:49Z
2015-04-14T16:14:49Z
2015-04-14T16:14:58Z
ENH/BUG: color cannot be applied to line subplots
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 8c582f2618882..3e6e9355da5a2 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -87,6 +87,8 @@ Other enhancements Backwards incompatible API changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +- Line and ...
Specifying `subplots=True` in line and kde plot draws all lines in black, and may not accept colors and styles keyword. Summarized a table to compare current / expected (fixed) behaviour. Sample data: ``` df = pd.DataFrame(np.random.randn(10, 3)) ``` | Command | Current Behavior | Expected Behavior | | --- | --- | -...
https://api.github.com/repos/pandas-dev/pandas/pulls/9894
2015-04-14T13:58:13Z
2015-07-22T10:49:05Z
2015-07-22T10:49:05Z
2015-07-22T10:49:08Z
ENH: allow Panel.shift on items axis
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index d4d8a05c66792..ffc08fa4ff169 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -52,6 +52,7 @@ Enhancements - ``Period`` now accepts ``datetime64`` as value input. (:issue:`9054`) - Allow timedelt...
I'm not sure why `Panel.shift` currently raises with `axis='items'`, while `axis=0` works. This PR enables `axis='items'` and also updates the docstring to show the parameter `periods` instead of the deprecated `lags`
https://api.github.com/repos/pandas-dev/pandas/pulls/9890
2015-04-14T03:05:52Z
2015-04-15T17:33:15Z
2015-04-15T17:33:15Z
2015-04-15T18:38:52Z
ENH: Raise error writing excel file with a MultiIndexed DataFrame #9794
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index d4d8a05c66792..7cccfca6265c3 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -53,6 +53,8 @@ Enhancements - Allow timedelta string conversion when leading zero is missing from time definition, ie...
Raise a NotImplementedError until fixed. closes #9794
https://api.github.com/repos/pandas-dev/pandas/pulls/9889
2015-04-13T21:10:19Z
2015-04-17T12:35:41Z
2015-04-17T12:35:41Z
2015-04-17T12:35:45Z
Fix right hand side dict assignment for DataFrames
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index 2eabc35fd831d..1729a9d76cacd 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -249,6 +249,14 @@ new column. If you are using the IPython environment, you may also use tab-completion to see these accessible attributes. +You can...
closes #9874
https://api.github.com/repos/pandas-dev/pandas/pulls/9877
2015-04-13T19:40:07Z
2015-04-14T14:15:14Z
2015-04-14T14:15:14Z
2015-05-27T20:26:50Z
BUG: unstack on unicode name level breaks #9856
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 3f510ce3d44c0..eb5703990546c 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -132,3 +132,5 @@ Bug Fixes - Bug in unequal comparisons between a ``Series`` of dtype `"category"` and a scalar (e.g. `...
This PR fixes #9856 [PYCON 2015 Sprints]
https://api.github.com/repos/pandas-dev/pandas/pulls/9875
2015-04-13T17:04:10Z
2015-04-14T12:59:48Z
2015-04-14T12:59:48Z
2015-04-14T12:59:54Z
REF: simplify _iterate_slices
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 002d8640f109d..06dc1e2c4fa51 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -10,19 +10,7 @@ from functools import partial from textwrap import dedent import typing -from typing import ( - Any, -...
https://api.github.com/repos/pandas-dev/pandas/pulls/29629
2019-11-15T02:36:03Z
2019-11-16T21:06:46Z
2019-11-16T21:06:46Z
2019-11-16T22:16:57Z
REF: de-duplicate _apply_to_group
diff --git a/pandas/_libs/reduction.pyx b/pandas/_libs/reduction.pyx index 8733249888ae9..f5521b94b6c33 100644 --- a/pandas/_libs/reduction.pyx +++ b/pandas/_libs/reduction.pyx @@ -189,6 +189,27 @@ cdef class _BaseGrouper: return cached_typ, cached_ityp + cdef inline object _apply_to_group(self, + ...
functionally identical code in SeriesGrouper.get_result and SeriesBinGrouper.get_result, now shared.
https://api.github.com/repos/pandas-dev/pandas/pulls/29628
2019-11-15T01:30:05Z
2019-11-17T23:00:12Z
2019-11-17T23:00:12Z
2019-11-17T23:20:48Z
CLN: reshape
diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py index 3e8d19096a36e..c2322ae626cfd 100644 --- a/pandas/core/reshape/concat.py +++ b/pandas/core/reshape/concat.py @@ -2,6 +2,7 @@ concat routines """ +from typing import List import warnings import numpy as np @@ -437,13 +438,13 @@ def g...
I think some of this can be made easier to reason about (like with making FrameApply less stateful), as a preliminary this is just some mild annotations etc
https://api.github.com/repos/pandas-dev/pandas/pulls/29627
2019-11-15T01:23:24Z
2019-11-20T13:02:06Z
2019-11-20T13:02:06Z
2019-11-20T15:35:29Z
CLN: Make non-empty **kwargs in Index.__new__ fail instead of silently dropped
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 5b57d3f096b0c..750db3c7e6a20 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -54,6 +54,7 @@ ABCDatetimeArray, ABCDatetimeIndex, ABCIndexClass, + ABCIntervalIndex, ABCMultiIndex, ABCPand...
In #29624 I made change so random kwargs weren't passed to ``Index._simple_new``. I'v found out after merging that the selected solution dropped non-empty kwargs, which isn't great either. This version ensures that passing non-accepted kwargs raises, so ``pd.Index(['a'], foo="foo")`` raises a TypeError. Instead of r...
https://api.github.com/repos/pandas-dev/pandas/pulls/29625
2019-11-14T22:56:59Z
2019-11-17T10:23:44Z
2019-11-17T10:23:44Z
2019-11-17T10:23:50Z
REF: eliminate statefulness in FrameApply
diff --git a/pandas/core/apply.py b/pandas/core/apply.py index 94b7c59b93563..071cd116ea982 100644 --- a/pandas/core/apply.py +++ b/pandas/core/apply.py @@ -1,6 +1,6 @@ import abc import inspect -from typing import TYPE_CHECKING, Any, Dict, Iterator, Optional, Type, Union +from typing import TYPE_CHECKING, Any, Dict,...
https://api.github.com/repos/pandas-dev/pandas/pulls/29620
2019-11-14T18:42:01Z
2019-11-15T14:53:30Z
2019-11-15T14:53:30Z
2019-11-15T16:10:30Z
Update nullable integer docs with None instead of np.nan
diff --git a/doc/source/user_guide/integer_na.rst b/doc/source/user_guide/integer_na.rst index db6869a3804bd..f1f3d79eed61e 100644 --- a/doc/source/user_guide/integer_na.rst +++ b/doc/source/user_guide/integer_na.rst @@ -30,7 +30,7 @@ you must explicitly pass the dtype into :meth:`array` or :class:`Series`: .. ipyth...
Update nullable integer docs with None instead of np.nan - [X] closes #29599 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29619
2019-11-14T16:00:41Z
2019-11-14T18:07:11Z
2019-11-14T18:07:10Z
2019-11-14T18:26:02Z
Triage guide
diff --git a/doc/source/development/index.rst b/doc/source/development/index.rst index 1228f00667f3a..a523ae0c957f1 100644 --- a/doc/source/development/index.rst +++ b/doc/source/development/index.rst @@ -13,6 +13,7 @@ Development :maxdepth: 2 contributing + maintaining internals extending ...
Discussed on the dev call yesterday. cc @pandas-dev/pandas-core. Any sections I'm missing? Any statements you disagree with? xref https://github.com/pandas-dev/pandas-governance/issues/11 (writing down a policy for triaging once we have one).
https://api.github.com/repos/pandas-dev/pandas/pulls/29616
2019-11-14T14:09:50Z
2019-11-17T14:25:05Z
2019-11-17T14:25:05Z
2019-11-17T15:38:15Z
Fixed tokenizer build warnings
diff --git a/pandas/_libs/src/parser/tokenizer.h b/pandas/_libs/src/parser/tokenizer.h index 802b58d8ec916..4903e936dc348 100644 --- a/pandas/_libs/src/parser/tokenizer.h +++ b/pandas/_libs/src/parser/tokenizer.h @@ -162,9 +162,9 @@ typedef struct parser_t { int64_t skip_footer; // pick one, depending on whet...
Fixes the following warnings: ```sh pandas/_libs/parsers.c:5873:52: warning: incompatible pointer types assigning to 'double (*)(const char *, char **, char, char, char, int)' from 'double (const char *, char **, char, char, char, int, int *, int *)' [-Wincompatible-pointer-types] __pyx_v_self->parser->...
https://api.github.com/repos/pandas-dev/pandas/pulls/29613
2019-11-14T05:19:27Z
2019-11-14T13:29:51Z
2019-11-14T13:29:51Z
2020-01-16T00:33:34Z
REF: eliminate eval_kwargs
diff --git a/pandas/core/computation/expressions.py b/pandas/core/computation/expressions.py index 46bc762e1a0b3..77999d2c166fd 100644 --- a/pandas/core/computation/expressions.py +++ b/pandas/core/computation/expressions.py @@ -62,9 +62,8 @@ def set_numexpr_threads(n=None): ne.set_num_threads(n) -def _eva...
This is a preliminary for the arithmetic refactor. (Not _strictly_ necessary, but preferable, and it is a reasonable scope to split off)
https://api.github.com/repos/pandas-dev/pandas/pulls/29611
2019-11-14T04:10:56Z
2019-11-14T19:53:21Z
2019-11-14T19:53:21Z
2019-11-14T20:17:41Z
CLN: reachable cases in Reducer
diff --git a/pandas/_libs/reduction.pyx b/pandas/_libs/reduction.pyx index 3df26cbcf214a..8733249888ae9 100644 --- a/pandas/_libs/reduction.pyx +++ b/pandas/_libs/reduction.pyx @@ -81,7 +81,7 @@ cdef class Reducer: else: - # we passed a series-like + # we passed a Series ...
compute_reduction has optional `labels` and `dummy` arguments. In practice, either both are passed or neither is passed. By enforcing this, we can simplify the code a bit.
https://api.github.com/repos/pandas-dev/pandas/pulls/29610
2019-11-14T04:04:39Z
2019-11-14T16:30:18Z
2019-11-14T16:30:18Z
2019-11-14T16:38:56Z
REF: de-nest _get_cython_function
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index dec9a33c73f54..002d8640f109d 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -1058,14 +1058,14 @@ def _cython_agg_blocks( return new_items, new_blocks - def _aggregate_frame(self, func,...
https://api.github.com/repos/pandas-dev/pandas/pulls/29609
2019-11-14T04:01:31Z
2019-11-14T16:29:38Z
2019-11-14T16:29:38Z
2019-11-14T16:38:02Z
DEPR: enforce nested-renaming deprecation
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index e25049cecdc09..843bd49ed39ab 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -271,6 +271,7 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more. - Removed the previously deprecated ...
Looks like this deprecation was introduced in #14668 (April 2017), so should be OK to remove by now. Suggestions for better error messages welcome. Not passing `_level` around is pretty nice
https://api.github.com/repos/pandas-dev/pandas/pulls/29608
2019-11-14T03:04:54Z
2019-11-19T17:43:22Z
2019-11-19T17:43:22Z
2019-11-19T18:08:16Z
STYLE: Specify target-version for black
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index ab7bd7895a596..d5566c522ac64 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -56,7 +56,7 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then black --version MSG='Checking black formatting' ; echo $MSG - black . --check --exclude '(asv_bench/...
The `target-version` option explicitly tells `black` that it can use Python features from the supplied versions. The default is per-file detection by looking for the presence specific syntax, e.g. f-strings would indicate py36. Currently `black` does not detect this for us since we just bumped to py36, so detection...
https://api.github.com/repos/pandas-dev/pandas/pulls/29607
2019-11-14T00:04:50Z
2019-11-14T19:07:34Z
2019-11-14T19:07:34Z
2019-12-20T01:03:19Z
CLN:Typing in pandas/core/dtypes/
diff --git a/pandas/core/dtypes/base.py b/pandas/core/dtypes/base.py index d9d3b0d45e218..c90f1cdeaabfd 100644 --- a/pandas/core/dtypes/base.py +++ b/pandas/core/dtypes/base.py @@ -86,7 +86,7 @@ def __from_arrow__( def __str__(self) -> str: return self.name - def __eq__(self, other): + def __eq__(...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/29606
2019-11-13T22:36:15Z
2019-11-15T14:56:02Z
2019-11-15T14:56:02Z
2019-11-16T14:48:16Z