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
DOC: various doc build fixes
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index e50e792201d26..0c843dd39b56f 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -729,7 +729,7 @@ Int64Index and RangeIndex Prior to 0.18.0, the ``Int64Index`` would provide the default index for all ``NDFrame`` objects. ``RangeI...
Up to a clean doc build :-)
https://api.github.com/repos/pandas-dev/pandas/pulls/13502
2016-06-23T15:30:18Z
2016-06-24T12:04:12Z
2016-06-24T12:04:12Z
2016-06-24T12:04:18Z
DOC: fix accessor docs for sphinx > 1.3 (GH12161)
diff --git a/doc/source/conf.py b/doc/source/conf.py index 87510d13ee484..6ceeee4ad6afb 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -318,6 +318,7 @@ # Add custom Documenter to handle attributes/methods of an AccessorProperty # eg pandas.Series.str and pandas.Series.dt (see GH9322) +import sphinx fr...
closes #12161 With this change, the links in the api summary to the accessor methods should work again.
https://api.github.com/repos/pandas-dev/pandas/pulls/13499
2016-06-23T12:38:50Z
2016-06-23T15:37:45Z
2016-06-23T15:37:45Z
2016-06-23T15:37:45Z
TST: Clean up tests of DataFrame.sort_{index,values}
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b4b35953b4282..15d4bb6b5a537 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -68,8 +68,12 @@ # --------------------------------------------------------------------- # Docstring templates -_shared_doc_kwargs = dict(axes='index, columns', ...
Before taking a stab at #10806, I looked at the relevant tests and they didn't make much sense to me. This commit fixes: - Some expected results were obtained by running code identical to what's being tested. (i.e. test could never fail) - Removed duplicate assertions testing the same functionality both in `test_sort_...
https://api.github.com/repos/pandas-dev/pandas/pulls/13496
2016-06-22T07:15:59Z
2016-07-11T18:21:06Z
2016-07-11T18:21:06Z
2016-07-11T18:47:08Z
TST: Fix MMapWrapper init test for Windows
diff --git a/pandas/io/tests/test_common.py b/pandas/io/tests/test_common.py index 46c34abf5aeb7..cf5ec7d911051 100644 --- a/pandas/io/tests/test_common.py +++ b/pandas/io/tests/test_common.py @@ -1,7 +1,6 @@ """ Tests for the pandas.io.common functionalities """ -import nose import mmap import os from os.pat...
Turns out Windows errors differently when an invalid `fileno` is passed into the `mmap` constructor, so there's no need to skip the test (xref: 9670b31).
https://api.github.com/repos/pandas-dev/pandas/pulls/13494
2016-06-21T08:58:04Z
2016-06-22T10:08:30Z
null
2016-06-22T12:38:48Z
DOC/WIP: travis notebook doc build
diff --git a/ci/requirements-2.7_DOC_BUILD.run b/ci/requirements-2.7_DOC_BUILD.run index 507ce9ea5aac5..b87a41df4191d 100644 --- a/ci/requirements-2.7_DOC_BUILD.run +++ b/ci/requirements-2.7_DOC_BUILD.run @@ -1,7 +1,9 @@ ipython +ipykernel sphinx nbconvert nbformat +notebook matplotlib scipy lxml diff --git a/do...
Just want to see the output log from the pull request.
https://api.github.com/repos/pandas-dev/pandas/pulls/13493
2016-06-21T01:05:58Z
2016-06-23T13:28:02Z
2016-06-23T13:28:02Z
2017-04-05T02:06:58Z
DOC: find kernelspec
diff --git a/doc/make.py b/doc/make.py index 05bf618ee677e..8e7b1d95dbafb 100755 --- a/doc/make.py +++ b/doc/make.py @@ -116,6 +116,11 @@ def cleanup_nb(nb): pass +def get_kernel(): + """Find the kernel name for your python version""" + return 'python%s' % sys.version_info.major + + def execute_...
xref https://github.com/pydata/pandas/pull/13487 Problem was the notebook was written with a python3 kernel, but the doc build is python2. There are potentially problems here if you have non-default kernel names in your environment...
https://api.github.com/repos/pandas-dev/pandas/pulls/13491
2016-06-20T12:29:13Z
2016-06-20T14:34:09Z
2016-06-20T14:34:09Z
2017-04-05T02:06:52Z
DOC: add nbformat for notebook conversion
diff --git a/ci/requirements-2.7_DOC_BUILD.run b/ci/requirements-2.7_DOC_BUILD.run index 854776762fdb5..507ce9ea5aac5 100644 --- a/ci/requirements-2.7_DOC_BUILD.run +++ b/ci/requirements-2.7_DOC_BUILD.run @@ -1,6 +1,7 @@ ipython sphinx nbconvert +nbformat matplotlib scipy lxml
The build [here](https://travis-ci.org/pydata/pandas/jobs/138633677#L1866) didn't succeed. Had `nbconvert` in the debs, but not `nbformat`.
https://api.github.com/repos/pandas-dev/pandas/pulls/13487
2016-06-19T13:23:43Z
2016-06-19T14:31:41Z
null
2017-04-05T02:06:51Z
ENH:read_html() handles tables with multiple header rows #13434
diff --git a/pandas/io/html.py b/pandas/io/html.py index 3c38dae91eb89..83344f2f6992e 100644 --- a/pandas/io/html.py +++ b/pandas/io/html.py @@ -355,7 +355,8 @@ def _parse_raw_thead(self, table): thead = self._parse_thead(table) res = [] if thead: - res = lmap(self._text_getter, se...
- [ ] closes #13434 - [ ] read_html() handles tables with multiple header rows Now it produces the following output for the issue Unnamed: 0 Age Party 0 Hillary 68 D 1 Bernie 74 D 2 Donald 69 R
https://api.github.com/repos/pandas-dev/pandas/pulls/13485
2016-06-19T05:52:13Z
2016-11-16T22:27:09Z
null
2016-11-16T22:27:09Z
BUG: is_normalized returned False for local tz
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index c8a8b8eb0547b..a2f7981a85aa8 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -524,3 +524,5 @@ Bug Fixes - Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform...
- [x] closes #13459 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry is_normalized returned False for normalized date_range in case of local timezone 'Asia/Kolkata' Fixes: #13459
https://api.github.com/repos/pandas-dev/pandas/pulls/13484
2016-06-19T03:02:19Z
2016-06-21T12:43:02Z
null
2016-06-21T12:43:08Z
BUG: windows with TemporaryFile an read_csv #13398
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 8a14765aa6df2..9a4d39b4e3390 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -493,6 +493,7 @@ Bug Fixes - Bug in ``pd.read_csv()`` in which the ``nrows`` argument was not properly validated for bo...
- [ x] closes #13398 - [ x] no tests added -> could not find location for IO tests? - [ x] passes `git diff upstream/master | flake8 --diff` Change the way of reading back to readline (consistent with the test before entering the function) One failure on Windows 10 (Python 3.5), but expected to fail actually (should...
https://api.github.com/repos/pandas-dev/pandas/pulls/13481
2016-06-18T16:09:28Z
2016-06-22T10:21:28Z
null
2016-06-22T10:21:40Z
BUG: Series/Index results in datetime/timedelta incorrectly if inputs are all nan/nat like
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 70c466ed51681..39cb4a26d413c 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -484,8 +484,9 @@ Bug Fixes - Bug in ``Series.str.extractall()`` with ``str`` index raises ``ValueError`` (:issue:`13...
- [x] closes #13467 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/13477
2016-06-18T04:12:59Z
2016-07-11T07:31:10Z
2016-07-11T07:31:10Z
2016-07-11T07:52:53Z
BUG: fix to_datetime to handle int16 and int8
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index db2bccf6ac349..8d2e9bf4c1ae6 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -517,3 +517,5 @@ Bug Fixes - Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform...
- [x] closes #13451 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Fixes #13451
https://api.github.com/repos/pandas-dev/pandas/pulls/13464
2016-06-16T17:23:06Z
2016-06-17T22:04:34Z
null
2016-06-18T11:23:20Z
BUG: Fix a bug when using DataFrame.to_records with unicode column names
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index 84dfe73adefe3..ba272fa364145 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -353,3 +353,4 @@ Bug Fixes - Bug in ``pd.read_csv()`` for the C engine where ``usecols`` were being indexed incorre...
Fix a bug when using DataFrame.to_records with unicode column names in python 2 - [x] closes #11879 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13462
2016-06-16T13:19:19Z
2017-02-27T19:44:37Z
null
2017-02-27T19:45:10Z
BUG: Fix for .str.replace with invalid input
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index b3ce9911d3f4d..c68ec8b4eafb8 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -424,3 +424,4 @@ Bug Fixes - Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform...
- [x] closes #13438 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry .str.replace now raises TypeError when replacement is invalid
https://api.github.com/repos/pandas-dev/pandas/pulls/13460
2016-06-16T09:26:20Z
2016-06-16T21:02:21Z
null
2016-06-16T21:02:28Z
In gbq, use googleapiclient instead of apiclient
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index b9afa7fcb7959..64644bd9a7a26 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -528,3 +528,5 @@ Bug Fixes - Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform i...
- [ x ] closes #13454 - [ x ] tests added / passed - [ x ] passes `git diff upstream/master | flake8 --diff` - [ x ] whatsnew entry All gbq tests pass locally ``` tony@tonypc:~/parthea-pandas/pandas/io/tests$ nosetests test_gbq.py -v test_read_gbq_with_corrupted_private_key_json_should_fail (pandas.io.tests.test_gbq....
https://api.github.com/repos/pandas-dev/pandas/pulls/13458
2016-06-16T02:16:25Z
2016-07-07T07:26:12Z
2016-07-07T07:26:12Z
2016-07-07T14:28:02Z
BLD: use inline macro
diff --git a/pandas/src/klib/khash_python.h b/pandas/src/klib/khash_python.h index 7684493d08855..a375a73b04c9e 100644 --- a/pandas/src/klib/khash_python.h +++ b/pandas/src/klib/khash_python.h @@ -13,7 +13,7 @@ // simple hash, viewing the double bytes as an int64 and using khash's default // hash for 64 bit integers....
closes #13448 This built locally (on Windows) for py27 and py35.
https://api.github.com/repos/pandas-dev/pandas/pulls/13456
2016-06-15T22:39:24Z
2016-06-16T12:13:47Z
null
2016-06-17T23:24:59Z
ERR: fix error message for to_datetime
diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx index 6453e65ecdc81..7de62fbe71615 100644 --- a/pandas/tslib.pyx +++ b/pandas/tslib.pyx @@ -2320,7 +2320,7 @@ cpdef array_to_datetime(ndarray[object] values, errors='raise', iresult[i] = NPY_NAT continue ...
- [x] ~~closes #xxxx~~ There is no issue for this. - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Fixes the error message when the argument to `to_datetime` doesn't match the format specified.
https://api.github.com/repos/pandas-dev/pandas/pulls/13450
2016-06-15T13:58:27Z
2016-06-16T12:18:43Z
null
2016-06-17T03:17:59Z
DOC: Corrected Series.str.extract documentation error
diff --git a/pandas/core/strings.py b/pandas/core/strings.py index 2f9f8ec936e78..ca8e701d0ce17 100644 --- a/pandas/core/strings.py +++ b/pandas/core/strings.py @@ -543,7 +543,7 @@ def str_extract(arr, pat, flags=0, expand=None): each group. Any capture group names in regular expression pat will be used for c...
Really small documentation fix, that rather confused me as I was first reading it (given the documentation contradicts itself). I believe this is the correct resolution. Let me know if I need to actually compile/test anything.
https://api.github.com/repos/pandas-dev/pandas/pulls/13449
2016-06-15T13:15:00Z
2016-06-15T13:25:13Z
2016-06-15T13:25:13Z
2016-06-15T13:35:01Z
BUG: Rolling negative window issue fix #13383
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 6bc152aad6b01..0f8ed0558b5f1 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -516,3 +516,4 @@ Bug Fixes - Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform...
- [x] closes #13383 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Added functionality in validate function of Rolling to ensure that window size is non-negative.
https://api.github.com/repos/pandas-dev/pandas/pulls/13441
2016-06-14T16:02:36Z
2016-06-21T10:09:29Z
null
2016-06-21T10:09:36Z
BUG: alignment of CategoricalIndex
diff --git a/pandas/indexes/category.py b/pandas/indexes/category.py index 3b7c660f5faa1..1496f3b69aa5a 100644 --- a/pandas/indexes/category.py +++ b/pandas/indexes/category.py @@ -8,6 +8,7 @@ deprecate_kwarg) from pandas.core.config import get_option from pandas.indexes.base impo...
- [x] closes #13365 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry @jreback take this just as a wild guess of how to fix #13365 . If the approach makes sense, I will add tests, whatsnew and some more docs.
https://api.github.com/repos/pandas-dev/pandas/pulls/13440
2016-06-14T14:45:52Z
2016-07-09T12:55:28Z
null
2016-07-09T14:23:15Z
PERF: float hash slow in py3
diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py index 586bd00b091fe..0611a3564ff7a 100644 --- a/asv_bench/benchmarks/groupby.py +++ b/asv_bench/benchmarks/groupby.py @@ -379,15 +379,24 @@ def time_groupby_dt_timegrouper_size(self): #-------------------------------------------------------...
closes #13166, closes #13335 Using exactly the approach suggested by @ruoyu0088 significant changes in asv below ``` before after ratio - 8.88s 78.12ms 0.01 indexing.float_loc.time_float_loc - 13.11s 78.12ms 0.01 groupby.groupby_float32.time_groupby_sum ``` Factor of 10 small...
https://api.github.com/repos/pandas-dev/pandas/pulls/13436
2016-06-14T03:31:30Z
2016-06-15T01:48:21Z
null
2016-08-06T21:24:14Z
BUG: df.pivot_table: margins_name ignored when aggfunc is a list
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 105194e504f45..c4670b8c03e83 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -383,3 +383,4 @@ Bug Fixes - Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform...
- [ ] closes #13354 - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13435
2016-06-13T23:28:16Z
2016-06-18T15:25:16Z
null
2016-06-18T15:25:37Z
ENH: PeriodIndex now accepts pd.NaT
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index e469cbf79b31a..45a9b75556bf6 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -288,6 +288,7 @@ Other API changes - ``Float64Index.astype(int)`` will now raise ``ValueError`` if ``Float64Index`` con...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Related to #12759. `PeirodIndex` can be created from list/array which contains `pd.NaT`. currently it raises: ``` pd.PeriodIndex([pd.NaT]) # ValueError: freq not specified and cannot be inferred from first element...
https://api.github.com/repos/pandas-dev/pandas/pulls/13430
2016-06-12T12:18:24Z
2016-06-14T21:26:02Z
null
2016-06-14T22:35:59Z
BUG: in _nsorted for frame with duplicated values index
- [x] closes #13412 - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13428
2016-06-12T04:11:50Z
2016-10-28T15:59:24Z
null
2016-10-28T15:59:24Z
BUG: categorical unpickle to use _coerce_indexer_dtype
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index fa3d13c174245..6dba41a746e19 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -999,11 +999,12 @@ def __setstate__(self, state): raise Exception('invalid pickle state') # Provide compatibility wi...
- [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry follow up for #13080 to use `_coerce_indexer_dtype`.
https://api.github.com/repos/pandas-dev/pandas/pulls/13426
2016-06-11T10:01:59Z
2016-07-05T10:42:47Z
null
2016-07-05T10:44:15Z
ENH: add downcast to pd.to_numeric
diff --git a/asv_bench/benchmarks/inference.py b/asv_bench/benchmarks/inference.py index 3fceed087facb..6809c351beade 100644 --- a/asv_bench/benchmarks/inference.py +++ b/asv_bench/benchmarks/inference.py @@ -135,4 +135,23 @@ def setup(self): self.df_timedelta64 = DataFrame(dict(A=(self.df_datetime64['A'] - se...
Title is self-explanatory. Closes #13352.
https://api.github.com/repos/pandas-dev/pandas/pulls/13425
2016-06-10T23:53:24Z
2016-07-10T21:12:56Z
null
2016-07-10T21:15:32Z
CLN: Remove the engine parameter in CSVFormatter and to_csv
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 657de7ec26efc..1d282e975d7d5 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -433,6 +433,15 @@ Deprecations - ``as_recarray`` has been deprecated in ``pd.read_csv()`` and will be removed in a futu...
Title is self-explanatory. Internal code and #6581 indicate that this was long overdue.
https://api.github.com/repos/pandas-dev/pandas/pulls/13419
2016-06-10T06:05:26Z
2016-07-10T21:50:36Z
null
2016-07-10T21:52:56Z
BUG: Fix csv.QUOTE_NONNUMERIC quoting in to_csv
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index f5dbfd80de7cc..b3ce9911d3f4d 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -388,6 +388,8 @@ Bug Fixes - Bug in various index types, which did not propagate the name of passed index (:issue:`12...
Closes #12922: "bug" traced to #12194 via bisection, where the float formatting was unconditionally casting everything to string. I say "bug" (with quotations) because the changes to `get_result_as_array` did **correctly** cast everything to string as per the documentation (i.e. it had inadvertently patched a bug itse...
https://api.github.com/repos/pandas-dev/pandas/pulls/13418
2016-06-10T05:22:02Z
2016-06-16T12:32:24Z
null
2016-06-16T12:32:47Z
DOC- typo fix and adding correct command for environment deactivation…
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index a9b86925666b7..8235eacad0b0a 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -198,10 +198,14 @@ To view your environments:: conda info -e -To return to you home root environment:: +To return to your hom...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry … for windows and linux
https://api.github.com/repos/pandas-dev/pandas/pulls/13413
2016-06-09T18:15:56Z
2016-06-09T19:16:27Z
null
2016-06-09T19:43:58Z
BUG: Fix inconsistent C engine quoting behaviour
diff --git a/doc/source/io.rst b/doc/source/io.rst index 61625104f5c1d..b011072d8c3fb 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -287,11 +287,10 @@ lineterminator : str (length 1), default ``None`` quotechar : str (length 1) The character used to denote the start and end of a quoted item. Quoted item...
1) Add significant testing to quoting in `read_csv` 2) Fix bug in C engine in which a NULL `quotechar` would raise even though `quoting=csv.QUOTE_NONE`. 3) Fix bug in C engine in which `quoting=csv.QUOTE_NONNUMERIC` wouldn't cause non-quoted fields to be cast to `float`. Relevant definitions can be found in the Pyth...
https://api.github.com/repos/pandas-dev/pandas/pulls/13411
2016-06-09T13:18:35Z
2016-06-17T16:39:07Z
null
2016-06-17T17:10:32Z
ENH: parse categoricals in read_csv
diff --git a/asv_bench/benchmarks/parser_vb.py b/asv_bench/benchmarks/parser_vb.py index 04f25034638cd..6dc8bffd6dac9 100644 --- a/asv_bench/benchmarks/parser_vb.py +++ b/asv_bench/benchmarks/parser_vb.py @@ -114,6 +114,27 @@ def teardown(self): os.remove('test.csv') +class read_csv_categorical(object): + ...
Closes #10153 (at least partly) Adds the ability to directly parse a `Categorical` through the `dtype` parameter to `read_csv`. Currently just uses whatever is there as the categories, a possible enhancement would be to allow and enforce user-specified categories, through not quite sure what the api would be. This o...
https://api.github.com/repos/pandas-dev/pandas/pulls/13406
2016-06-08T23:31:14Z
2016-08-06T22:53:22Z
null
2016-08-06T22:54:20Z
ENH: implement 'reverse' for grouping
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 0852c5a293f4e..d9edc9186ccc5 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3765,7 +3765,7 @@ def clip_lower(self, threshold, axis=None): return self.where(subset, threshold, axis=axis) def groupby(self, by=None, ax...
when there are lots of columns of index levels it is more convenient to specify the column or index level that should be merged rather than all of the other columns or index levels for example a multiindex dataframe ``` df.mean(level=['year', 'month', 'day', 'hour', 'min', 'trial']) ``` can be replaced with ``` df....
https://api.github.com/repos/pandas-dev/pandas/pulls/13405
2016-06-08T22:39:31Z
2016-06-08T23:54:15Z
null
2023-05-11T01:13:40Z
BUG: don't raise on empty usecols
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 8b80901774828..105194e504f45 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -358,6 +358,7 @@ Bug Fixes - Bug in ``pd.read_csv()`` with ``engine='python'`` in which infinities of mixed-case forms ...
Title is self-explanatory.
https://api.github.com/repos/pandas-dev/pandas/pulls/13402
2016-06-08T16:07:13Z
2016-06-09T11:38:49Z
null
2016-06-09T12:10:21Z
BUG: Fix for .extractall (single group with quantifier) #13382
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 1e95af2df247b..d5998aba6001b 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -335,6 +335,7 @@ Bug Fixes - Bug in ``SeriesGroupBy.transform`` with datetime values and missing groups (:issue:`13191`...
- [X] closes #13382 - [X] tests added / passed - [X] passes `git diff upstream/master | flake8 --diff` - [X] whatsnew entry Note that I had to fix it based on this [thread](http://stackoverflow.com/questions/2111759/whats-the-best-practice-for-handling-single-value-tuples-in-python), rather than directly with `[x for ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13397
2016-06-08T12:35:01Z
2016-06-08T15:27:07Z
2016-06-08T15:27:07Z
2016-06-08T15:48:40Z
BUG: Fix groupby with "as_index" for categorical multi #13204
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index eae03b2a86661..be1f745537d05 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -527,3 +527,4 @@ Bug Fixes - Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform...
- [x] closes #13204 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Fixes a bug that returns all nan's for groupby(as_index=False) with multiple column groupers containing a categorical one (#13204). --- Also: fixes an internal bug in the string representation ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13394
2016-06-07T23:50:50Z
2016-07-03T23:28:31Z
null
2016-07-11T17:41:32Z
COMPAT, TST: allow numpy array comparisons with complex dtypes
diff --git a/pandas/core/common.py b/pandas/core/common.py index d26c59e62de30..28bae362a3411 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -349,7 +349,24 @@ def array_equivalent(left, right, strict_nan=False): right = right.view('i8') # NaNs cannot occur otherwise. - return np.ar...
Traces back to bug in NumPy `v1.7.1` in which the `array_equivalent` method could not compare NumPy arrays with complicated dtypes. As `pandas` relies on this function to check NumPy array equality during testing, this commit adds a fallback method for doing so. Closes #13388.
https://api.github.com/repos/pandas-dev/pandas/pulls/13392
2016-06-07T19:41:20Z
2016-06-07T22:18:39Z
2016-06-07T22:18:39Z
2016-06-07T22:19:11Z
API: Deprecate skip_footer in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index e3b03b5a39b37..ee5734aaf9494 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -175,6 +175,8 @@ skiprows : list-like or integer, default ``None`` of the file. skipfooter : int, default ``0`` Number of lines at bottom of file to skip (unsupported wi...
Title is self-explanatory. Closes gh-13349 and partially undoes this <a href="https://github.com/pydata/pandas/commit/9ceea2fd46e79f37269a32de8c140cddf90eda13">commit</a> back in `v0.9.0`. With such a massive API now, having duplicate arguments makes managing it way less practical.
https://api.github.com/repos/pandas-dev/pandas/pulls/13386
2016-06-07T15:09:41Z
2016-07-29T00:25:25Z
null
2016-07-29T02:29:54Z
DOC, ENH: Support memory_map for Python engine
diff --git a/doc/source/io.rst b/doc/source/io.rst index 6802a448c4e14..61625104f5c1d 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -198,6 +198,10 @@ use_unsigned : boolean, default False If integer columns are being compacted (i.e. ``compact_ints=True``), specify whether the column should be compac...
Title is self-explanatory.
https://api.github.com/repos/pandas-dev/pandas/pulls/13381
2016-06-06T14:21:05Z
2016-06-08T11:24:04Z
null
2016-06-08T11:24:41Z
CLN: extract window functions from algox.pyx and create window.pyx
diff --git a/pandas/algos.pyx b/pandas/algos.pyx index 7884d9c41845c..f1fd0204e2fd2 100644 --- a/pandas/algos.pyx +++ b/pandas/algos.pyx @@ -31,38 +31,17 @@ float16 = np.dtype(np.float16) float32 = np.dtype(np.float32) float64 = np.dtype(np.float64) -cdef np.int8_t MINint8 = np.iinfo(np.int8).min -cdef np.int16_t M...
makes it a little simpler to iterate on pieces of the cython code.
https://api.github.com/repos/pandas-dev/pandas/pulls/13380
2016-06-06T13:15:42Z
2016-06-06T14:33:23Z
2016-06-06T14:33:23Z
2016-06-06T14:33:23Z
DOC: actually document float_precision in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index f559c3cb3ebaf..6aa2df3549914 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -269,6 +269,10 @@ thousands : str, default ``None`` Thousands separator. decimal : str, default ``'.'`` Character to recognize as decimal point. E.g. use ``','`` for Eur...
So I wasn't 100% correct when I said that `float_precision` was documented <a href="https://github.com/pydata/pandas/issues/12686#issuecomment-222684918">here<a/>. It was well documented internally for `TextParser` and in a section for `io.rst`, but it wasn't listed formally in the parameters for the `read_csv` docume...
https://api.github.com/repos/pandas-dev/pandas/pulls/13377
2016-06-06T08:56:35Z
2016-06-06T12:09:42Z
null
2016-06-06T12:15:04Z
DOC: Fix wording/grammar for rolling's win_type argument.
diff --git a/pandas/core/window.py b/pandas/core/window.py index cd66d4e30c351..bf3fd69c6340b 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -280,7 +280,7 @@ class Window(_Window): center : boolean, default False Set the labels at the center of the window. win_type : string, defaul...
I don't know the exact intended phrasing here, but I think the writer might have meant "Provide"?
https://api.github.com/repos/pandas-dev/pandas/pulls/13376
2016-06-06T02:35:12Z
2016-06-06T12:10:41Z
null
2016-06-06T12:10:51Z
ENH: astype() can now take col label -> dtype mapping as arg; GH7271
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 0b9695125c0a9..10009f2ff8e43 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -267,6 +267,7 @@ API changes - ``.filter()`` enforces mutual exclusion of the keyword arguments. (:issue:`12399`) - ``...
New PR for what was started in #12086. closes #7271 By passing a dict of {column name/column index: dtype}, multiple columns can be cast to different data types in a single command. Now users can do: `df = df.astype({'my_bool', 'bool', 'my_int': 'int'})` or: `df = df.astype({0, 'bool', 1: 'int'})` instead of: ``...
https://api.github.com/repos/pandas-dev/pandas/pulls/13375
2016-06-06T00:05:25Z
2016-07-20T22:04:50Z
null
2016-07-20T22:04:54Z
DEPR: Deprecate as_recarray in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index 6aa2df3549914..6802a448c4e14 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -134,6 +134,14 @@ usecols : array-like, default ``None`` inferred from the document header row(s). For example, a valid `usecols` parameter would be [0, 1, 2] or ['foo', ...
1) Documented and deprecate `as_recarray` 2) Added `as_recarray` functionality to Python engine 3) Fixed bug in C engine in which `usecols` was not being respected in combination with `as_recarray`
https://api.github.com/repos/pandas-dev/pandas/pulls/13373
2016-06-05T22:02:12Z
2016-06-06T23:14:50Z
null
2016-06-06T23:16:54Z
CLN: remove old skiplist code
diff --git a/pandas/algos.pyx b/pandas/algos.pyx index a31b35ba4afc6..7884d9c41845c 100644 --- a/pandas/algos.pyx +++ b/pandas/algos.pyx @@ -1505,52 +1505,8 @@ def roll_kurt(ndarray[double_t] input, #------------------------------------------------------------------------------- # Rolling median, min, max -ctypedef...
https://api.github.com/repos/pandas-dev/pandas/pulls/13372
2016-06-05T21:52:40Z
2016-06-05T21:56:53Z
null
2016-06-05T21:56:53Z
Typo correction
diff --git a/ci/cron/go_doc.sh b/ci/cron/go_doc.sh deleted file mode 100755 index 89659577d0e7f..0000000000000 --- a/ci/cron/go_doc.sh +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/bash - -# This is a one-command cron job for setting up -# a virtualenv-based, linux-based, py2-based environment -# for building the Pandas docum...
Corrected a small typo found when reviewing the script.
https://api.github.com/repos/pandas-dev/pandas/pulls/13369
2016-06-05T14:23:02Z
2016-06-05T18:06:10Z
2016-06-05T18:06:10Z
2016-06-05T18:06:10Z
DOC: document doublequote in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index 4eb42e1fb918d..79867d33c5838 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -273,6 +273,10 @@ quoting : int or ``csv.QUOTE_*`` instance, default ``None`` ``QUOTE_MINIMAL`` (0), ``QUOTE_ALL`` (1), ``QUOTE_NONNUMERIC`` (2) or ``QUOTE_NONE`` (3). De...
Title is self-explanatory.
https://api.github.com/repos/pandas-dev/pandas/pulls/13368
2016-06-05T07:48:22Z
2016-06-05T13:55:07Z
null
2016-06-05T20:06:27Z
DOC: Fixed a minor typo
diff --git a/doc/README.rst b/doc/README.rst index 06d95e6b9c44d..a93ad32a4c8f8 100644 --- a/doc/README.rst +++ b/doc/README.rst @@ -160,7 +160,7 @@ and `Good as first PR <https://github.com/pydata/pandas/issues?labels=Good+as+first+PR&sort=updated&state=open>`_ where you could start out. -Or maybe you have an idea...
It also seems that the texts of the `doc/README.rst` and the `doc/source/contributing.rst` have lots of overlap and duplication. Not sure if there are any plans in consolidating these two files but I thought to mention that here 😄
https://api.github.com/repos/pandas-dev/pandas/pulls/13366
2016-06-04T23:19:03Z
2016-06-05T13:51:02Z
null
2016-06-07T02:02:56Z
BUG: resample by BusinessHour raises ValueError
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 7493150370e9f..1a701850d205b 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -341,6 +341,7 @@ Bug Fixes - Bug in ``.resample(..)`` with a ``PeriodIndex`` not retaining its type or name with an emp...
- [x] closes #12351 - [x] tests added / passed (`TestPeriodIndex.test_resample_hourly_business_hourly`) - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry I did this during pandas sprint at PyCon 2016. Hope this close #12351 Resampling with BusinessHour took much more consideration I guess. ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13364
2016-06-04T22:48:03Z
2017-02-01T20:53:15Z
null
2017-02-01T20:53:15Z
BUG: df.pivot_table: margins_name is ignored when there aggfunc is li…
diff --git a/pandas/tools/pivot.py b/pandas/tools/pivot.py index a4e6cc404a457..06f281a184621 100644 --- a/pandas/tools/pivot.py +++ b/pandas/tools/pivot.py @@ -86,7 +86,8 @@ def pivot_table(data, values=None, index=None, columns=None, aggfunc='mean', table = pivot_table(data, values=values, index=index, ...
- [x ] closes #13354 - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry …st #13354
https://api.github.com/repos/pandas-dev/pandas/pulls/13363
2016-06-04T22:34:36Z
2016-11-16T22:22:58Z
null
2016-11-16T22:22:58Z
API/ENH: union Categorical
diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py index 244af3a577fe2..bf1e1b3f40ab0 100644 --- a/asv_bench/benchmarks/categoricals.py +++ b/asv_bench/benchmarks/categoricals.py @@ -1,4 +1,8 @@ from .pandas_vb_common import * +try: + from pandas.types.concat import union_categ...
I was looking into #10153 (parsing Categoricals directly) and one thing that seems to be needed for that is a good way to combine Categoricals. That part alone is complicated enough so I decided to do a separate PR for it. This adds a `union_categoricals` function that takes a list of (identical dtyped, unordered) an...
https://api.github.com/repos/pandas-dev/pandas/pulls/13361
2016-06-04T12:03:11Z
2016-06-08T11:32:41Z
null
2017-03-17T01:04:23Z
DEPR, DOC: Deprecate buffer_lines in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index 4eb42e1fb918d..cfc88d335f862 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -176,6 +176,12 @@ low_memory : boolean, default ``True`` Note that the entire file is read into a single DataFrame regardless, use the ``chunksize`` or ``iterator`` param...
`buffer_lines` is not respected, as it is determined internally via a heuristic involving `table_width` (see <a href="https://github.com/pydata/pandas/blob/master/pandas/parser.pyx#L527">here</a> for how it is computed).
https://api.github.com/repos/pandas-dev/pandas/pulls/13360
2016-06-04T02:33:30Z
2016-06-05T13:57:52Z
null
2016-06-06T13:24:05Z
Make pd.read_hdf('data.h5') work when pandas object stored contained categorical columns
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 950bf397f43b5..7cf27d13a44ac 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -374,3 +374,6 @@ Bug Fixes - Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform...
- [x] closes #13231 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13359
2016-06-03T23:07:02Z
2016-06-05T14:08:12Z
null
2016-06-05T18:41:10Z
ENH: add pd.asof_merge
diff --git a/doc/source/api.rst b/doc/source/api.rst index 0e893308dd935..0dde341d820e3 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -151,6 +151,8 @@ Data manipulations cut qcut merge + merge_ordered + merge_asof concat get_dummies factorize @@ -943,6 +945,7 @@ Time series-rel...
closes #1870 xref #2941 [Here](http://nbviewer.jupyter.org/gist/jreback/5f089d308750c89b2a7d7446b790c056) is a notebook of example usage and timings
https://api.github.com/repos/pandas-dev/pandas/pulls/13358
2016-06-03T19:34:49Z
2016-06-17T00:09:32Z
null
2016-06-17T00:10:57Z
BUG: revert assert_numpy_array_equal to before c2ea8fb2 (accept non-ndarrays)
diff --git a/pandas/tests/test_testing.py b/pandas/tests/test_testing.py index c4e864a909c03..0ad0930862866 100644 --- a/pandas/tests/test_testing.py +++ b/pandas/tests/test_testing.py @@ -186,7 +186,7 @@ def test_numpy_array_equal_message(self): assert_almost_equal(np.array([1, 2]), np.array([3, 4, 5])) ...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` `assert_numpy_array_equal`'s docstring is at odds with (and the existence of the `obj` argument clashes with) the fact that it's now strict on its arguments being ndrarrays. There are [practical reasons](https://github.com/pydata/panda...
https://api.github.com/repos/pandas-dev/pandas/pulls/13355
2016-06-03T10:38:00Z
2016-06-14T14:39:18Z
null
2016-06-14T14:39:18Z
ENH: Adding json line parsing to pd.read_json #9180
diff --git a/doc/source/io.rst b/doc/source/io.rst index da0444a8b8df9..58a3d03a9b73a 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1466,6 +1466,7 @@ with optional parameters: - ``force_ascii`` : force encoded string to be ASCII, default True. - ``date_unit`` : The time unit to encode to, governs timesta...
- [x] closes #9180 - [x] closed #13356 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13351
2016-06-02T23:56:55Z
2016-07-24T14:14:06Z
null
2016-07-24T15:37:50Z
BUG: DataFrame.to_string with formatters, header and index False
https://github.com/pandas-dev/pandas/pull/13350.diff
closes #13032 - [x] tests added / passed - added test specific to format bug - [x] passes `pep8radius master --diff` - [x] whatsnew entry - not needed Found this bug experimenting with formatters. First pull request to pandas, but I believe guidelines are quite clear. I can explain what was happening in more detail i...
https://api.github.com/repos/pandas-dev/pandas/pulls/13350
2016-06-02T23:15:57Z
2016-09-10T02:25:40Z
null
2023-05-11T01:13:39Z
DOC: fix comment on previous versions cythonmagic
diff --git a/doc/source/enhancingperf.rst b/doc/source/enhancingperf.rst index a4db4b7c0d953..685a8690a53d5 100644 --- a/doc/source/enhancingperf.rst +++ b/doc/source/enhancingperf.rst @@ -95,7 +95,7 @@ Plain cython ~~~~~~~~~~~~ First we're going to need to import the cython magic function to ipython (for -cython v...
Small thing I just noticed in the docs (the note on the other version was not updated when the example was changed from cythonmagic -> Cython)
https://api.github.com/repos/pandas-dev/pandas/pulls/13343
2016-06-01T13:47:59Z
2016-06-02T17:12:43Z
null
2016-06-02T17:12:43Z
Cleanup compression
diff --git a/pandas/io/common.py b/pandas/io/common.py index 127ebc4839fd3..b65eebe3f6a9a 100644 --- a/pandas/io/common.py +++ b/pandas/io/common.py @@ -285,53 +285,84 @@ def ZipFile(*args, **kwargs): ZipFile = zipfile.ZipFile -def _get_handle(path, mode, encoding=None, compression=None, memory_map=False): +de...
- [x] closes #12688 - [x] tests passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry - not needed
https://api.github.com/repos/pandas-dev/pandas/pulls/13340
2016-06-01T04:00:04Z
2016-12-13T23:11:38Z
null
2016-12-13T23:12:40Z
TST: computation/test_eval.py tests (slow)
diff --git a/pandas/computation/tests/test_eval.py b/pandas/computation/tests/test_eval.py index 4dc1e24618a83..5019dd392a567 100644 --- a/pandas/computation/tests/test_eval.py +++ b/pandas/computation/tests/test_eval.py @@ -248,7 +248,8 @@ def check_operands(left, right, cmp_op): for ex in (ex1, ex2, ex3)...
closes #13338
https://api.github.com/repos/pandas-dev/pandas/pulls/13339
2016-05-31T22:10:29Z
2016-05-31T23:18:16Z
null
2016-05-31T23:18:16Z
BUG: upcasting on reshaping ops #13247
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 42db0388ca5d9..b11b27716ce8b 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -43,7 +43,7 @@ Backwards incompatible API changes .. _whatsnew_0190.api: - +- Concating multiple objects will no lo...
- [x] closes #13247 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13337
2016-05-31T21:42:16Z
2017-03-07T21:13:35Z
null
2017-03-14T12:27:47Z
ENH: Series has gained the properties .is_monotonic*
diff --git a/doc/source/api.rst b/doc/source/api.rst index 9e7ae2357c541..0e893308dd935 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -354,6 +354,9 @@ Computations / Descriptive Stats Series.unique Series.nunique Series.is_unique + Series.is_monotonic + Series.is_monotonic_increasing + S...
https://api.github.com/repos/pandas-dev/pandas/pulls/13336
2016-05-31T20:49:08Z
2016-05-31T21:49:29Z
null
2016-05-31T21:49:29Z
TST: more strict testing in lint.sh
diff --git a/ci/lint.sh b/ci/lint.sh index eb4c655e8bd3e..a4c960084040f 100755 --- a/ci/lint.sh +++ b/ci/lint.sh @@ -20,7 +20,7 @@ if [ "$LINT" ]; then echo "Linting DONE" echo "Check for invalid testing" - grep -r --include '*.py' --exclude nosetester.py --exclude testing.py 'numpy.testing' pandas + ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13334
2016-05-31T13:10:12Z
2016-05-31T13:53:44Z
null
2016-05-31T13:53:44Z
BUG: Fix maybe_convert_numeric for unhashable objects
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 2b67aca1dcf74..a552b67288b57 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -317,6 +317,7 @@ Bug Fixes - Bug in ``groupby`` where ``apply`` returns different result depending on whether first res...
- [x] closes #13324 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13326
2016-05-30T16:55:24Z
2016-05-31T15:43:14Z
null
2016-06-01T13:46:23Z
TST: remove tests_tseries.py and distribute to other tests files
diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index 4758c7f979da0..be8468d426946 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -3,15 +3,20 @@ import numpy as np from numpy.random import RandomState +from numpy import nan +import datetime -from pandas.core.api i...
https://api.github.com/repos/pandas-dev/pandas/pulls/13325
2016-05-30T14:13:57Z
2016-05-30T14:41:44Z
null
2016-05-30T14:41:44Z
API: Deprecate compact_ints and use_unsigned in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index 6cf41bbc50fb5..4eb42e1fb918d 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -176,6 +176,17 @@ low_memory : boolean, default ``True`` Note that the entire file is read into a single DataFrame regardless, use the ``chunksize`` or ``iterator`` param...
Title is self-explanatory. xref #12686 - I don't quite understand why these are marked (if at all) as internal to the C engine only, as the benefits for having these options accepted for the Python engine is quite clear based on the documentation I added as well. Implementation simply just calls the already-written f...
https://api.github.com/repos/pandas-dev/pandas/pulls/13323
2016-05-30T01:53:56Z
2016-06-02T23:16:42Z
null
2016-06-02T23:58:48Z
ENH: add support for na_filter in Python engine
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 2b67aca1dcf74..be38adb96e403 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -75,6 +75,7 @@ Other enhancements pd.Timestamp(year=2012, month=1, day=1, hour=8, minute=30) - The ``pd.read_csv...
Title is self-explanatory.
https://api.github.com/repos/pandas-dev/pandas/pulls/13321
2016-05-29T23:36:32Z
2016-05-31T13:14:26Z
null
2016-05-31T13:16:53Z
BUG: Parse trailing NaN values for the Python parser
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 33a48671a9b65..7736a26bb6947 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -349,6 +349,7 @@ Bug Fixes - Bug in ``pd.read_csv()`` with ``engine='python'`` in which infinities of mixed-case fo...
Fixes bug in which the Python parser failed to detect trailing `NaN` values in rows
https://api.github.com/repos/pandas-dev/pandas/pulls/13320
2016-05-29T22:35:20Z
2016-06-01T11:10:08Z
null
2016-06-01T11:18:39Z
TST: Parser tests refactoring
diff --git a/pandas/io/tests/parser/c_parser_only.py b/pandas/io/tests/parser/c_parser_only.py index aeee77bb02e98..9dde669c9d39d 100644 --- a/pandas/io/tests/parser/c_parser_only.py +++ b/pandas/io/tests/parser/c_parser_only.py @@ -419,15 +419,6 @@ def test_tokenize_CR_with_quoting(self): expected = self.read...
1) Moved no columns test from CParser-only to `common.py` 2) Moved erroneous placed skiprows tests into their proper place
https://api.github.com/repos/pandas-dev/pandas/pulls/13319
2016-05-29T22:33:11Z
2016-05-30T14:21:42Z
null
2016-05-30T21:24:56Z
add compression support for 'read_pickle' and 'to_pickle'
diff --git a/doc/source/io.rst b/doc/source/io.rst index b36ae8c2ed450..1b19599177c9a 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -2926,6 +2926,45 @@ any pickled pandas object (or any other pickled object) from file: These methods were previously ``pd.save`` and ``pd.load``, prior to 0.12.0, and ar...
closes #11666 My code is not pythonic enough, maybe need some refactor. Any comment is welcome.
https://api.github.com/repos/pandas-dev/pandas/pulls/13317
2016-05-29T13:19:02Z
2017-03-09T15:25:04Z
null
2017-03-09T16:24:19Z
BUG: Groupby.nth includes group key inconsistently #12839
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index dfb5ebc9379b1..ca73351475154 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -313,7 +313,7 @@ Bug Fixes - Bug in ``groupby`` where ``apply`` returns different result depending on whether first...
- [x] closes #12839 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry When the group selection changes, the cache for `_selected_obj` needs to be reset so that `nth`, `head`, and `tail` can return consistent results.
https://api.github.com/repos/pandas-dev/pandas/pulls/13316
2016-05-29T10:46:11Z
2016-07-06T21:47:54Z
null
2016-07-07T03:12:27Z
ENH: Add SemiMonthEnd and SemiMonthBegin offsets #1543
diff --git a/asv_bench/benchmarks/timeseries.py b/asv_bench/benchmarks/timeseries.py index bdf193cd1f3d3..2b0d098670858 100644 --- a/asv_bench/benchmarks/timeseries.py +++ b/asv_bench/benchmarks/timeseries.py @@ -1155,3 +1155,63 @@ def setup(self): def time_timeseries_year_incr(self): (self.date + self....
- [x] closes #1543 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13315
2016-05-29T06:00:25Z
2016-06-14T21:22:16Z
null
2016-06-14T22:18:52Z
BUG: Check for NaN after data conversion to numeric
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index dfb5ebc9379b1..262ad9773b71f 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -291,6 +291,7 @@ Bug Fixes +- Bug in ``pd.read_csv()`` with ``engine='python'`` in which ``NaN`` values weren't be...
In an attempt to squash a Python parser bug in which weirdly-formed floats weren't being checked for `nan`, the bug was traced back to a bug in the `maybe_convert_numeric` function of `pandas/src/inference.pyx`. Added tests for the bug in `test_lib.py` and adjusted the original `nan` tests in `na_values.py` to test al...
https://api.github.com/repos/pandas-dev/pandas/pulls/13314
2016-05-28T22:45:50Z
2016-05-30T13:44:38Z
null
2016-05-30T14:10:14Z
Fix #13306: Hour overflow in tz-aware datetime conversions.
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 27540a9626398..4965dc01b9e88 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -338,7 +338,7 @@ Bug Fixes - Bug in ``.resample(..)`` with a ``PeriodIndex`` not changing its ``freq`` appropriately wh...
- [x] closes #13306 - [x] tests passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Bug: tz-converting tz-aware DateTimeIndex relied on index being sorted for correct results.
https://api.github.com/repos/pandas-dev/pandas/pulls/13313
2016-05-28T07:07:58Z
2016-06-02T18:00:21Z
null
2016-06-02T18:01:05Z
DOC: Fix read_stata docstring
diff --git a/pandas/io/stata.py b/pandas/io/stata.py index 6c6e11a53d2d3..ae7200cf6fb2e 100644 --- a/pandas/io/stata.py +++ b/pandas/io/stata.py @@ -89,12 +89,14 @@ Examples -------- Read a Stata dta file: ->> df = pandas.read_stata('filename.dta') + +>>> df = pandas.read_stata('filename.dta') Read a Stata dta fi...
- [x] passes `git diff upstream/master | flake8 --diff` Found docstring example is broken: - http://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_stata.html
https://api.github.com/repos/pandas-dev/pandas/pulls/13312
2016-05-28T04:51:59Z
2016-05-29T14:45:37Z
null
2016-05-29T22:11:33Z
TST: Make numpy_array test strict
diff --git a/pandas/computation/tests/test_eval.py b/pandas/computation/tests/test_eval.py index 023519fd7fc20..aaafcb5b41645 100644 --- a/pandas/computation/tests/test_eval.py +++ b/pandas/computation/tests/test_eval.py @@ -185,6 +185,16 @@ def test_chained_cmp_op(self): ...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` 2 changes to make tests more strict: - `assert_numpy_array_equal` now checks input is `np.ndarray` - `assert_almost_equal` now checks inputs are the same class.
https://api.github.com/repos/pandas-dev/pandas/pulls/13311
2016-05-28T03:59:42Z
2016-05-28T17:26:17Z
null
2016-05-28T22:17:13Z
DOC: remove references to deprecated numpy negation method
diff --git a/pandas/core/common.py b/pandas/core/common.py index 1be6ce810791b..875c5f8a2a707 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -142,7 +142,7 @@ def _isnull_old(obj): def _use_inf_as_null(key): """Option change callback for null/inf behaviour - Choose which replacement for num...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13310
2016-05-28T03:17:01Z
2016-05-28T17:30:44Z
null
2016-05-28T17:30:48Z
ENH: Respect Key Ordering for OrderedDict List in DataFrame Init
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 2b67aca1dcf74..6102c5f41300f 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -87,6 +87,7 @@ Other enhancements - ``Categorical.astype()`` now accepts an optional boolean argument ``copy``, effecti...
Title is self-explanatory. Closes #13304.
https://api.github.com/repos/pandas-dev/pandas/pulls/13309
2016-05-28T00:50:03Z
2016-05-31T14:31:03Z
null
2016-05-31T17:37:38Z
Fix series comparison operators when dealing with zero rank numpy arrays
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 3fc1a69cb600e..2f718d3084a1e 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -101,7 +101,7 @@ API changes - Non-convertible dates in an excel date column will be returned without conversion an...
- [x] closes #13006 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13307
2016-05-27T22:48:21Z
2016-06-03T15:04:18Z
null
2016-06-03T15:04:28Z
TST: reorg datetime with tz tests a bit
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index 1d043297aa1fa..6913df765862d 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -17,7 +17,7 @@ from pandas.compat import (lmap, long, zip, range, lrange, lzip, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13301
2016-05-26T22:24:50Z
2016-05-26T23:44:04Z
null
2016-05-26T23:44:04Z
TST: split up test_merge
diff --git a/ci/requirements-3.4.run b/ci/requirements-3.4.run index 7d4cdcd21595a..3e12adae7dd9f 100644 --- a/ci/requirements-3.4.run +++ b/ci/requirements-3.4.run @@ -1,4 +1,4 @@ -pytz +pytz=2015.7 numpy=1.8.1 openpyxl xlsxwriter diff --git a/pandas/tools/tests/test_concat.py b/pandas/tools/tests/test_concat.py ne...
very small bug fix w.r.t. tz concatting
https://api.github.com/repos/pandas-dev/pandas/pulls/13300
2016-05-26T22:21:08Z
2016-05-26T22:28:35Z
null
2016-05-26T22:28:35Z
BUG: Fix describe(): percentiles (#13104), col index (#13288)
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 2b67aca1dcf74..88dcda444a09d 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -228,6 +228,75 @@ resulting dtype will be upcast (unchanged from previous). pd.merge(df1, df2, how='outer', on='key'...
- [x] closes #13104, #13288 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry BUG #13104: - Percentiles are now rounded to the least precision that keeps them unique. - Supplying duplicates in percentiles will raise ValueError. BUG #13288 - Fixed a column index ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13298
2016-05-26T20:39:43Z
2016-05-31T14:12:51Z
null
2016-06-09T04:04:38Z
DOC: low_memory in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index 104172d9574f1..6cf41bbc50fb5 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -169,6 +169,13 @@ skipfooter : int, default ``0`` Number of lines at bottom of file to skip (unsupported with engine='c'). nrows : int, default ``None`` Number of rows o...
- [x] closes #5888, xref #12686 - [x] passes `git diff upstream/master | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/13293
2016-05-26T11:06:58Z
2016-05-26T23:56:09Z
null
2016-11-14T08:38:07Z
COMPAT: extension dtypes (DatetimeTZ, Categorical) are now Singleton cached objects
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index ebae54f292e3c..3e31858bb3683 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -242,7 +242,7 @@ Bug Fixes - Bug in ``Series`` arithmetic raises ``TypeError`` if it contains datetime-like as ``obje...
allows for proper is / == comparisons Had this odd semantic difference as these were really different objects (though they DID hash the same) This doesn't actually affect any user code. ``` In [1]: from pandas.core import common as com In [2]: t1 = com.DatetimeTZDtype('datetime64[ns, US/Eastern]') In [3]: t2 = com.D...
https://api.github.com/repos/pandas-dev/pandas/pulls/13285
2016-05-25T17:11:32Z
2016-05-26T16:13:01Z
null
2016-05-26T16:13:01Z
Remove imp and just use importlib to avoid memory error when importin…
diff --git a/pandas/util/print_versions.py b/pandas/util/print_versions.py index 115423f3e3e22..e74568f39418c 100644 --- a/pandas/util/print_versions.py +++ b/pandas/util/print_versions.py @@ -4,6 +4,7 @@ import struct import subprocess import codecs +import importlib def get_sys_info(): @@ -55,7 +56,6 @@ def g...
- [ ] closes #13282 Remove imp from pandas.show_versions() to fix memory problem.
https://api.github.com/repos/pandas-dev/pandas/pulls/13284
2016-05-25T13:46:46Z
2016-05-25T17:35:10Z
null
2016-05-26T18:44:02Z
Change get_dummies() to return columns of dtype=bool instead of np.float64
diff --git a/pandas/core/reshape.py b/pandas/core/reshape.py index 8d237016d1b33..b217b3f768865 100644 --- a/pandas/core/reshape.py +++ b/pandas/core/reshape.py @@ -1159,14 +1159,14 @@ def get_empty_Frame(data, sparse): sp_indices = sp_indices[1:] dummy_cols = dummy_cols[1:] for col, ...
- closes #8725
https://api.github.com/repos/pandas-dev/pandas/pulls/13283
2016-05-25T11:04:47Z
2016-05-31T15:30:06Z
null
2016-05-31T15:30:06Z
DOC: Added an example of pitfalls when using astype
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index e3b0915cd571d..917d2f2bb8b04 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1726,6 +1726,28 @@ then the more *general* one will be used as the result of the operation. # conversion of dtypes df3.astype('float32').dtypes +Conv...
- [x] closes #13260 - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13278
2016-05-25T04:42:56Z
2016-05-26T18:15:44Z
null
2016-05-26T18:15:56Z
clean up PeriodIndex constructor
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index dca4f890e496b..1f3ddb8923bac 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -585,6 +585,7 @@ Bug Fixes - Bug in ``DataFrame.sort_values()`` when sorting by multiple columns where one column is of...
- [x] closes #13232 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Material clean up of PeriodIndex constructor, which was doing a few weird things (https://github.com/pydata/pandas/issues/13232#issuecomment-220788816), and generally getting messy.
https://api.github.com/repos/pandas-dev/pandas/pulls/13277
2016-05-25T04:08:22Z
2017-03-04T21:15:37Z
null
2017-03-04T21:16:03Z
DOC: Added additional example for groupby by indexer.
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index 4cde1fed344a8..484efd12c5d78 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -1014,6 +1014,23 @@ Regroup columns of a DataFrame according to their sum, and sum the aggregated on df df.groupby(df.sum(), axis=1).sum() +Groupb...
- [x] closes #13271 - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13276
2016-05-25T04:01:05Z
2016-06-28T22:18:03Z
2016-06-28T22:18:02Z
2016-06-28T22:23:40Z
BUG: Properly validate and parse nrows in read_csv
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index ee2761b79b620..c9d267c05d370 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -252,3 +252,4 @@ Bug Fixes - Bug in ``groupby`` where ``apply`` returns different result depending on whether first res...
1) Allows `float` values for `nrows` for the Python engine 2) Prevents abuse of the `nrows` argument for the CParser (e.g. you can passing `nrows=1.2`) Closes #10476.
https://api.github.com/repos/pandas-dev/pandas/pulls/13275
2016-05-25T02:20:41Z
2016-05-25T12:09:25Z
null
2016-05-25T12:30:44Z
BUG, ENH: Improve infinity parsing for read_csv
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index ebae54f292e3c..9d53394ce70c9 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -78,6 +78,7 @@ Other enhancements - ``Index.astype()`` now accepts an optional boolean argument ``copy``, which allow...
1) Allow mixed-case infinity strings for the Python engine Bug was traced back via `lib.maybe_convert_numeric` to the `floatify` function in `pandas/src/parse_helper.h`. In addition to correcting the bug and adding tests for it, this PR also moves the `test_inf_parsing` test from `c_parser_only.py` to `common.py` in ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13274
2016-05-24T23:24:22Z
2016-05-25T17:32:03Z
null
2016-05-25T19:26:55Z
improves usability of style calls on axis=1 by automatically creating…
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 004e2dcc20084..f577f77d256a4 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -259,3 +259,5 @@ Bug Fixes - Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry … the IndexSlice same as it does for axis=1 ``` df = pd.DataFrame(index = ['x', 'y', 'z']) df['a'] = [1,2,3] df['b'] = [4,5,6] df['c'] = [7,8,9] df df.style.background_gradient(subset='x', axis=...
https://api.github.com/repos/pandas-dev/pandas/pulls/13273
2016-05-24T20:14:54Z
2017-03-28T00:00:26Z
null
2017-03-28T00:00:26Z
ENH: support decimal argument in read_html #12907
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index ee2761b79b620..1438eb29eff40 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -79,6 +79,7 @@ Other enhancements - ``Index.astype()`` now accepts an optional boolean argument ``copy``, which allows ...
- [x] closes #12907 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13272
2016-05-24T18:21:48Z
2016-05-27T00:15:29Z
null
2016-05-27T00:15:42Z
DOC: fixed typos in GroupBy document
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index 4cde1fed344a8..02309fe5d6509 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -52,7 +52,7 @@ following: step and try to return a sensibly combined result if it doesn't fit into either of the above two categories -Since the s...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13270
2016-05-24T15:31:39Z
2016-05-24T15:34:58Z
null
2016-05-24T15:35:02Z
BUG: Bug in selection from a HDFStore with a fixed format and start and/or stop will now return the selected range
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 2854dbf5e655b..b627c938ecd92 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -79,6 +79,7 @@ Other enhancements - ``Index.astype()`` now accepts an optional boolean argument ``copy``, which allows ...
closes #8287
https://api.github.com/repos/pandas-dev/pandas/pulls/13267
2016-05-24T12:58:38Z
2016-05-24T15:28:17Z
null
2016-05-24T15:28:17Z
TST: assert_dict_equal to check input type
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index 083da2a040ed5..1d043297aa1fa 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -220,8 +220,14 @@ def test_constructor_dict(self): frame = DataFrame({'col1': s...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` `assert_dict_equal` now checks input is `dict` instance. Fixed some tests which passes `Series` to it.
https://api.github.com/repos/pandas-dev/pandas/pulls/13264
2016-05-23T22:16:04Z
2016-05-24T01:11:06Z
null
2016-05-24T04:29:16Z
TST/CLN: remove np.assert_equal
diff --git a/ci/lint.sh b/ci/lint.sh index 6b8f160fc90db..4b9cd624b2b36 100755 --- a/ci/lint.sh +++ b/ci/lint.sh @@ -15,7 +15,12 @@ if [ "$LINT" ]; then if [ $? -ne "0" ]; then RET=1 fi + done + grep -r --include '*.py' --exclude nosetester.py --exclude testing.py 'numpy.testing' ...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` Not to use `np.testing.assert_equal`, as `assert_numpy_array_equal` is more strict to check dtypes.
https://api.github.com/repos/pandas-dev/pandas/pulls/13263
2016-05-23T21:59:27Z
2016-05-26T16:10:52Z
null
2016-05-26T21:17:49Z
BUG: remove_unused_categories dtype coerces to int64
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index 4b3c96da10efd..de987edcdc679 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -184,3 +184,5 @@ Bug Fixes - Bug in ``groupby`` where ``apply`` returns different result depending on whether first...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry ``` c = pd.Categorical(['a', 'b'], categories=['a', 'b', 'c']) c.codes # array([0, 1], dtype=int8) # NG, must be int8 dtype c = c.remove_unused_categories() c.codes # array([0, 1]) ``` It is because `np.unique` us...
https://api.github.com/repos/pandas-dev/pandas/pulls/13261
2016-05-23T21:54:00Z
2016-05-24T13:23:37Z
null
2016-05-24T13:55:19Z
ENH: Allow to_sql to recognize single sql type #11886
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index dfb5ebc9379b1..f71ee1e1369bb 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -74,6 +74,8 @@ Other enhancements pd.Timestamp(year=2012, month=1, day=1, hour=8, minute=30) +- ``DataFrame.to_...
Follow-up in https://github.com/pydata/pandas/pull/13614 --- This solves #11886 It checks whether the passed dtype variable is a dictionary. If not, it creates a new dictionary with keys as the columns of the dataframe. It then passes this dictionary to the pandasSQL_builder.
https://api.github.com/repos/pandas-dev/pandas/pulls/13252
2016-05-21T16:27:20Z
2016-07-11T10:18:22Z
null
2023-05-11T01:13:37Z
TST/ERR: Add Period ops tests / fix error message
diff --git a/pandas/src/period.pyx b/pandas/src/period.pyx index 670fe1e4f168c..858aa58df8d7d 100644 --- a/pandas/src/period.pyx +++ b/pandas/src/period.pyx @@ -799,8 +799,8 @@ cdef class Period(object): else: ordinal = self.ordinal + (nanos // offset_nanos) ...
- [x] related to #13242 closes #13251 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` This must be after #13079.
https://api.github.com/repos/pandas-dev/pandas/pulls/13250
2016-05-21T13:48:54Z
2016-05-22T00:05:22Z
null
2016-05-22T00:25:24Z
TST: check internal Categorical
diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt index a77bdcec2ce7a..4b3c96da10efd 100644 --- a/doc/source/whatsnew/v0.18.2.txt +++ b/doc/source/whatsnew/v0.18.2.txt @@ -180,7 +180,7 @@ Bug Fixes - Bug in ``Period`` addition raises ``TypeError`` if ``Period`` is on right hand side (:issu...
- [x] closes #13076 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/13249
2016-05-21T13:43:29Z
2016-05-21T23:58:25Z
null
2016-05-22T01:29:19Z