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 |
|---|---|---|---|---|---|---|---|
Check import warning | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index a8a86eedb0549..953547f72d3e1 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -153,8 +153,8 @@ fi
### CODE ###
if [[ -z "$CHECK" || "$CHECK" == "code" ]]; then
- MSG='Check for modules that pandas should not import' ; echo $MSG
- python -c "
+ ... | We usually catch uses of deprecated modules, but I think this may have slipped through since it's at import time. | https://api.github.com/repos/pandas-dev/pandas/pulls/24102 | 2018-12-04T22:07:01Z | 2018-12-05T12:15:23Z | 2018-12-05T12:15:23Z | 2018-12-05T12:15:34Z |
REF: Separate out DataFrame/Series Construction Helpers | diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py
index ac1c34edba914..938ca53b5fdce 100644
--- a/pandas/core/arrays/categorical.py
+++ b/pandas/core/arrays/categorical.py
@@ -380,12 +380,12 @@ def __init__(self, values, categories=None, ordered=None, dtype=None,
dtype ... | Why? In implementing #24096 I found it tough to tell all the paths by which a DatetimeIndex get passed to a DataFrame or Series. Collecting all these helper functions is a step towards reducing the number of paths available so these things can be caught in one place.
The main thing this PR does is move helper func... | https://api.github.com/repos/pandas-dev/pandas/pulls/24100 | 2018-12-04T21:03:14Z | 2018-12-05T12:55:49Z | 2018-12-05T12:55:49Z | 2018-12-05T14:46:16Z |
DOC: Make _field_accessor manage the docstring format | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index e731dd33f5bb5..239891870cc3b 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -82,7 +82,7 @@ def f(self):
return result
f.__name__ = name
- f.__doc__ = docstring
+ f.__doc__ = ... | - [x] closes #24068
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24099 | 2018-12-04T19:45:34Z | 2018-12-05T14:28:30Z | 2018-12-05T14:28:30Z | 2018-12-05T14:28:33Z |
DOC: Use official numpydoc extension | diff --git a/ci/deps/travis-36-doc.yaml b/ci/deps/travis-36-doc.yaml
index ed0764fab414a..c345af0a2983c 100644
--- a/ci/deps/travis-36-doc.yaml
+++ b/ci/deps/travis-36-doc.yaml
@@ -21,6 +21,7 @@ dependencies:
- notebook
- numexpr
- numpy=1.13*
+ - numpydoc
- openpyxl
- pandoc
- pyarrow
diff --git a/d... | - Replace custom numpydoc in `doc/sphinxext/numpydoc` with official
numpydoc release
- Remove `numpydoc_use_blockquotes` parameter | https://api.github.com/repos/pandas-dev/pandas/pulls/24098 | 2018-12-04T19:23:02Z | 2018-12-15T16:39:44Z | 2018-12-15T16:39:44Z | 2018-12-17T13:55:32Z |
BUG: fix mutation of DTI backing Series/DataFrame | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 198e832ca4603..9c2d4cd5729d2 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -2923,7 +2923,9 @@ def _try_coerce_result(self, result):
# allow passing of > 1dim if its trivial
... | Fixes (at least some) verify_integrity bugs discussed in #24074.
- [x] closes #21907
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24096 | 2018-12-04T17:51:54Z | 2018-12-05T20:19:47Z | 2018-12-05T20:19:47Z | 2018-12-05T20:29:38Z |
CI: remove failing line | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
index 1ab88dc9f9e6d..7dcd7b284d66d 100644
--- a/asv_bench/benchmarks/algorithms.py
+++ b/asv_bench/benchmarks/algorithms.py
@@ -1,10 +1,11 @@
-import warnings
from importlib import import_module
import numpy as np
+
import pandas ... | https://api.github.com/repos/pandas-dev/pandas/pulls/24092 | 2018-12-04T15:33:59Z | 2018-12-04T22:05:39Z | 2018-12-04T22:05:39Z | 2018-12-04T22:08:20Z | |
TST: Work around statsmodels bug | diff --git a/pandas/tests/plotting/test_datetimelike.py b/pandas/tests/plotting/test_datetimelike.py
index 1d6c8dc404d2b..7a28f05514dd5 100644
--- a/pandas/tests/plotting/test_datetimelike.py
+++ b/pandas/tests/plotting/test_datetimelike.py
@@ -1,5 +1,5 @@
""" Test cases for time series specific (freq conversion, etc)... | Closes https://github.com/pandas-dev/pandas/issues/24088 | https://api.github.com/repos/pandas-dev/pandas/pulls/24090 | 2018-12-04T14:25:25Z | 2018-12-04T15:19:06Z | 2018-12-04T15:19:06Z | 2020-04-29T02:34:41Z |
DOC: Fix PEP-8 issues in indexing-, missing_data-, options- and release.rst | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 49289862a3acd..add1a4e587240 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -134,9 +134,10 @@ indexing functionality:
.. ipython:: python
dates = pd.date_range('1/1/2000', periods=8)
- df = pd.DataFrame(np.random.randn(... | https://api.github.com/repos/pandas-dev/pandas/pulls/24089 | 2018-12-04T14:15:58Z | 2018-12-12T13:29:13Z | 2018-12-12T13:29:13Z | 2018-12-12T13:29:30Z | |
DOC: Use a standard header for all rst files | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index e04a8253e0bef..53618e008a403 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -1,24 +1,6 @@
.. _10min:
-.. currentmodule:: pandas
-
-.. ipython:: python
- :suppress:
-
- import os
- import numpy as np
-
- import pandas as pd
-
- ... | - [x] closes #23952
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24086 | 2018-12-04T08:50:54Z | 2018-12-09T17:53:01Z | 2018-12-09T17:53:01Z | 2018-12-10T12:28:43Z |
PERF: consolidate imports inside parse_time_string | diff --git a/asv_bench/benchmarks/period.py b/asv_bench/benchmarks/period.py
index fc34a47fee3e1..1af1ba1fb7b0b 100644
--- a/asv_bench/benchmarks/period.py
+++ b/asv_bench/benchmarks/period.py
@@ -43,6 +43,7 @@ class PeriodIndexConstructor(object):
def setup(self, freq):
self.rng = date_range('1985', peri... | This PR adds an asv benchmark for the creation of `Period` objects directly from integers, and an associated speedup for the same case.
When calling `Period._from_ordinal()`, the runtime is unfortunately dominated by a pair of import statements needed to pull in the global config settings `display.date_dayfirst` and... | https://api.github.com/repos/pandas-dev/pandas/pulls/24084 | 2018-12-04T00:38:56Z | 2018-12-05T12:17:29Z | 2018-12-05T12:17:29Z | 2018-12-05T12:17:32Z |
PERF: Define PeriodArray._values_for_argsort | diff --git a/pandas/core/arrays/period.py b/pandas/core/arrays/period.py
index e258e474f4154..9aa83892d3b64 100644
--- a/pandas/core/arrays/period.py
+++ b/pandas/core/arrays/period.py
@@ -828,6 +828,9 @@ def _check_timedeltalike_freq_compat(self, other):
.format(cls=type(self).__na... | This PR speeds up `.groupby()` and `.set_index()` operations involving a `PeriodArray` by 25-64x:
```
asv compare upstream/master HEAD -s --sort ratio
Benchmarks that have improved:
before after ratio
[08395af4] [696b40f1]
<period_array_argsort~1> <parse_time_str... | https://api.github.com/repos/pandas-dev/pandas/pulls/24083 | 2018-12-04T00:24:46Z | 2018-12-04T02:33:44Z | 2018-12-04T02:33:44Z | 2018-12-04T02:33:47Z |
remove calls to DataFrame.consolidate in benchmarks | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 527a2f129cf37..dcecaf60ed578 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -13,8 +13,7 @@ def setup(self):
self.df = DataFrame(np.random.randn(10000, 25))
... | The ``DataFrame.consolidate`` method has been removed for 0.24 (in #23377), but there are still some calls to it in the asv benchmarks. I had a failure in #23752 because of this, so hereby a fix.
This PR uses the internal ``_consolidate`` method instead. | https://api.github.com/repos/pandas-dev/pandas/pulls/24080 | 2018-12-03T23:03:31Z | 2018-12-04T02:51:03Z | 2018-12-04T02:51:03Z | 2018-12-09T18:48:42Z |
CI/TST: Making ci/run_tests.sh fail if one of the steps fail | diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index 77efc60a8cf97..ee46da9f52eab 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+set -e
+
if [ "$DOC" ]; then
echo "We are not running pytest as this is a doc-build"
exit 0
@@ -43,10 +45,14 @@ do
NUM_JOBS=2
fi
... | Looks like when simplifying the running of the tests in the CI (#23924), I missed the `-e` in the bash header. And that makes the `ci/run_tests.sh` exit with status code 0, even if the calls to pytests fail.
This left the CI in green, even when tests fail for the last 3 days (sorry about that). I think nothing is br... | https://api.github.com/repos/pandas-dev/pandas/pulls/24075 | 2018-12-03T18:47:14Z | 2018-12-04T11:21:40Z | 2018-12-04T11:21:40Z | 2018-12-04T11:43:25Z |
Implement DatetimeArray._from_sequence | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index 33f71bcb2fef2..39b6a977f87fa 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -6,7 +6,6 @@
import numpy as np
from pandas._libs import NaT, iNaT, lib
-from pandas._libs.tslibs import... | Removes dependence of `DatetimeArray.__new__` on `DatetimeIndex`. De-duplicated `DatetimeIndex.__new__`/`DatetimeArray.__new__`.
The contents of `DatetimeArray._from_sequence` are basically just moved from `DatetimeIndex.__new__`. This is feasible because #23675 disentangled `to_datetime` from `DatetimeIndex.__new... | https://api.github.com/repos/pandas-dev/pandas/pulls/24074 | 2018-12-03T18:04:31Z | 2018-12-05T22:44:50Z | 2018-12-05T22:44:50Z | 2018-12-06T00:13:18Z |
TST: use s3_resource fixture consistently | diff --git a/pandas/tests/io/json/test_compression.py b/pandas/tests/io/json/test_compression.py
index c50b6f68b8839..46a5e511fe748 100644
--- a/pandas/tests/io/json/test_compression.py
+++ b/pandas/tests/io/json/test_compression.py
@@ -33,24 +33,19 @@ def test_read_zipped_json(datapath):
@td.skip_if_not_us_locale... | - [x] split off from #23731
- [x] tests modified / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
There are two boto tests that are not using the dedicated `s3_resource` fixture which takes care of all the mocking etc. This PR adapts those tests accordingly, which also allows unified t... | https://api.github.com/repos/pandas-dev/pandas/pulls/24073 | 2018-12-03T18:02:18Z | 2018-12-04T02:46:23Z | 2018-12-04T02:46:23Z | 2018-12-04T07:42:05Z |
DOC: Correct/update skipna docstrings for `any` and `all` (#23109) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 1e26c3f45f660..9eb3eb37a01cc 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -9894,11 +9894,11 @@ def _add_numeric_operations(cls):
axis_descr, name, name2 = _doc_parms(cls)
cls.any = _make_logical_function(
- ... | Also, include examples with NA values and describe treatment of NA with `skipna == False`
- [x] closes #23109
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24069 | 2018-12-03T15:15:45Z | 2018-12-10T15:22:15Z | 2018-12-10T15:22:14Z | 2018-12-17T15:10:11Z |
DOC: Fix quotes position in Series docstrings | diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py
index f2ae7f6b56551..fa1dc751c17da 100644
--- a/pandas/core/accessor.py
+++ b/pandas/core/accessor.py
@@ -41,7 +41,9 @@ def __dir__(self):
class PandasDelegate(object):
- """ an abstract base class for delegating methods/properties """
+ """
+ ... | - [ ]xref #24059
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24065 | 2018-12-03T12:53:48Z | 2018-12-03T15:01:01Z | 2018-12-03T15:01:00Z | 2018-12-03T15:08:37Z |
CI: Fixing benchmark log | diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index a58f82ec6de49..409b1ac8c9df3 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -114,7 +114,7 @@ jobs:
ASV_OUTPUT="$(asv dev)"
if [[ $(echo "$ASV_OUTPUT" | grep "failed") ]]; then
echo "##vso[task.logissue type=... | - [X] closes #24061
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24062 | 2018-12-03T11:02:22Z | 2018-12-03T15:59:32Z | 2018-12-03T15:59:32Z | 2018-12-03T15:59:35Z |
BUG/TST: Fix TimedeltaIndex comparisons with invalid types | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 15476c3bc2e13..eab5956735f12 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1312,6 +1312,7 @@ Timedelta
- Bug in :class:`TimedeltaIndex` where adding ``np.timedelta64('NaT')`` incorrectly return... | Parametrize a handful of tests.
- [x] closes #23063
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24056 | 2018-12-02T23:52:30Z | 2018-12-05T12:47:23Z | 2018-12-05T12:47:23Z | 2018-12-05T14:44:09Z |
TST: run setitem tests for IntegerArray | diff --git a/pandas/core/arrays/integer.py b/pandas/core/arrays/integer.py
index e9d51aaea4218..87dc5f8aaf1e4 100644
--- a/pandas/core/arrays/integer.py
+++ b/pandas/core/arrays/integer.py
@@ -58,6 +58,11 @@ def numpy_dtype(self):
def kind(self):
return self.numpy_dtype.kind
+ @cache_readonly
+ de... | https://api.github.com/repos/pandas-dev/pandas/pulls/24054 | 2018-12-02T23:23:51Z | 2018-12-03T16:03:09Z | 2018-12-03T16:03:09Z | 2018-12-03T16:03:32Z | |
REF/TST: Add more pytest idiom to indexing/multiindex/test_getitem.py | diff --git a/pandas/tests/indexing/multiindex/test_getitem.py b/pandas/tests/indexing/multiindex/test_getitem.py
index 00b30bab37441..1013bb3e90149 100644
--- a/pandas/tests/indexing/multiindex/test_getitem.py
+++ b/pandas/tests/indexing/multiindex/test_getitem.py
@@ -1,5 +1,3 @@
-from warnings import catch_warnings, s... | xref #24040
for this pass:
- the Test classes have been removed.
- `catch_warnings` used for the `.ix` deprecation replaced with `@pytest.mark.filterwarnings("ignore:\\n.ix:DeprecationWarning")` at test level.
cc @jreback @gfyoung | https://api.github.com/repos/pandas-dev/pandas/pulls/24053 | 2018-12-02T20:26:13Z | 2018-12-11T13:54:10Z | 2018-12-11T13:54:10Z | 2018-12-13T12:57:09Z |
DOC: Stop ignoring fixed rst files in flake8-rst | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 372a7b8a325e7..fbd238586c776 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1151,7 +1151,7 @@ Let us consider some examples:
.. code-block:: python
- read_csv(path, na_values=[5])
+ pd.read_csv('path_to_file.csv', na_values=[5])
In the exa... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Removing from the list of ignored files in flake8-rst, the pages that have been fixed before the ignore list was merged. | https://api.github.com/repos/pandas-dev/pandas/pulls/24051 | 2018-12-02T18:21:15Z | 2018-12-03T12:28:56Z | 2018-12-03T12:28:56Z | 2018-12-03T12:29:00Z |
DEPR: deprecate default of skipna=False in infer_dtype | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 3a04789b609f8..d5250bc688826 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1220,6 +1220,7 @@ Deprecations
- :func:`pandas.api.types.is_datetimetz` is deprecated in favor of `pandas.api.types.is... | - [x] follows up on the changed in #17066
- [x] tests adapted / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I know that `v.0.22` is generally not counted towards the "3 major releases between warning and deprecation" policy, but since this is a private method, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/24050 | 2018-12-02T18:16:04Z | 2019-01-04T12:15:24Z | 2019-01-04T12:15:24Z | 2019-01-04T16:58:42Z |
REF: array_to_datetime catch overflows in one place | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index 1205ebbe311e2..86d842d5e2678 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -526,182 +526,157 @@ cpdef array_to_datetime(ndarray[object] values, str errors='raise',
for i in range(n):
val = values[i]
- ... | The diff is big, but all this is doing is changing:
```
if A:
try:
foo(...)
except OutOfBoundsDatetime:
handle(...)
elif B:
try:
bar(...)
except OutOfBoundsDatetime:
handle(...)
...
```
to:
```
try:
if A:
foo(...)
elif B:
... | https://api.github.com/repos/pandas-dev/pandas/pulls/24049 | 2018-12-02T16:16:37Z | 2018-12-02T21:36:20Z | 2018-12-02T21:36:20Z | 2018-12-02T21:39:58Z |
Deprecate series.nonzero (GH18262) | diff --git a/doc/source/api/series.rst b/doc/source/api/series.rst
index 1631f04b1c72f..aa43c8b643d44 100644
--- a/doc/source/api/series.rst
+++ b/doc/source/api/series.rst
@@ -188,7 +188,6 @@ Computations / Descriptive Stats
Series.is_monotonic_decreasing
Series.value_counts
Series.compound
- Series.nonz... | xref #18262
- passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24048 | 2018-12-02T15:01:14Z | 2019-01-05T22:47:46Z | 2019-01-05T22:47:46Z | 2019-01-05T22:47:49Z |
Add test for rdivmod on EA array (GH23287) | diff --git a/pandas/tests/extension/base/ops.py b/pandas/tests/extension/base/ops.py
index cd5e55d9871b2..2ac68c52d53c7 100644
--- a/pandas/tests/extension/base/ops.py
+++ b/pandas/tests/extension/base/ops.py
@@ -91,10 +91,16 @@ def test_divmod(self, data):
self._check_divmod_op(s, divmod, 1, exc=self.divmod_e... | - closes #23287
- test added
- passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/24047 | 2018-12-02T13:34:22Z | 2019-03-20T00:05:18Z | 2019-03-20T00:05:18Z | 2019-03-20T00:05:21Z |
BUG: all-na corner case for str.cat | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 75d2196fe0b1e..3cec48be9b7ef 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1365,6 +1365,7 @@ Strings
- Bug in :meth:`Index.str.partition` was not nan-safe (:issue:`23558`).
- Bug in :meth:`Ind... | - [x] closes #24044, split off from #23167
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/24045 | 2018-12-02T11:56:17Z | 2018-12-02T20:58:49Z | 2018-12-02T20:58:49Z | 2018-12-02T23:14:53Z |
CLN: Adjust cdef types to fix MacPython 32 bit build | diff --git a/pandas/_libs/tslibs/conversion.pyx b/pandas/_libs/tslibs/conversion.pyx
index 67c2793e4bcef..65f3894cb631a 100644
--- a/pandas/_libs/tslibs/conversion.pyx
+++ b/pandas/_libs/tslibs/conversion.pyx
@@ -887,8 +887,8 @@ def tz_localize_to_utc(ndarray[int64_t] vals, object tz, object ambiguous=None,
in... | - [x] closes https://github.com/pandas-dev/pandas/pull/23984#issuecomment-443179198
- [ ] tests added / passed
Removing the types from these array declarations because the MacPython 32 bit build was failing.
cc @jreback | https://api.github.com/repos/pandas-dev/pandas/pulls/24041 | 2018-12-02T04:26:55Z | 2018-12-02T16:39:32Z | 2018-12-02T16:39:32Z | 2018-12-02T21:51:44Z |
REF: Refactor Datetimelike delegation | diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py
index 0dedd8fe1cf4b..db1369fe41911 100644
--- a/pandas/core/indexes/datetimelike.py
+++ b/pandas/core/indexes/datetimelike.py
@@ -2,6 +2,7 @@
"""
Base and utility classes for tseries type pandas objects.
"""
+import operator
impo... | This is a generalization of PeriodIndex's dispatching to
PeriodArray, without any actual changes yet. This is split
from #24024, where DatetimeIndex and TimedeltaIndex will
implement and inherit from delgates similiar to PeriodDelegateMixin. | https://api.github.com/repos/pandas-dev/pandas/pulls/24039 | 2018-12-01T20:32:14Z | 2018-12-03T13:36:14Z | 2018-12-03T13:36:14Z | 2018-12-03T13:36:30Z |
REF: Refactor Date/TimeLikeOps | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index 83ee335aa5465..a6f254c79fb51 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -10,11 +10,12 @@
from pandas._libs.tslibs.period import (
DIFFERENT_FREQ_INDEX, IncompatibleFrequency,... | No real functional changes, just an inheritance reorganization to make the diff at #24024 smaller.
Changes:
- Removes DatelikeOps from PeriodIndex (already had strftime via delegation)
- Moves Date/TimelikeOps from DatetimeIndex to DatetimeArray
- Moves TimelikeOps from TimedeltaIndex to TimedeltaArray | https://api.github.com/repos/pandas-dev/pandas/pulls/24038 | 2018-12-01T20:16:55Z | 2018-12-02T16:56:51Z | 2018-12-02T16:56:51Z | 2018-12-03T12:29:23Z |
ENH: Add columns argument to read_feather() (#24025) | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 7617ad5b428a2..3fb7b925ceb6b 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -25,6 +25,7 @@ New features
dataframe's indexes from the resulting Parquet file. (:issue:`20768`)
- :meth:`DataFrame... | - [x] closes #24025
- [x] tests added / ~~passed~~
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I have added test case but when running
```
pytest pandas/tests/io/test_feather.py
```
test cases (including some of already existing test cases) fails with error
```... | https://api.github.com/repos/pandas-dev/pandas/pulls/24034 | 2018-12-01T10:16:11Z | 2018-12-04T12:23:53Z | 2018-12-04T12:23:53Z | 2018-12-04T12:25:45Z |
REF: Move non-raising parts of array_to_datetime outside of try/except | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index 609608a0948c5..f545e113949d9 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -520,9 +520,10 @@ cpdef array_to_datetime(ndarray[object] values, str errors='raise',
# specify error conditions
assert is_raise or is_ignore or i... | Bit by bit we untangle this function. | https://api.github.com/repos/pandas-dev/pandas/pulls/24032 | 2018-12-01T02:14:03Z | 2018-12-02T18:03:45Z | 2018-12-02T18:03:45Z | 2018-12-02T19:19:22Z |
PERF: do NPY_NAT check inside get_datetime64_nanos | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index 609608a0948c5..1205ebbe311e2 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -571,16 +571,13 @@ cpdef array_to_datetime(ndarray[object] values, str errors='raise',
elif is_datetime64_object(val):
seen_... | Bonus of a little simplification in `array_to_datetime`
The perf pickup comes from changing a python call `ts.view('i8')` to a cython call `get_datetime64_value(ts)`.
```
In [3]: val = np.datetime64('NaT', 'D')
In [4]: %timeit pd.Timestamp(val)
```
master (leaving out "The slowest run [...]"
```
100000 lo... | https://api.github.com/repos/pandas-dev/pandas/pulls/24031 | 2018-12-01T01:27:55Z | 2018-12-02T16:40:14Z | 2018-12-02T16:40:14Z | 2018-12-02T16:41:05Z |
TST: Check error message in overlapping bins test | diff --git a/pandas/tests/reshape/test_tile.py b/pandas/tests/reshape/test_tile.py
index b0445f5a9e2d5..19f1a9a8b65c7 100644
--- a/pandas/tests/reshape/test_tile.py
+++ b/pandas/tests/reshape/test_tile.py
@@ -92,9 +92,11 @@ def test_bins_from_intervalindex(self):
np.array([1, 1, 2],... | Follow-up to #23999.
xref #23922.
cc @jschendel @charlesdong1991 | https://api.github.com/repos/pandas-dev/pandas/pulls/24029 | 2018-12-01T01:09:34Z | 2018-12-01T01:59:00Z | 2018-12-01T01:59:00Z | 2018-12-01T01:59:26Z |
BUG: Fix concat series loss of timezone | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 15476c3bc2e13..e6a08362a70f7 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1545,6 +1545,7 @@ Reshaping
- Bug in :meth:`DataFrame.append` with a :class:`Series` with a dateutil timezone would ra... | Closes #23816 | https://api.github.com/repos/pandas-dev/pandas/pulls/24027 | 2018-11-30T23:03:45Z | 2018-12-05T23:21:47Z | 2018-12-05T23:21:47Z | 2018-12-05T23:22:15Z |
REF: DatetimeLikeArray | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index e770a9e3c47f8..7628c53cefa06 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -430,6 +430,7 @@ Backwards incompatible API changes
- ``max_rows`` and ``max_cols`` parameters removed from :class:`HTM... | TODO:
- [x] DatetimeLikeArrayMixin.astype(int) ignores sign and size?
- [ ] _from_sequence too permissive?
- [x] OK with DatetimeArray.view?
- [x] tz vs. dtype in `DatetimeArray.__init__`: https://github.com/pandas-dev/pandas/pull/24024#discussion_r241445450
- [ ] Index._simple_new consistency: https://github.co... | https://api.github.com/repos/pandas-dev/pandas/pulls/24024 | 2018-11-30T20:23:49Z | 2019-01-02T18:20:35Z | 2019-01-02T18:20:35Z | 2019-01-04T16:04:24Z |
PERF: Use Categorical.equals in CategoricalIndex.equals | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index f888648a9363e..bd474092a0b78 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1213,6 +1213,7 @@ Performance Improvements
The speed increase is both when indexing by label (using .loc) and positi... | Avoids a materialization of the full array.
```python
import pandas as pd
import numpy as np
import string
a = pd.CategoricalIndex(np.random.choice(list(string.ascii_letters[:10]), 100_000))
b = a.copy()
c = pd.CategoricalIndex(np.random.choice(list(string.ascii_letters[:10]), 100_000))
print("eq-index"... | https://api.github.com/repos/pandas-dev/pandas/pulls/24023 | 2018-11-30T19:11:14Z | 2018-11-30T21:32:49Z | 2018-11-30T21:32:49Z | 2018-11-30T21:32:51Z |
BUG: GH24011 - Rich comparisons of Timestamps now return NotImplemented | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 3a539199acd6f..61cff302e5f4d 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -44,6 +44,7 @@ Backwards incompatible API changes
.. _whatsnew_0250.api_breaking.utc_offset_indexing:
+
Indexing w... | - [x] closes #24011
- [x] tests added / passed (see https://github.com/AlexandreDecan/pandas/blob/fix-24011/pandas/tests/tslibs/test_tslib.py#L26)
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24021 | 2018-11-30T17:49:28Z | 2019-04-05T00:40:48Z | 2019-04-05T00:40:47Z | 2019-04-05T00:40:52Z |
DEPS: Pinning versions of some dependencies to speed up environment creation | diff --git a/environment.yml b/environment.yml
index fc35f1290f1b1..aa3f1fe15820e 100644
--- a/environment.yml
+++ b/environment.yml
@@ -4,22 +4,21 @@ channels:
- conda-forge
dependencies:
# required
- - NumPy
+ - numpy>=1.15
- python=3
- python-dateutil>=2.5.0
- pytz
# development
- - Cython>=0... | - [X] closes #24012
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Conda is taking 45 minutes to create an environment with our `environment.yml`. While this is a bug in conda, it won't be fixed until the next version. So, a workaround for now ... | https://api.github.com/repos/pandas-dev/pandas/pulls/24015 | 2018-11-30T14:40:39Z | 2018-12-01T12:09:44Z | 2018-12-01T12:09:44Z | 2018-12-01T12:09:48Z |
TST/CLN: parametrize tests\resample\test_time_grouper.py | diff --git a/pandas/tests/resample/conftest.py b/pandas/tests/resample/conftest.py
new file mode 100644
index 0000000000000..2130bd635b180
--- /dev/null
+++ b/pandas/tests/resample/conftest.py
@@ -0,0 +1,22 @@
+import pytest
+
+from pandas.tests.resample.test_base import (
+ downsample_methods, resample_methods, ups... | - [n/a] xref #17806
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [n/a] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24013 | 2018-11-30T12:38:06Z | 2018-12-03T12:30:53Z | 2018-12-03T12:30:53Z | 2018-12-03T13:14:18Z |
REF: Convert test_hashing to pytest idiom | diff --git a/pandas/tests/util/test_hashing.py b/pandas/tests/util/test_hashing.py
index 9f5b4f7b90d9f..84bc1863aadd9 100644
--- a/pandas/tests/util/test_hashing.py
+++ b/pandas/tests/util/test_hashing.py
@@ -10,272 +10,319 @@
import pandas.util.testing as tm
-class TestHashing(object):
-
- @pytest.fixture(para... | https://api.github.com/repos/pandas-dev/pandas/pulls/24009 | 2018-11-30T06:09:51Z | 2018-11-30T20:46:03Z | 2018-11-30T20:46:03Z | 2018-11-30T20:46:32Z | |
PERF: optimize NaT lookups in cython modules | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index 1205ebbe311e2..5528e183af6e6 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -40,8 +40,8 @@ from tslibs.conversion cimport (tz_convert_single, _TSObject,
tz_convert_utc_to_tzlocal)
# many modules s... | By making `NaT` a cdef'd object that we can cimport, we take a module-level lookup out of each check of `if obj is NaT`. Since we tend to do this check a lot, avoiding these global lookups can get us some mileage:
```
In [3]: vals = np.array([pd.NaT for _ in range(10**6)])
In [4]: %timeit pd.to_datetime(vals)
``... | https://api.github.com/repos/pandas-dev/pandas/pulls/24008 | 2018-11-30T05:24:15Z | 2018-12-02T23:06:55Z | 2018-12-02T23:06:55Z | 2018-12-02T23:10:25Z |
API: fix str-accessor on CategoricalIndex | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index f2cb6a3389a6d..cf2945d8544a5 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1256,6 +1256,7 @@ Categorical
- Bug in :meth:`Categorical.take` with a user-provided ``fill_value`` not encoding the `... | closes #23555
closes #23556
split off from #23167
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24005 | 2018-11-29T23:37:46Z | 2018-12-02T23:06:09Z | 2018-12-02T23:06:09Z | 2018-12-02T23:14:26Z |
CLEAN: Removing outdated and unused CI files | diff --git a/ci/README.txt b/ci/README.txt
deleted file mode 100644
index bb71dc25d6093..0000000000000
--- a/ci/README.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Travis is a ci service that's well-integrated with GitHub.
-The following types of breakage should be detected
-by Travis builds:
-
-1) Failing tests on any supporte... | Removing outdated and unused files.
- `ci/print_versions.py` doesn't work, as the used path has changed. It's not used anywhere in the code, and when needed, `python -c "import pandas; pandas.show_versions();"` is used instead.
- `ci/README.txt` it's outdated and incomplete. After updating the CI and making it more c... | https://api.github.com/repos/pandas-dev/pandas/pulls/24004 | 2018-11-29T23:26:55Z | 2018-11-30T21:34:12Z | 2018-11-30T21:34:12Z | 2018-11-30T21:34:14Z |
Fix PEP-8 issues in contributing.rst | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 6fdb5bdbb6b1d..c55452cf27309 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -670,6 +670,8 @@ Otherwise, you need to do it manually:
.. code-block:: python
+ import warnings
+
def old_func():
... | https://api.github.com/repos/pandas-dev/pandas/pulls/24003 | 2018-11-29T22:54:20Z | 2018-12-02T22:00:37Z | 2018-12-02T22:00:37Z | 2018-12-03T19:09:36Z | |
DOC: Fix PEP-8 issues in computation.rst and comparison_*.rst | diff --git a/doc/source/comparison_with_r.rst b/doc/source/comparison_with_r.rst
index eecacde8ad14e..704b0c4d80537 100644
--- a/doc/source/comparison_with_r.rst
+++ b/doc/source/comparison_with_r.rst
@@ -6,7 +6,7 @@
import pandas as pd
import numpy as np
- pd.options.display.max_rows=15
+ pd.options.disp... | - Fix PEP-8 issues in comparison_*.rst
- Fix PEP-8 issues in computation.rst
| https://api.github.com/repos/pandas-dev/pandas/pulls/24002 | 2018-11-29T22:54:02Z | 2018-12-02T17:22:24Z | 2018-12-02T17:22:24Z | 2018-12-03T19:10:37Z |
REF: prelim for fixing array_to_datetime | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index ddeaffbfb3cc0..609608a0948c5 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -463,8 +463,7 @@ def array_with_unit_to_datetime(ndarray values, object unit,
@cython.boundscheck(False)
cpdef array_to_datetime(ndarray[object] values, s... | `tslib.array_to_datetime` has an unused `format` kwarg. This gets rid of it.
`to_datetime` (or more specifically, `_convert_listlike_datetimes`) has a bunch of boxing logic inside a try/except that doesn't need to be, obscures what Exception we're trying to catch. This moves that code outside the try/except and de... | https://api.github.com/repos/pandas-dev/pandas/pulls/24000 | 2018-11-29T20:07:57Z | 2018-11-29T22:01:14Z | 2018-11-29T22:01:14Z | 2018-11-29T22:29:04Z |
BUG: pandas.cut should disallow overlapping IntervalIndex bins | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index f888648a9363e..3c01a6d330071 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1529,6 +1529,7 @@ Reshaping
- Bug in :func:`pandas.melt` when passing column names that are not present in ``DataFrame... | - [ ] closes #23980
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/23999 | 2018-11-29T18:41:06Z | 2018-12-01T00:17:14Z | 2018-12-01T00:17:13Z | 2018-12-01T00:18:15Z |
BUG: Index removes name when sliced | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 2db899b180627..2d9b3649b6f22 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -336,6 +336,8 @@ pandas 0.12
- Fixed bug in plotting that wasn't raising on invalid colormap for
matplotlib 1.1.1 (:issue:`4215`)
- Fixed the leg... | closes #4226
| https://api.github.com/repos/pandas-dev/pandas/pulls/4233 | 2013-07-13T18:05:44Z | 2013-07-14T13:32:53Z | 2013-07-14T13:32:53Z | 2014-06-30T17:57:37Z |
CLN/TST: clean up and raise on bs4 version and no tables | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 45335fa49aa23..f5d29c11e0589 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -106,6 +106,8 @@ pandas 0.12
- Added ``layout`` keyword to DataFrame.hist() for more customizable layout (:issue:`4050`)
- Timestamp.min and Timestamp... | closes #4214
| https://api.github.com/repos/pandas-dev/pandas/pulls/4232 | 2013-07-13T16:54:53Z | 2013-07-13T22:00:55Z | 2013-07-13T22:00:55Z | 2014-06-30T17:58:37Z |
BUG: raise on invalid colormap for older mpl | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b1a4827c28e55..45335fa49aa23 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -331,6 +331,8 @@ pandas 0.12
- Fixed bug in ``Series.where`` where broadcasting a single element input vector
to the length of the series resulted i... | closes #4215
| https://api.github.com/repos/pandas-dev/pandas/pulls/4231 | 2013-07-13T15:58:46Z | 2013-07-13T18:19:43Z | 2013-07-13T18:19:43Z | 2014-07-16T08:19:08Z |
TST: little endian failure, GH4222 | diff --git a/pandas/io/stata.py b/pandas/io/stata.py
index 603924ac6a292..9257338cd4913 100644
--- a/pandas/io/stata.py
+++ b/pandas/io/stata.py
@@ -327,8 +327,16 @@ def _read_header(self):
typlist = [ord(self.path_or_buf.read(1)) for i in range(self.nvar)]
else:
typlist = [self.OLD_T... | closes #4222
| https://api.github.com/repos/pandas-dev/pandas/pulls/4228 | 2013-07-13T00:44:41Z | 2013-07-13T01:27:34Z | 2013-07-13T01:27:34Z | 2014-07-16T08:19:04Z |
BUG: Display the legend when calling plot with kind='density'. GH4216 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 45335fa49aa23..2fbaea95d975a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -333,6 +333,7 @@ pandas 0.12
inside the input (:issue:`4192`)
- Fixed bug in plotting that wasn't raising on invalid colormap for
matplotlib 1.... | See issue https://github.com/pydata/pandas/issues/4216
| https://api.github.com/repos/pandas-dev/pandas/pulls/4221 | 2013-07-12T12:32:13Z | 2013-07-13T22:59:56Z | 2013-07-13T22:59:56Z | 2014-07-06T07:46:21Z |
ENH: Treat 'Inf' as infinity in text parser | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 478e7375b0b30..496294fd86b19 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -41,6 +41,9 @@ pandas 0.13
- ``read_excel`` now supports an integer in its ``sheetname`` argument giving
the index of the sheet to read in (:issue:`... | Makes 'inf' checks case insensitive using strcasecmp
Fixes #4219.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4220 | 2013-07-12T00:54:27Z | 2013-07-26T12:03:37Z | 2013-07-26T12:03:37Z | 2014-06-14T11:07:09Z |
BLD: Use 'git describe' to generate the version string for dev versions | diff --git a/setup.py b/setup.py
index ec7f1628aada2..d66ac345aa61a 100755
--- a/setup.py
+++ b/setup.py
@@ -189,7 +189,7 @@ def build_extensions(self):
MAJOR = 0
MINOR = 12
MICRO = 0
-ISRELEASED = True
+ISRELEASED = False
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
QUALIFIER = ''
@@ -199,19 +199,20 @@ def buil... | closes https://github.com/pydata/pandas/issues/4046
```
λ sudo python ./setup.py develop
...
Installed /home/user1/src/pandas
Processing dependencies for pandas==v0.12.0rc1-48-g9442eac
Searching for numpy==1.7.1
Best match: numpy 1.7.1
Adding numpy 1.7.1 to easy-install.pth file
λ python -c 'import pandas; print pand... | https://api.github.com/repos/pandas-dev/pandas/pulls/4218 | 2013-07-11T20:19:26Z | 2013-07-25T01:37:31Z | 2013-07-25T01:37:31Z | 2014-06-16T22:16:17Z |
DOC: remove savefig width parameter (#4203) | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index af84efb93bb5e..e3cfcc765d7c3 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -626,7 +626,7 @@ Plotting
ts = pd.Series(randn(1000), index=pd.date_range('1/1/2000', periods=1000))
ts = ts.cumsum()
- @savefig series_plot_basic.png w... | Closes #4203.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4217 | 2013-07-11T16:29:01Z | 2013-07-14T14:26:48Z | 2013-07-14T14:26:48Z | 2014-06-27T11:45:17Z |
BLD: pip 1.4 is coming, preempt issues with pytz install | diff --git a/setup.py b/setup.py
index 939931f08d2bd..28d2627ef2940 100755
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@
setuptools_kwargs = {'use_2to3': True,
'zip_safe': False,
'install_requires': ['python-dateutil >= 2',
- ... | https://github.com/pypa/pip/issues/974
2011k is the version shipped with precise, I hope that's conservative enough
to avoid disruption for existing users.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4210 | 2013-07-11T15:28:25Z | 2013-07-11T15:33:03Z | 2013-07-11T15:33:03Z | 2014-06-27T14:38:03Z |
PERF: add ix scalar get benchmark | diff --git a/vb_suite/indexing.py b/vb_suite/indexing.py
index 9f07cc6ed15c3..1264ae053ffca 100644
--- a/vb_suite/indexing.py
+++ b/vb_suite/indexing.py
@@ -61,23 +61,26 @@
bm_df_getitem2 = Benchmark(statement, setup,
name='datamatrix_getitem_scalar')
-setup = common_setup + """
-try:
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4207 | 2013-07-11T13:33:27Z | 2013-07-11T13:33:33Z | 2013-07-11T13:33:33Z | 2014-07-16T08:18:50Z | |
DOC: more prominent HDFStore store docs about storer/table formats | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 5e5943f066c3e..27488f3c5916d 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1651,11 +1651,6 @@ Closing a Store, Context Manager
import os
os.remove('store.h5')
-
-These stores are **not** appendable once written (though you can simply
-remov... | closes #4189
| https://api.github.com/repos/pandas-dev/pandas/pulls/4206 | 2013-07-11T13:01:45Z | 2013-07-11T13:17:51Z | 2013-07-11T13:17:51Z | 2014-06-23T16:47:24Z |
BUG: (GH4192) Fixed buglet in the broadcasting logic in Series.where | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a9e88f1341992..ada899e099aaa 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -324,6 +324,9 @@ pandas 0.12
(:issue:`4145`, :issue:`4146`)
- Fixed bug in the parsing of microseconds when using the ``format``
argument in `... | Fixed #4192
| https://api.github.com/repos/pandas-dev/pandas/pulls/4195 | 2013-07-10T17:08:06Z | 2013-07-10T18:52:48Z | 2013-07-10T18:52:48Z | 2014-08-11T01:31:56Z |
FIX disallow MultiIndex in Series constructor GH4187 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a965d92e5dbe3..d97a99426ff7d 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -199,6 +199,7 @@ pandas 0.12
- Fixed an esoteric excel reading bug, xlrd>= 0.9.0 now required for excel
support. Should provide python3 support (for... | fixes #4187 (at least the segfault part).
Constructing Series with a MultiIndex raises NotImplementedError, the option (to implement this) is to return `.to_series()` ?
| https://api.github.com/repos/pandas-dev/pandas/pulls/4190 | 2013-07-10T13:11:52Z | 2013-07-13T08:21:49Z | 2013-07-13T08:21:49Z | 2014-07-07T12:44:52Z |
TST: fix ujson tests failures on 32-bit | diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py
index 23bd41d245f75..f838f8b7ea15c 100644
--- a/pandas/io/tests/test_json/test_ujson.py
+++ b/pandas/io/tests/test_json/test_ujson.py
@@ -96,7 +96,12 @@ def test_decimalDecodeTest(self):
sut = {u'a': 4.56}
e... | As pointed out by @lodagro [here](https://github.com/pydata/pandas/commit/a8d15bd4c6dae2c65ed4aa4b2f76c029b6358113#commitcomment-3521549) and [here](https://github.com/pydata/pandas/commit/a8d15bd4c6dae2c65ed4aa4b2f76c029b6358113#commitcomment-3521581) some of the ujson tests fail on 32-bit due to precision errors.
Th... | https://api.github.com/repos/pandas-dev/pandas/pulls/4186 | 2013-07-10T01:36:44Z | 2013-07-10T18:56:00Z | 2013-07-10T18:56:00Z | 2014-07-16T08:18:41Z |
TST: raise when no data are found when trying to dld multiple symbols | diff --git a/pandas/io/data.py b/pandas/io/data.py
index e5985c703f93f..e3b0af542bb41 100644
--- a/pandas/io/data.py
+++ b/pandas/io/data.py
@@ -312,7 +312,12 @@ def _dl_mult_symbols(symbols, start, end, chunksize, retry_count, pause,
'NaN.'.format(sym), SymbolWarning)
st... | closes #4182.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4184 | 2013-07-09T23:31:56Z | 2013-07-09T23:59:45Z | 2013-07-09T23:59:45Z | 2014-07-16T08:18:39Z |
ENH: drop_level argument for xs | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b301dcb80445a..bddf720a6b72e 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -48,6 +48,7 @@ pandas 0.13
overlapping color and style arguments (:issue:`4402`)
- Significant table writing performance improvements in ``HDFStore`... | As discussed [here](http://stackoverflow.com/questions/17552997/how-to-update-a-subset-of-a-multiindexed-pandas-dataframe), xs usually remove the level which you are accessing. This commit allows you to explicitly say you don't want that (and want to keep the same levels in the result).
```
In [4]: df = DataFrame({'da... | https://api.github.com/repos/pandas-dev/pandas/pulls/4180 | 2013-07-09T17:24:54Z | 2013-08-27T12:18:58Z | 2013-08-27T12:18:58Z | 2014-06-14T07:25:56Z |
CLN: write the attributes in a HDFStore as strings | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index fdb86c43b7160..43b3197667d2b 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -1622,8 +1622,8 @@ def __unicode__(self):
def set_object_info(self):
""" set my pandas type & version """
- self.attrs.pandas_type = self... | These strings are converted to bytes, previously these were written as unicode
| https://api.github.com/repos/pandas-dev/pandas/pulls/4178 | 2013-07-09T16:31:46Z | 2013-07-09T17:07:40Z | 2013-07-09T17:07:40Z | 2014-07-16T08:18:36Z |
TST: Do not skip MySQL tests on Travis. | diff --git a/.travis.yml b/.travis.yml
index 3d3d90eb47129..96dba262ebfb6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,6 +40,9 @@ install:
- echo "Waldo2"
- ci/install.sh
+before_script:
+ - mysql -e 'create database pandas_nosetest;'
+
script:
- echo "Waldo3"
- ci/script.sh
diff --git a/ci/require... | A first step for #4163
| https://api.github.com/repos/pandas-dev/pandas/pulls/4177 | 2013-07-09T16:01:36Z | 2013-07-10T18:26:39Z | 2013-07-10T18:26:39Z | 2014-07-16T08:18:34Z |
TST: remove double call to yahoo finance | diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py
index 2f4185154b8e6..df1b292d9ba5f 100644
--- a/pandas/io/tests/test_data.py
+++ b/pandas/io/tests/test_data.py
@@ -117,8 +117,6 @@ def test_get_quote_series(self):
@network
def test_get_quote_string(self):
df = web.get_quote_ya... | closes #4174.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4176 | 2013-07-09T15:25:25Z | 2013-07-09T16:24:44Z | 2013-07-09T16:24:44Z | 2014-07-16T08:18:32Z |
DOC to_datetime warning about dayfirst strictness | diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py
index c39f65f95d99f..dc3eb1183dd2b 100644
--- a/pandas/tseries/tools.py
+++ b/pandas/tseries/tools.py
@@ -61,6 +61,8 @@ def to_datetime(arg, errors='ignore', dayfirst=False, utc=None, box=True,
Errors are ignored by default (values left untouched)
... | cc #3341
Doesn't address the issue, but warns users about it in the docstring (it's already got a warning in the docs).
| https://api.github.com/repos/pandas-dev/pandas/pulls/4175 | 2013-07-09T14:49:40Z | 2013-07-09T15:41:56Z | 2013-07-09T15:41:56Z | 2014-07-16T08:18:31Z |
BLD: use the wheel url for scikits timeseries | diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt
index 797066a0f1699..57acc459adc13 100644
--- a/ci/requirements-2.7.txt
+++ b/ci/requirements-2.7.txt
@@ -12,4 +12,4 @@ xlrd==0.9.2
patsy==0.1.0
html5lib==1.0b2
lxml==3.2.1
-http://downloads.sourceforge.net/project/pytseries/scikits.timeseries/0.91.3/sci... | was previously downloading from sourceforge, now uses the wheel
| https://api.github.com/repos/pandas-dev/pandas/pulls/4168 | 2013-07-09T01:02:38Z | 2013-07-09T14:29:05Z | 2013-07-09T14:29:04Z | 2014-07-16T08:18:29Z |
TST: to_datetime format tests | diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py
index f952483f54a9a..07780b575fa95 100644
--- a/pandas/tseries/tests/test_timeseries.py
+++ b/pandas/tseries/tests/test_timeseries.py
@@ -793,17 +793,40 @@ def test_to_datetime_default(self):
xp = datetime(2001, 1, 1... | related to #4166
| https://api.github.com/repos/pandas-dev/pandas/pulls/4167 | 2013-07-09T00:34:35Z | 2013-07-09T14:49:19Z | 2013-07-09T14:49:19Z | 2014-07-16T08:18:27Z |
BUG: wrong parsing of microseconds with format arg (#4152) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index f4d61e70e94b3..a965d92e5dbe3 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -321,7 +321,8 @@ pandas 0.12
object Series/Frame was not converting properly (:issue:`4119`)
- Fixed bugs in multi-index selection with column multi... | Closes #4152.
`fraction` was already in microseconds, so no need to multiply it with 1000000, which caused faulty parsing of dates with microseconds.
With this commit I get:
```
pandas version: 0.12.0.dev
Value to parse: 01-Apr-2011 00:00:01.978
datetime.strptime : 2011-04-01 00:00:01.978000
to_datetime, w/ou... | https://api.github.com/repos/pandas-dev/pandas/pulls/4166 | 2013-07-08T21:59:27Z | 2013-07-09T13:10:36Z | 2013-07-09T13:10:36Z | 2014-07-16T08:18:25Z |
DOC: increased width of text area (#4159) | diff --git a/doc/source/themes/nature_with_gtoc/static/nature.css_t b/doc/source/themes/nature_with_gtoc/static/nature.css_t
index ebfeb6e5a8b08..2e0bed922c1e6 100644
--- a/doc/source/themes/nature_with_gtoc/static/nature.css_t
+++ b/doc/source/themes/nature_with_gtoc/static/nature.css_t
@@ -30,7 +30,8 @@ div.documentw... | See #4159
This adds a minimum and maximum width of the text area (instead of one fixed value of, at the moment 600px), and I also increased the maximum value (from 600 to 840).
I took the values of the standard sphinx docs which are 780-1080 (minus 240 for the sidebar, in the standard sphinx docs the width is define... | https://api.github.com/repos/pandas-dev/pandas/pulls/4165 | 2013-07-08T20:51:57Z | 2013-07-10T18:55:26Z | 2013-07-10T18:55:26Z | 2014-06-17T19:31:27Z |
ENH: add expression evaluation functionality via eval | diff --git a/bench/bench_with_subset.R b/bench/bench_with_subset.R
new file mode 100644
index 0000000000000..69d0f7a9eec63
--- /dev/null
+++ b/bench/bench_with_subset.R
@@ -0,0 +1,53 @@
+library(microbenchmark)
+library(data.table)
+
+
+data.frame.subset.bench <- function (n=1e7, times=30) {
+ df <- data.frame(a=rno... | closes #3393
closes #2560
cc @jreback
# `eval` Roadmap
## PyTables
allows natural syntax for queries, with in-line variables allowed
some examples
`"ts>=Timestamp('2012-02-01') & users=['a','b','c']"`
`['A > 0']`
`'(index>df.index[3] & index<=df.index[6]) | string="bar"'`
```
dates=pd.date_range('20130101',perio... | https://api.github.com/repos/pandas-dev/pandas/pulls/4164 | 2013-07-08T20:32:22Z | 2013-09-16T18:59:14Z | 2013-09-16T18:59:14Z | 2014-07-14T06:34:32Z |
ENH: add expression evaluation functionality via eval | closes #3393.
cc @jreback
# `eval` Roadmap
## PyTables
allows natural syntax for queries, with in-line variables allowed
some examples
`"ts>=Timestamp('2012-02-01') & users=['a','b','c']"`
`['A > 0']`
```
dates=pd.date_range('20130101',periods=5)
'index>dates'
```
Todos:
- [ ] update docs / need new examples
- [ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4162 | 2013-07-08T18:16:45Z | 2013-07-08T20:11:27Z | 2013-07-08T20:11:27Z | 2013-09-17T20:53:44Z | |
DOC: Improve excel docs | diff --git a/doc/source/io.rst b/doc/source/io.rst
index bc15aa102dcec..f61eb54888d1c 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1494,7 +1494,8 @@ any pickled pandas object (or any other pickled object) from file:
Excel files
-----------
-The ``read_excel`` method can read an Excel 2003 file using t... | I simply updated the docs to reflect that `xlrd` handles reading of both `.xls` and `.xlsx` files, and I updated docstrings affected functions by #4131 so that their docstrings stand on their own.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4154 | 2013-07-07T04:40:23Z | 2013-07-10T13:09:33Z | 2013-07-10T13:09:33Z | 2014-07-16T08:18:02Z |
ENH: add correct versions of numpy installs | diff --git a/.gitignore b/.gitignore
index 9a0794373cfdc..3da165e07c77c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,4 +36,5 @@ pandas/io/*.json
.idea/pandas.iml
.build_cache_dir
.vagrant
-*.whl
\ No newline at end of file
+*.whl
+**/wheelhouse/*
diff --git a/.travis.yml b/.travis.yml
index ff292767011cf..3d3d90e... | closes #4142.
should be able to finish up tomorrow, just need to put things on the server and
test
| https://api.github.com/repos/pandas-dev/pandas/pulls/4153 | 2013-07-07T04:38:21Z | 2013-07-08T04:15:07Z | 2013-07-08T04:15:07Z | 2014-07-16T08:17:58Z |
ENH: Melt with MultiIndex columns | diff --git a/doc/source/release.rst b/doc/source/release.rst
index f4d61e70e94b3..b827af2173412 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -77,6 +77,7 @@ pandas 0.12
to specify custom column names of the returned DataFrame (:issue:`3649`),
thanks @hoechenberger. If ``var_name`` is not... | No idea if there's actually a market for this, but anyhow:
```
In [1]: df = pd.DataFrame([[ 1.067683, -1.110463, 0.20867 ], [-1.321405, 0.368915, -1.055342], [-0.807333, 0.08298 , -0.873361]])
In [2]: df.columns = [list('ABC'), list('abc')]
In [3]: df.columns.names = ['CAP', 'low']
In [4]: df
Out[4]:
CAP ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4150 | 2013-07-06T17:08:19Z | 2013-07-12T13:16:57Z | 2013-07-12T13:16:57Z | 2014-06-12T13:34:21Z |
TST: additional test case for GH4146 | diff --git a/pandas/tests/test_indexing.py b/pandas/tests/test_indexing.py
index 7cd31b8f04b3a..a4174c236c26a 100644
--- a/pandas/tests/test_indexing.py
+++ b/pandas/tests/test_indexing.py
@@ -1094,8 +1094,12 @@ def test_mi_access(self):
# GH 4146, not returning a block manager when selecting a unique index
... | https://api.github.com/repos/pandas-dev/pandas/pulls/4149 | 2013-07-06T13:27:51Z | 2013-07-06T13:43:13Z | 2013-07-06T13:43:13Z | 2014-07-16T08:17:52Z | |
BUG: (GH4145/4146) Fixed bugs in multi-index selection with column multi index duplicates | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 7a271688c318b..dce1a25cf434b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -318,6 +318,8 @@ pandas 0.12
iterated over when regex=False (:issue:`4115`)
- Fixed bug in ``convert_objects(convert_numeric=True)`` where a mixed n... | closes #4145, #4146
```
In [1]: data = """h1 main h3 sub h5
...: 0 a A 1 A1 1
...: 1 b B 2 B1 2
...: 2 c B 3 A1 3
...: 3 d A 4 B2 4
...: 4 e A 5 B2 5
...: 5 f B 6 A2 6"""
In [2]: df = pd.read_csv(StringIO(data),sep='\s+',index_col=0)
In [3]: d... | https://api.github.com/repos/pandas-dev/pandas/pulls/4148 | 2013-07-06T13:03:12Z | 2013-07-06T13:21:40Z | 2013-07-06T13:21:40Z | 2014-06-15T09:47:51Z |
ENH melt uses column name if available | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 7a271688c318b..a2f2d5308ff4d 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -75,13 +75,14 @@ pandas 0.12
- Simplified the API and added a describe method to Categorical
- ``melt`` now accepts the optional parameters ``var_name... | Currently melt allows you to manually specify the val_name and var_name, this changes the default behaviour to grab the column name if one is available.
```
In [1]: df = pd.DataFrame({'a': {0: 1.0676829999999999, 1: -1.3214049999999999, 2: -0.80733299999999997}, 'b': {0: -1.110463, 1: 0.36891499999999999, 2: 0.0829799... | https://api.github.com/repos/pandas-dev/pandas/pulls/4144 | 2013-07-06T00:08:11Z | 2013-07-06T13:42:08Z | 2013-07-06T13:42:08Z | 2014-06-13T05:42:28Z |
BLD: install pip serially | diff --git a/ci/install.sh b/ci/install.sh
index 54de404854af8..4795ac8f4f59d 100755
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -53,8 +53,9 @@ if [ x"$FULL_DEPS" == x"true" ] ; then
fi
# Hard Deps
-time pip install $PIP_ARGS nose python-dateutil pytz>=2013a
-time pip install $PIP_ARGS cython==0.19.1
+for dep in nos... | closes #4132.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4141 | 2013-07-05T20:50:54Z | 2013-07-05T22:38:54Z | 2013-07-05T22:38:54Z | 2014-07-16T08:17:43Z |
BUG: Make ExcelFile.parse pass kwds to TextParser | diff --git a/pandas/io/excel.py b/pandas/io/excel.py
index f61db447f2cfc..03b547fcd47b7 100644
--- a/pandas/io/excel.py
+++ b/pandas/io/excel.py
@@ -126,7 +126,8 @@ def parse(self, sheetname, header=0, skiprows=None, skip_footer=0,
na_values=na_values,
... | Fixes #4131
| https://api.github.com/repos/pandas-dev/pandas/pulls/4139 | 2013-07-05T17:06:56Z | 2013-07-06T13:01:17Z | 2013-07-06T13:01:17Z | 2014-07-16T08:17:42Z |
BUG: period idx str map incorrectly returns a str repr of itself when ind.map(str) is called | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 7c09c2a6f16ac..62d3201eb3a58 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -48,6 +48,8 @@ pandas 0.13
with a different block ordering (:issue:`4096`)
- The ``by`` argument now works correctly with the ``layout`` argument
... | https://api.github.com/repos/pandas-dev/pandas/pulls/4136 | 2013-07-05T16:07:44Z | 2013-07-25T14:11:10Z | 2013-07-25T14:11:10Z | 2014-06-21T20:41:46Z | |
BLD: use wheel packages to reduce travis-ci build times. | diff --git a/.gitignore b/.gitignore
index f12847a80edaf..9a0794373cfdc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,3 +35,5 @@ pandas/io/*.json
.idea/pandas.iml
.build_cache_dir
+.vagrant
+*.whl
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
index 30f09deefd93a..ff292767011cf 100644
--- a/.t... | Roughly from 40 minutes to 13 minutes.
Before: https://travis-ci.org/pydata/pandas/builds/8738816
After: https://travis-ci.org/y-p/pandas/builds/8749214
The existing build cache system for 2to3 and cythonized caching can knock this
down much more, but it's more fragile and part of the reason the previous attempt
ultim... | https://api.github.com/repos/pandas-dev/pandas/pulls/4128 | 2013-07-04T23:24:22Z | 2013-07-04T23:34:56Z | 2013-07-04T23:34:56Z | 2014-07-16T08:17:35Z |
fix typo - change conn to con | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 68dff479a5015..1794bda20d2fc 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -177,7 +177,7 @@ def write_frame(frame, name, con, flavor='sqlite', if_exists='fail', **kwargs):
----------
frame: DataFrame
name: name of SQL table
- conn: an op... | Noticed a typo in the documentation of `write_frame`.
Method def has `con` while documentation had `conn`.
`def write_frame(frame, name, con, flavor='sqlite', if_exists='fail', **kwargs):`
| https://api.github.com/repos/pandas-dev/pandas/pulls/4127 | 2013-07-04T16:33:39Z | 2013-07-05T13:01:31Z | 2013-07-05T13:01:31Z | 2014-07-16T08:17:34Z |
CLN: Small fix to clean_pyc task | diff --git a/Makefile b/Makefile
index 5349443ed477f..77342089365f0 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ clean: clean_pyc
-find . -name '*.so' -exec rm {} \;
clean_pyc:
- -find . -name '*.pyc' -or -name '*.pyo' -exec rm {} \;
+ -find . -name '*.pyc' -exec rm {} \; -or -name '*.pyo' -exec rm {} \;
... | The previous `clean_pyc` wasn't actually removing `*.pyc` files - apparently each branch of find needs its own exec (I guess?). Anyways this works now.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4124 | 2013-07-04T14:08:37Z | 2013-07-04T16:02:45Z | 2013-07-04T16:02:45Z | 2014-07-16T08:17:33Z |
BUG/TST: test fixes for windows compat | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index cc25d7e066e30..401a7746953cb 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2206,7 +2206,10 @@ def _sanitize_column(self, key, value):
'length of index')
if not isinstance(value,... | closes #4122
| https://api.github.com/repos/pandas-dev/pandas/pulls/4123 | 2013-07-04T13:25:26Z | 2013-07-04T15:11:52Z | 2013-07-04T15:11:52Z | 2014-06-13T11:22:37Z |
BUG: GH4119 Fixed bug in convert_objects(convert_numeric=True) where a mixed numeric and object not converting | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a7469ba2e707b..7a271688c318b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -316,6 +316,8 @@ pandas 0.12
- Better error messages on inserting incompatible columns to a frame (:issue:`4107`)
- Fixed bug in ``DataFrame.replace``... | closes #4119
| https://api.github.com/repos/pandas-dev/pandas/pulls/4120 | 2013-07-03T21:37:43Z | 2013-07-03T23:43:15Z | 2013-07-03T23:43:15Z | 2014-07-16T08:17:29Z |
BUG: fix replace bug when a nested dict was passed | diff --git a/doc/source/release.rst b/doc/source/release.rst
index d410f39da3ab9..a7469ba2e707b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -314,6 +314,8 @@ pandas 0.12
- Fix bug where ``HDFStore`` will fail to append because of a different block
ordering on-disk (:issue:`4096`)
- Bet... | closes #4115.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4117 | 2013-07-03T16:08:37Z | 2013-07-03T18:59:43Z | 2013-07-03T18:59:42Z | 2014-07-16T08:17:27Z |
CLN/TST: cleanup exception message testing by replacing with assertRaisesRegexp | diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index a8a435e3bb660..eccdb53ff6764 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -25,10 +25,12 @@
from pandas import date_range
import pandas as pd
from pandas.io.parsers import read_csv
+from pandas.parser import CPar... | .
| https://api.github.com/repos/pandas-dev/pandas/pulls/4114 | 2013-07-03T15:24:37Z | 2013-07-03T16:27:43Z | 2013-07-03T16:27:43Z | 2014-07-16T08:17:25Z |
BUG: make sure fig is not doubled when passing by to series.hist | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 322c4541b5760..b13a6daf3da5c 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -435,6 +435,8 @@ Bug Fixes
- Bug in getitem with a duplicate index when using where (:issue:`4879`)
- Fix Type inference code coerces float column int... | closes #4112.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4113 | 2013-07-03T13:56:31Z | 2013-09-22T13:32:57Z | 2013-09-22T13:32:57Z | 2014-06-15T15:35:14Z |
CLN: use how="all" in data.py so that things that are not nan in other columns are kept | diff --git a/pandas/io/data.py b/pandas/io/data.py
index 2d91bd4cd383c..e5985c703f93f 100644
--- a/pandas/io/data.py
+++ b/pandas/io/data.py
@@ -757,7 +757,7 @@ def get_near_stock_price(self, above_below=2, call=True, put=False,
get_range = slice(start_index - above_below,
... | https://api.github.com/repos/pandas-dev/pandas/pulls/4111 | 2013-07-03T13:25:51Z | 2013-07-03T14:02:47Z | 2013-07-03T14:02:47Z | 2014-07-16T08:17:21Z | |
ERROR: better error message reporting on inserting incompatible column to frame (GH4107) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 5f2dd3df0c6a3..d410f39da3ab9 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -313,6 +313,7 @@ pandas 0.12
(:issue:`4089`)
- Fix bug where ``HDFStore`` will fail to append because of a different block
ordering on-disk (:i... | closes #4107
| https://api.github.com/repos/pandas-dev/pandas/pulls/4108 | 2013-07-02T23:31:31Z | 2013-07-03T00:04:38Z | 2013-07-03T00:04:38Z | 2014-07-16T08:17:18Z |
ENH: add dropna argument to pivot_table | diff --git a/doc/source/release.rst b/doc/source/release.rst
index facf753ced9a0..bf3b2ace62908 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -72,6 +72,7 @@ pandas 0.12
- support python3 (via ``PyTables 3.0.0``) (:issue:`3750`)
- Add modulo operator to Series, DataFrame
- Add ``date`` m... | fixes #3820
```
a = np.array(['foo', 'foo', 'foo', 'bar', 'bar', 'foo', 'foo'], dtype=object)
b = np.array(['one', 'one', 'two', 'one', 'two', 'two', 'two'], dtype=object)
c = np.array(['dull', 'dull', 'dull', 'dull', 'dull', 'shiny', 'shiny'], dtype=object)
In [11]: pd.crosstab(a, [b, c], rownames=['a'], colnames=['... | https://api.github.com/repos/pandas-dev/pandas/pulls/4106 | 2013-07-02T18:16:57Z | 2013-07-10T13:20:05Z | 2013-07-10T13:20:05Z | 2014-07-16T08:17:15Z |
ENH: allow layout for grouped DataFrame histograms | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 54fa4d30bac0a..7c09c2a6f16ac 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -46,6 +46,8 @@ pandas 0.13
- ``HDFStore`` raising an invalid ``TypeError`` rather than ``ValueError`` when appending
with a different block orderi... | Also remove the slow decorator for tests that take < 100 ms time
closes #4102.
closes #4194.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4104 | 2013-07-02T15:59:06Z | 2013-07-25T13:33:03Z | 2013-07-25T13:33:03Z | 2014-06-27T11:41:44Z |
BUG: (GH 4096) block ordering is somewhat non-deterministic in HDFStore; reorder to the existing store | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 36e86629c385a..691c7312dde72 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -299,6 +299,8 @@ pandas 0.12
rewritten in an incompatible way (:issue:`4062`, :issue:`4063`)
- Fixed bug where sharex and sharey were not being pass... | closes #4096
| https://api.github.com/repos/pandas-dev/pandas/pulls/4100 | 2013-07-01T20:34:46Z | 2013-07-01T21:27:26Z | 2013-07-01T21:27:26Z | 2014-07-16T08:17:10Z |
BUG: GH4098, HDFStore not recreating a datetime index properly when has a timezone | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 2aa6e1a80085f..36e86629c385a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -52,7 +52,7 @@ pandas 0.12
- A ``filter`` method on grouped Series or DataFrames returns a subset of
the original (:issue:`3680`, :issue:`919`)
-... | closes #4098
| https://api.github.com/repos/pandas-dev/pandas/pulls/4099 | 2013-07-01T20:09:36Z | 2013-07-01T20:39:08Z | 2013-07-01T20:39:08Z | 2014-06-25T15:42:21Z |
CLN: Refactor string special methods | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 691c7312dde72..facf753ced9a0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -175,8 +175,18 @@ pandas 0.12
``bs4`` + ``html5lib`` when lxml fails to parse. a list of parsers to try
until success is also valid
- more cons... | closes #4090, #3231
- The internal `pandas` class hierarchy has changed (slightly). The
previous `PandasObject` now is called `PandasContainer` and a new
`PandasObject` has become the baseclass for `PandasContainer` as well
as `Index`, `Categorical`, `GroupBy`, `SparseList`, and
`SparseArray` (+ their base clas... | https://api.github.com/repos/pandas-dev/pandas/pulls/4092 | 2013-07-01T02:47:14Z | 2013-07-02T01:42:28Z | 2013-07-02T01:42:28Z | 2014-06-14T19:01:58Z |
BUG: pass sharex and sharey in grouped_hist | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 513540698023f..2aa6e1a80085f 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -297,6 +297,8 @@ pandas 0.12
- Fixed bug where a 1xN DataFrame would barf on a 1xN mask (:issue:`4071`)
- Fixed running of ``tox`` under python3 where... | closes #4089
| https://api.github.com/repos/pandas-dev/pandas/pulls/4091 | 2013-07-01T01:26:14Z | 2013-07-01T03:28:07Z | 2013-07-01T03:28:07Z | 2014-07-16T08:16:48Z |
ENH: really really really fix the failing data.py tests | diff --git a/pandas/io/common.py b/pandas/io/common.py
index 1fc572dbf1a5e..33958ade2bcd6 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -1,9 +1,14 @@
-""" Common api utilities """
+"""Common IO api utilities"""
+import sys
import urlparse
-from pandas.util import py3compat
+import urllib2
+import zip... | I feel like a broken record
| https://api.github.com/repos/pandas-dev/pandas/pulls/4085 | 2013-06-29T17:52:20Z | 2013-07-01T01:29:02Z | 2013-07-01T01:29:02Z | 2014-07-16T08:16:40Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.