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 |
|---|---|---|---|---|---|---|---|
ENH/BUG: add count to grouper / ensure that grouper keys are not included in the returned | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 40e99b879dc29..0e96491fb3aa1 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -179,6 +179,8 @@ API Changes
validation warnings in :func:`read_csv`/:func:`read_table` (:issue:`6607`)
- Raise a ``TypeError`` when ``DataFrame`` is pa... | closes #5610
| https://api.github.com/repos/pandas-dev/pandas/pulls/7000 | 2014-04-29T15:30:07Z | 2014-04-29T20:12:46Z | 2014-04-29T20:12:46Z | 2014-06-15T01:48:09Z |
ENH: Implement core/strings/wrap method | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index fe3fc42992468..110dd8f3872e9 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1223,6 +1223,7 @@ Methods like ``match``, ``contains``, ``startswith``, and ``endswith`` take
``repeat``,Duplicate values (``s.str.repeat(3)`` equivalent ... | This patch implements the str.wrap function within core/strings.
Example:
```
>>> s = pd.Series(['line to be wrapped', 'another line to be wrapped'])
>>> s.str.wrap(12)
0 line to be\nwrapped
1 another line\nto be\nwrapped
```
This is a cleaned branch; the original is at #6705.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6999 | 2014-04-29T14:52:17Z | 2014-04-29T21:04:04Z | null | 2014-06-25T22:25:38Z |
make grouping column an agg | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 27001bb69cd05..9159b43536550 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -673,9 +673,17 @@ def var(self, ddof=1):
def size(self):
"""
Compute group sizes
+
"""
return self.grouper.size()
... | fixes #5610
| https://api.github.com/repos/pandas-dev/pandas/pulls/6997 | 2014-04-29T00:19:34Z | 2014-04-29T15:32:00Z | null | 2014-07-17T17:02:27Z |
BUG: GroupBy.get_group raises ValueError when group key contains NaT | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index 7ad2641dec52a..c9e18b585c764 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -784,11 +784,11 @@ will be (silently) dropped. Thus, this does not pose any problems:
df.groupby('A').std()
-NA group handling
-~~~~~~~~~~~~~~~~~
+N... | Closes #6992. Made `GroupBy.get_group` works even if the key contains `NaT`.
NOTE: One issue is that `GroupBy.groups` returns incorrect key in numpy 1.6. This seems to be caused by `_convert_grouper` uses `grouper.reindex(axis).values` to return value. This looks doesn't affect to main functionalities, but is there a... | https://api.github.com/repos/pandas-dev/pandas/pulls/6996 | 2014-04-28T23:44:28Z | 2015-05-30T13:05:57Z | 2015-05-30T13:05:57Z | 2015-06-02T19:26:59Z |
BUG: df.boxplot fails to use existing axis/subplot (#3578) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b5a11091779ec..ab89cbfe2929b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -475,6 +475,7 @@ Bug Fixes
caused possible color/class mismatch (:issue:`6956`)
- Bug in ``radviz`` and ``andrews_curves`` where multiple values of 'col... | Alright, I think I have a fix for issue #3578. In `plotting._grouped_plot_by_column`, there was no check being done for whether `ax` was `None`, which was the main source of the issue. When the boxplot is of multiple columns, I don't think there's anything sensible that can be done with the `ax` argument, so that
now r... | https://api.github.com/repos/pandas-dev/pandas/pulls/6991 | 2014-04-28T12:52:51Z | 2014-05-08T13:21:04Z | null | 2014-06-25T17:29:12Z |
TST: fix checking for less_precise in floats | diff --git a/.travis.yml b/.travis.yml
index ef49d9f7b6fea..cb8376a9f5761 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,7 @@ language: python
env:
global:
# scatterci API key
- - secure: "Bx5umgo6WjuGY+5XFa004xjCiX/vq0CyMZ/ETzcs7EIBI1BE/0fIDXOoWhoxbY9HPfdPGlDnDgB9nGqr5wArO2s+BavyKBWg6osZ3dmkfuJPMOWeyCa9... | really close #6982
| https://api.github.com/repos/pandas-dev/pandas/pulls/6990 | 2014-04-28T11:59:07Z | 2014-04-28T12:44:00Z | 2014-04-28T12:44:00Z | 2014-07-16T09:03:47Z |
DOC: fix some doc build warnings | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index 79d85ae9586ed..7b064c69c721c 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -242,8 +242,8 @@ accept the following arguments:
instead of ``freq`` that referred to the legacy time rule constants
- ``how``: opti... | https://api.github.com/repos/pandas-dev/pandas/pulls/6989 | 2014-04-28T11:24:07Z | 2014-04-28T11:58:53Z | 2014-04-28T11:58:53Z | 2014-07-16T09:03:46Z | |
CLN: drop internals._invert_reordering in favour of lib.get_reverse_indexer | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 38e95eaba0b0f..91e523cfc882c 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -295,6 +295,8 @@ Improvements to existing features
- ``read_excel`` can now read milliseconds in Excel dates and times with xlrd >= 0.9.3. (:issue:`5945`)
... | I've implemented the former while refactoring BlockManager (#6745) because I didn't find the latter in lib module. This PR will remove the duplication (and also add missing changelog entry).
| https://api.github.com/repos/pandas-dev/pandas/pulls/6988 | 2014-04-28T09:24:28Z | 2014-04-28T11:20:38Z | 2014-04-28T11:20:38Z | 2014-06-25T22:25:34Z |
SQL: bunch of fixes based on the old tests | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 158ef7b7ed791..c18a4aef5355b 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -6,6 +6,7 @@
from datetime import datetime, date, timedelta
import warnings
+import traceback
import itertools
import re
import numpy as np
@@ -97,80 +98,130 @@ def execute(... | Some first fixes based on running the old sql tests (from 0.13.1 tag)
- fixed `get_schema` (and adapted is signature back to how it was for 0.13.1). For this I added back the old function, as this functionality was not possible with the refactored class based approach (for those you always have to provide a connection ... | https://api.github.com/repos/pandas-dev/pandas/pulls/6987 | 2014-04-27T21:53:08Z | 2014-05-08T12:26:22Z | 2014-05-08T12:26:22Z | 2014-06-12T12:52:48Z |
COMPAT: remove deprecated optinos from printing in test suite (GH6984) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index f7b47b06ef841..fce5f2f93e68b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -198,7 +198,9 @@ Deprecations
will not be supported in a future release (:issue:`6645`)
- Indexers will warn ``FutureWarning`` when used with a scalar... | closes #6984
| https://api.github.com/repos/pandas-dev/pandas/pulls/6986 | 2014-04-27T20:26:29Z | 2014-04-27T21:38:28Z | 2014-04-27T21:38:28Z | 2014-07-16T09:03:34Z |
TST: test_frame/test_sum not comparing correctly on smaller sized dtypes (GH6982) | diff --git a/pandas/src/testing.pyx b/pandas/src/testing.pyx
index c573d8b2afbad..38be1970de7b3 100644
--- a/pandas/src/testing.pyx
+++ b/pandas/src/testing.pyx
@@ -121,7 +121,7 @@ cpdef assert_almost_equal(a, b, bint check_less_precise=False):
dtype_a = np.dtype(type(a))
dtype_b = np.dtype(ty... | closes #6982
| https://api.github.com/repos/pandas-dev/pandas/pulls/6985 | 2014-04-27T19:02:09Z | 2014-04-27T22:16:48Z | 2014-04-27T22:16:48Z | 2014-07-16T09:03:32Z |
PERF: improved performance of compatible pickles (GH6899) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index fce5f2f93e68b..d100541ecbf92 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -292,6 +292,7 @@ Improvements to existing features
specified (:issue:`6607`)
- ``read_excel`` can now read milliseconds in Excel dates and times with xl... | closes #6899
though seems that cPickle can on a small file/dataset be slower
so waiting for results on #6899 tests
| https://api.github.com/repos/pandas-dev/pandas/pulls/6983 | 2014-04-27T16:31:13Z | 2014-04-27T22:15:44Z | 2014-04-27T22:15:44Z | 2014-06-30T18:09:34Z |
COMPAT: windows dtype fix in for Panel.count | diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py
index 9c2df9b5dde9d..aaf0530487061 100644
--- a/pandas/core/nanops.py
+++ b/pandas/core/nanops.py
@@ -99,7 +99,7 @@ def _bn_ok_dtype(dt, name):
# bottleneck does not properly upcast during the sum
# so can overflow
if name == 'nansum'... | https://api.github.com/repos/pandas-dev/pandas/pulls/6981 | 2014-04-27T16:09:21Z | 2014-04-27T16:09:32Z | 2014-04-27T16:09:32Z | 2014-07-22T18:40:54Z | |
ERR: Add check for iterators when creating DataFrame, fixes #5357 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index fce5f2f93e68b..705d31695bd23 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -178,6 +178,8 @@ API Changes
- change ``AssertionError`` to ``TypeError`` for invalid types passed to ``concat`` (:issue:`6583`)
- Add :class:`~pandas.io.... | This is a fix for #5357, and adds a more helpful error message when trying to use an iterator as the `data` argument for a `DataFrame`. I've added the type check for iterators in the final else clause where all the valid options have already been exhausted, so it shouldn't interfere with any valid cases like passing a ... | https://api.github.com/repos/pandas-dev/pandas/pulls/6977 | 2014-04-27T02:18:18Z | 2014-04-27T23:39:52Z | 2014-04-27T23:39:52Z | 2014-07-16T09:03:26Z |
ENH: support pie plot in series and dataframe plot | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 117aa1724c4f2..4f01fe4f4b278 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -277,6 +277,7 @@
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'statsmodels': ('http://statsmodels.sourcefor... | Related to #413, added pie plot for `Series.plot` and `DataFrame.plot` kind.
If data includes `NaN`, it will be automatically filled by 0. If data contains negative value, `ValueError` will be raised.
```
import pandas as pd
import numpy as np
series = pd.Series(3 * np.random.rand(4), index=['a', 'b', 'c', 'd'], name... | https://api.github.com/repos/pandas-dev/pandas/pulls/6976 | 2014-04-27T00:22:28Z | 2014-05-05T16:15:22Z | 2014-05-05T16:15:22Z | 2014-06-12T21:10:18Z |
Fix for GH 6885 - get_dummies chokes on unicode values | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6d8f915e2ebb8..d4fbd288221f3 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -381,6 +381,7 @@ Bug Fixes
- Bug in arithmetic operations affecting to NaT (:issue:`6873`)
- Bug in ``Series.str.extract`` where the resulting ``Series`` ... | closes #6885
Please be gentle - this is the first time I've tried to contribute either to someone else's python project or another project on github, so if my python or git foo is lacking, I apologise in advance!
| https://api.github.com/repos/pandas-dev/pandas/pulls/6975 | 2014-04-26T22:55:12Z | 2014-04-30T12:40:10Z | null | 2014-06-20T23:25:14Z |
Panel shift revert | diff --git a/doc/source/release.rst b/doc/source/release.rst
index c975143b0ef67..4eb40818ce4e5 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -151,7 +151,6 @@ API Changes
to a non-unique item in the ``Index`` (previously raised a ``KeyError``). (:issue:`6738`)
- all offset operations now retur... | Reverts #6605 closes #6959 #6826
## vs 13.1
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
panel_shift ... | https://api.github.com/repos/pandas-dev/pandas/pulls/6974 | 2014-04-26T19:50:48Z | 2014-04-28T23:21:23Z | 2014-04-28T23:21:23Z | 2014-06-18T12:23:39Z |
Cookbook additions | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index 5fcd8961d4e08..46a5d8c870a9d 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -11,6 +11,7 @@
np.random.seed(123456)
from pandas import *
options.display.max_rows=15
+ options.display.mpl_style='default'
import pa... | As suggested by Jeff on this [StackOverflow answer](http://stackoverflow.com/a/23233196/1222578), I'm adding an example of a boxplot that uses quartiles of a second variable as the `by` variable.
Jeff also suggested adding the example in-line, rather than just providing a link to StackOverflow, so that's what I've don... | https://api.github.com/repos/pandas-dev/pandas/pulls/6972 | 2014-04-26T13:34:43Z | 2014-04-27T13:58:57Z | null | 2014-06-13T16:46:14Z |
ENH: Support dateutil timezones. GH4688. | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 5897b1a43054f..48acacd7ced08 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -1244,21 +1244,53 @@ the quarter end:
Time Zone Handling
------------------
-Using ``pytz``, pandas provides rich support for working with t... | closes #4688
This PR should provide support for dateutil timezones. It was discussed quite a bit in https://github.com/pydata/pandas/pull/4689.
The discussion there ended two months back with "we should incorporate this if it can be made seamless". I think I've managed that now so it would be great to get some feedba... | https://api.github.com/repos/pandas-dev/pandas/pulls/6968 | 2014-04-25T14:49:32Z | 2014-06-04T12:46:42Z | 2014-06-04T12:46:42Z | 2014-06-12T18:09:13Z |
COMPAT: fix numpy 1.9-dev deprecation warnings in test suite | diff --git a/ci/script.sh b/ci/script.sh
index 152a2f1ebdcf9..e76789b689c94 100755
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -16,6 +16,13 @@ fi
"$TRAVIS_BUILD_DIR"/ci/build_docs.sh 2>&1 > /tmp/doc.log &
# doc build log will be shown after tests
+# export the testing mode
+if [ -n "$NUMPY_BUILD" ]; then
+
+ export... | COMPAT: change neg of boolean to inv (deprecation in numpy 1.9)
COMPAT: remove deprecation warnings on **new** (in computation/pytables)
COMPAT: fix array_to_datetime on invalid comparison to NaT
related #6958
add ability to set an environmental variable to actually show the DeprecationWarnings
just
`setenv PANDAS_... | https://api.github.com/repos/pandas-dev/pandas/pulls/6960 | 2014-04-25T00:43:53Z | 2014-04-27T17:47:19Z | 2014-04-27T17:47:19Z | 2014-06-17T08:26:48Z |
MAINT: Numpy deprecated boolean unary '-' operator | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 18a3dba1a44a4..ad5d14989b742 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -280,7 +280,7 @@ def notnull(obj):
res = isnull(obj)
if np.isscalar(res):
return not res
- return -res
+ return ~res
def _is_null_da... | I'm sure there are more of these, but I just caught this one when I was raising on all warnings.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6958 | 2014-04-24T18:06:43Z | 2014-04-25T00:46:38Z | null | 2014-06-18T02:07:24Z |
BUG: fix handling of color argument for variety of plotting functions | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a6aa842940bc0..4e4d61c3e971c 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -229,6 +229,14 @@ Deprecations
returned if possible, otherwise a copy will be made. Previously the user could think that ``copy=False`` would
ALWAYS r... | parallel_coordinates
- fix reordering of class column (from set) causing possible color/class
mismatch
- deprecated use of argument colors in favor of color
radviz
- fix reordering of class column (from set) causing possible color/class
mismatch
- added explicit color keyword argument (avoids multiple values 'colo... | https://api.github.com/repos/pandas-dev/pandas/pulls/6956 | 2014-04-24T15:52:32Z | 2014-05-05T23:12:09Z | 2014-05-05T23:12:09Z | 2014-06-21T08:53:32Z |
ENH: Quantiles accepts an array | diff --git a/doc/source/v0.14.0.txt b/doc/source/v0.14.0.txt
index a5001e840f471..e63728e22d23a 100644
--- a/doc/source/v0.14.0.txt
+++ b/doc/source/v0.14.0.txt
@@ -482,6 +482,8 @@ Enhancements
- Added ``how`` option to rolling-moment functions to dictate how to handle resampling; :func:``rolling_max`` defaults to max... | Doesn't quite finish #4196, but it should be easy not that `quantile` takes arrays.
I did this on top of #6953, so that should go in first.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6955 | 2014-04-24T15:13:23Z | 2014-04-25T11:55:06Z | 2014-04-25T11:55:06Z | 2014-07-16T09:03:02Z |
BUG: Bug in sum/mean on 32-bit platforms on overflows (GH6915) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 4a7ef0ed70828..a888f03b9d8e7 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -422,6 +422,7 @@ Bug Fixes
- Bug in ``Series.rank`` and ``DataFrame.rank`` that caused small floats (<1e-13) to all receive the same rank (:issue:`6886`)
... | closes #6915
overflow when doing sum (and mean) using bottleneck/numpy on 32-bit platforms with 32-bit dtypes
| https://api.github.com/repos/pandas-dev/pandas/pulls/6954 | 2014-04-24T14:49:48Z | 2014-04-24T22:43:18Z | 2014-04-24T22:43:18Z | 2014-07-16T09:03:00Z |
BUG: Pass args and kwargs to empty | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 49656046129ca..4a7ef0ed70828 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -420,6 +420,8 @@ Bug Fixes
- Bug in C parser with leading whitespace (:issue:`3374`)
- Bug in C parser with ``delim_whitespace=True`` and ``\r``-delimited... | Closes #6952
I wasn't sure what the best way to test this was. I went with calling `_apply_empty_result` directly and checking for a SystemExit to get around the try: except Exception block in `_apply_empty_result`.
I still don't think I've 100% ensured that `_apply_empty_result` will always be _called with_ _args an... | https://api.github.com/repos/pandas-dev/pandas/pulls/6953 | 2014-04-24T14:11:52Z | 2014-04-24T16:10:54Z | 2014-04-24T16:10:54Z | 2017-04-05T02:08:47Z |
BUG: enabling subplots works unexpectedly | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 38e95eaba0b0f..011e29fdf015e 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -432,6 +432,8 @@ Bug Fixes
- Bug in ``DataFrame.apply`` with functions that used *args or **kwargs and returned
an empty result (:issue:`6952`)
- Bug i... | Found 2 minor issues related to plotting with `subplots=True`.
1. If `DataFrame` only has single column, plot raises `TypeError`. It is because `_subplots` returns `Axes` instance, not array.
2. If `kind=scatter` or `kind=hexbin` is specified with `subplots=True`, additional blank axes is drawn.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6951 | 2014-04-24T13:02:12Z | 2014-04-29T16:29:19Z | null | 2014-06-13T14:50:07Z |
Update indexing.py | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 1f284a9b7a7ff..459c6abbe334e 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -438,7 +438,7 @@ def can_do_equal_len():
else:
if len(labels) != len(value):
- raise Valu... | Adding a space
| https://api.github.com/repos/pandas-dev/pandas/pulls/6946 | 2014-04-23T23:47:25Z | 2014-04-24T00:12:51Z | 2014-04-24T00:12:51Z | 2014-07-16T09:02:57Z |
REGR/API: accept TextFileReader in concat (GH6583) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 848495b13828a..271daa1623a4b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -175,6 +175,7 @@ API Changes
- Replace ``pandas.compat.scipy.scoreatpercentile`` with ``numpy.percentile`` (:issue:`6810`)
- ``.quantile`` on a ``datetime... | closes #6583
- API: change AssertionError to TypeError for invalid types passed to concat
- REGR: TextFileReader in concat, which was affecting a common user idiom
| https://api.github.com/repos/pandas-dev/pandas/pulls/6941 | 2014-04-23T16:00:53Z | 2014-04-23T16:26:27Z | 2014-04-23T16:26:27Z | 2014-06-17T14:27:30Z |
pandas.io.gbq Version 2 | diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt
index d101ab9d6876f..117d14005e175 100644
--- a/ci/requirements-2.6.txt
+++ b/ci/requirements-2.6.txt
@@ -4,7 +4,6 @@ python-dateutil==1.5
pytz==2013b
http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsoup4-4.2.0.tar.gz
html5lib==1.0... | closes #5840 (as new interface makes it obsolete)
closes #6096
@jreback : We still have some documentation to work on, but we would like your initial thoughts on what we have so far. The key change for this version is the removal of bq.py as a dependency (except as a setup method for a test case). Instead, we rely en... | https://api.github.com/repos/pandas-dev/pandas/pulls/6937 | 2014-04-23T03:24:11Z | 2014-06-30T19:30:22Z | 2014-06-30T19:30:22Z | 2014-07-08T13:11:14Z |
BUG: pass bins arg in hist_frame | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index a9425400bedb3..b1faf3047beea 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -126,6 +126,12 @@ def test_hist(self):
with tm.assertRaises(ValueError):
self.ts.hist(by=self.ts.index, fi... | Came up in the comments at https://github.com/pydata/pandas/pull/6850#issuecomment-41119013
Missed passing the `bins` kwarg to a call to matplotlib's hist.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6935 | 2014-04-23T02:43:49Z | 2014-04-23T12:44:59Z | 2014-04-23T12:44:59Z | 2017-04-05T02:08:48Z |
BUG: Fix to read decimal seconds from Excel. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 47407eedb17bd..49656046129ca 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -285,6 +285,7 @@ Improvements to existing features
- Translate ``sep='\s+'`` to ``delim_whitespace=True`` in
:func:`read_csv`/:func:`read_table` if no o... | Fix to allow decimal seconds to be read from Excel dates and times
into datetime objects. #5945.
This required a fix to the `xlrd` module to return milliseconds from Excel dates and times. That fix was recently released to PyPI in xlrd version 0.9.3.
Tests, version updates and release note included.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6934 | 2014-04-23T00:34:18Z | 2014-04-24T01:24:01Z | 2014-04-24T01:24:01Z | 2014-06-18T06:59:55Z |
BUG/INT: Internal tests for patching __finalize__ / bug in concat not finalizing (GH6927) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e38d5e00a31ad..7824a69c92561 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -396,7 +396,7 @@ Bug Fixes
- Bug in ``DataFrame.to_csv`` where setting `index` to `False` ignored the
`header` kwarg (:issue:`6186`)
- Bug in `DataFram... | closes #6927
| https://api.github.com/repos/pandas-dev/pandas/pulls/6931 | 2014-04-22T19:21:40Z | 2014-04-22T19:44:47Z | 2014-04-22T19:44:47Z | 2014-07-16T09:02:47Z |
API/DEPR: Deprecate order kwarg in factorize | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e38d5e00a31ad..0ad7793285000 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -206,6 +206,8 @@ Deprecations
``periods`` with a default value of 1. A ``FutureWarning`` is raised if the
old argument ``lags`` is used by name. (:iss... | Closes https://github.com/pydata/pandas/issues/6926
`order` wasn't being used at all.
I couldn't use the deprecate_kwarg decorator since the kwarg is being removed, not changed.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6930 | 2014-04-22T18:33:03Z | 2014-04-22T20:54:18Z | 2014-04-22T20:54:18Z | 2017-04-05T02:08:49Z |
API/DEPR: Match Panel.shift()'s signature to generic | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 245dd71886f63..e38d5e00a31ad 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -201,6 +201,11 @@ Deprecations
- Indexers will warn ``FutureWarning`` when used with a scalar indexer and
a non-floating point Index (:issue:`4892`)
+... | Closes https://github.com/pydata/pandas/issues/6910
Also switches the shift implementation back to using keyword arguments.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6928 | 2014-04-22T17:03:48Z | 2014-04-22T18:29:10Z | 2014-04-22T18:29:10Z | 2017-04-05T02:08:53Z |
BUG/INT: Internal tests for patching __finalize__ / bug in merge not finalizing (GH6923) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index d2de554f1d054..245dd71886f63 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -391,6 +391,7 @@ Bug Fixes
- Bug in ``DataFrame.to_csv`` where setting `index` to `False` ignored the
`header` kwarg (:issue:`6186`)
- Bug in `DataFram... | closes #6923
| https://api.github.com/repos/pandas-dev/pandas/pulls/6924 | 2014-04-22T14:01:12Z | 2014-04-22T14:24:08Z | 2014-04-22T14:24:08Z | 2014-07-09T18:05:32Z |
API: remove the copy kw from .xs to prevent an expectation of a view (which may not be possible) | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 5e5b84e0e80b2..7918d6930341a 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -78,7 +78,7 @@ SQL
.. autosummary::
:toctree: generated/
-
+
read_sql_table
read_sql_query
read_sql
diff --git a/doc/source/release.rst b/doc/source/... | closes #6894
Deprecate passing keyword `copy` to:
- `DataFrame/Series/Panel/.xs`
- `Panel.minor_xs`
- `Panel.major_xs`
`.xs` returns a view (as does `.loc`) **IF POSSIBLE**
MultiIndexing with Slicers eliminates the need for this (and `.xs` for the too, but for
some cases its 'simpler').
| https://api.github.com/repos/pandas-dev/pandas/pulls/6919 | 2014-04-22T00:21:38Z | 2014-04-22T13:09:16Z | 2014-04-22T13:09:16Z | 2014-06-14T14:25:16Z |
DOC: Add recipe for shifting groups of values based on the index | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index 41a270a37d187..5f0b65218d374 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -191,6 +191,19 @@ The :ref:`grouping <groupby>` docs.
`Create a value counts column and reassign back to the DataFrame
<http://stackoverflow.com/quest... | https://api.github.com/repos/pandas-dev/pandas/pulls/6917 | 2014-04-21T20:55:11Z | 2014-04-21T21:54:40Z | 2014-04-21T21:54:40Z | 2014-07-16T09:02:33Z | |
to_csv `headers` kwarg now works regardless of `index` kwarg | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6d8f915e2ebb8..857a4d237f423 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -381,6 +381,8 @@ Bug Fixes
- Bug in arithmetic operations affecting to NaT (:issue:`6873`)
- Bug in ``Series.str.extract`` where the resulting ``Series`` ... | Addresses issue https://github.com/pydata/pandas/issues/6186
| https://api.github.com/repos/pandas-dev/pandas/pulls/6916 | 2014-04-20T16:21:06Z | 2014-04-21T05:43:53Z | 2014-04-21T05:43:53Z | 2014-06-12T04:44:39Z |
BUG: GroupBy.get_group doesnt work with TimeGrouper | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 49656046129ca..7ed01e42ff7aa 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -399,6 +399,7 @@ Bug Fixes
- Better error message when passing a frequency of 'MS' in ``Period`` construction (GH5332)
- Bug in `Series.__unicode__` when ... | `get_group` raises `AttributeError` when the group is created by `TimeGrouper`.
```
>>> df = pd.DataFrame({'Branch' : 'A A A A A A A B'.split(),
'Buyer': 'Carl Mark Carl Carl Joe Joe Joe Carl'.split(),
'Quantity': [1,3,5,1,8,1,9,3],
'Date' : [
... | https://api.github.com/repos/pandas-dev/pandas/pulls/6914 | 2014-04-19T18:23:39Z | 2014-04-28T14:07:40Z | 2014-04-28T14:07:40Z | 2014-06-14T08:31:02Z |
ENH: pivot_table can now accept Grouper | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a888f03b9d8e7..c975143b0ef67 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -286,6 +286,7 @@ Improvements to existing features
:func:`read_csv`/:func:`read_table` if no other C-unsupported options
specified (:issue:`6607`)
- ... | `pivot_table` can accept `Grouper` by `index` and `columns` kw.
```
>>> df = pd.DataFrame({
'Branch' : 'A A A A A A A B'.split(),
'Buyer': 'Carl Mark Carl Carl Joe Joe Joe Carl'.split(),
'Quantity': [1,3,5,1,8,1,9,3],
'Date' : [datetime(2013,11,1,13,0), datetime(2013,9,1,13,5),
datetime(2... | https://api.github.com/repos/pandas-dev/pandas/pulls/6913 | 2014-04-19T17:12:53Z | 2014-04-27T13:28:37Z | 2014-04-27T13:28:37Z | 2014-06-13T01:24:57Z |
TST: restructure sql tests | diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py
index 83978a0e0b8f7..9622f9d8790cb 100644
--- a/pandas/io/tests/test_sql.py
+++ b/pandas/io/tests/test_sql.py
@@ -1,3 +1,20 @@
+"""SQL io tests
+
+The SQL tests are broken down in different classes:
+
+- `PandasSQLTest`: base class with common metho... | - add some explanation of structure of tests
- general clean-up (some pep8, docstrings, etc)
- move some methods to _TestSQLAlchemy
- use standard quoting for sqlite
I didn't change any tests, so nothing controversial I think. Wanted to do this first, and then in a subsequent PR try to increase the test coverage.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6912 | 2014-04-19T14:34:29Z | 2014-04-21T19:50:30Z | 2014-04-21T19:50:30Z | 2014-06-25T08:40:32Z |
ENH: Implement Panel pct_change | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index fb616c5267e3c..ebda0cde9fb5c 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -26,9 +26,9 @@ Statistical functions
Percent Change
~~~~~~~~~~~~~~
-Both ``Series`` and ``DataFrame`` has a method ``pct_change`` to com... | Closes https://github.com/pydata/pandas/issues/6904
There's just a bit of extra index handling that needs to be done before moving on to `generic.pct_change()`. I had to adjust that to use the `.div` and `.sub` ops instead of `/` and `-` to work with panels.
I wasn't sure why axis wasn't included as an actual names k... | https://api.github.com/repos/pandas-dev/pandas/pulls/6909 | 2014-04-18T13:10:39Z | 2014-04-21T14:15:49Z | 2014-04-21T14:15:49Z | 2017-04-05T02:08:52Z |
BUG: TimeGrouper outputs different result by column order | diff --git a/doc/source/release.rst b/doc/source/release.rst
index cc8e271d62183..6d8f915e2ebb8 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -294,6 +294,7 @@ Bug Fixes
- Bug in TimeGrouper/resample when presented with a non-monotonic DatetimeIndex would return invalid results. (:issue:`4161`)
-... | closes #6764
`TimeGrouper` may output incorrect results depending on the target column order. The problem seems to be caused by 2 parts.
- `TimeGrouper._get_time_bins` and related methods expects sorted values input.
- `BinGrouper.get_iterator` expects sorted data input.
```
>>> df = pd.DataFrame({'Branch' : 'A A A ... | https://api.github.com/repos/pandas-dev/pandas/pulls/6908 | 2014-04-18T12:34:42Z | 2014-04-19T12:47:08Z | 2014-04-19T12:47:08Z | 2014-06-21T21:47:54Z |
DOC: note about query strings in HDFStore selection | diff --git a/doc/source/io.rst b/doc/source/io.rst
index b6bb5718e37f9..b0043228471b6 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2474,6 +2474,37 @@ The right-hand side of the sub-expression (after a comparsion operator) can be:
- lists, e.g. ``"['A','B']"``
- variables that are defined in the lo... | closes #6901
| https://api.github.com/repos/pandas-dev/pandas/pulls/6905 | 2014-04-17T22:05:28Z | 2014-04-17T23:49:30Z | 2014-04-17T23:49:29Z | 2014-07-16T09:02:14Z |
API: Stop modifying SQL column and names, and warn when pertinent. | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index bed4c2da61c59..158ef7b7ed791 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -7,6 +7,7 @@
import warnings
import itertools
+import re
import numpy as np
import pandas.core.common as com
@@ -38,11 +39,6 @@ def _convert_params(sql, params):
retur... | Closes #6796
If any columns names written `to_sql` via a legacy connection _would_ have been modified by previous versions of pandas, a warning is issued, both on table creation and row insertion. But no names are modified.
There is a stray warning message in nosetests. Otherwise good, I think. Does this reflect our ... | https://api.github.com/repos/pandas-dev/pandas/pulls/6902 | 2014-04-17T14:07:00Z | 2014-04-22T14:33:16Z | 2014-04-22T14:33:15Z | 2014-08-21T07:57:05Z |
ENH (GH6568) Add option info_verbose | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 0e449cb35eaaa..7d6efdb85b94a 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1666,3 +1666,35 @@ columns of DataFrame objects are shown by default. If ``max_columns`` is set to
0 (the default, in fact), the library will attempt to fit t... | This adds a info_verbose to the options. There's a small section in faq and basic introduction. Entry in v0.14 is still missing.
Closes #6568
| https://api.github.com/repos/pandas-dev/pandas/pulls/6890 | 2014-04-16T07:41:20Z | 2014-05-14T22:25:15Z | null | 2014-06-25T08:40:22Z |
BUG/ENH: Add fallback warnings and correctly handle leading whitespace in C parser | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 32891e371a489..249cfaf62878f 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -92,7 +92,8 @@ They can take a number of arguments:
- ``dialect``: string or :class:`python:csv.Dialect` instance to expose more
ways to specify the file format
- ``... | closes #6607
closes #3374
Currently, specifying options that are incompatible with the C parser in `read_csv` and `read_table` causes a silent fallback to the python engine. This can be confusing if the user has also passed options that are only supported by the C engine, which are then silently ignored. (See #6607)
... | https://api.github.com/repos/pandas-dev/pandas/pulls/6889 | 2014-04-16T01:16:37Z | 2014-04-23T22:23:11Z | 2014-04-23T22:23:11Z | 2014-06-16T17:30:28Z |
BUG: properly rename single group match in Series.str.extract() | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 2fea35a887f34..fb4f06ac03ff9 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -374,6 +374,8 @@ Bug Fixes
- Bug in ``groupby.get_group`` where a datetlike wasn't always accepted (:issue:`5267`)
- Bug in ``DatetimeIndex.tz_localize`` ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/6888 | 2014-04-16T00:11:03Z | 2014-04-16T01:22:38Z | 2014-04-16T01:22:38Z | 2014-07-16T09:01:58Z |
Series.rank() doesn't handle small floats correctly | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 271daa1623a4b..248e18034c400 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -402,6 +402,7 @@ Bug Fixes
- Bug in `DataFrame.plot` and `Series.plot` legend behave inconsistently when plotting to the same axes repeatedly (:issue:`6678... | Okay, this fixes #6868 but does so with a bit of a performance penalty. The current pandas version performs just a tad slower than `scipy.stats.rankdata()`, but after these changes, it's about 2-3x slower. On the plus side, it does (what I think is) the right thing.
I'm no cython expert, so there may well be things th... | https://api.github.com/repos/pandas-dev/pandas/pulls/6886 | 2014-04-15T16:24:16Z | 2014-04-23T23:24:14Z | null | 2014-09-24T12:59:05Z |
ENH: Allow aggregate numeric operations on timedelta64. | diff --git a/pandas/core/common.py b/pandas/core/common.py
index f8f5928ca7d51..171ce9462452f 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1271,14 +1271,23 @@ def _possibly_downcast_to_dtype(result, dtype):
dtype = np.dtype(dtype)
try:
-
# don't allow upcasts here (except ... | closes #5724
Currently, `timedelta64` columns can't be used in aggregate group operations. They are quietly dropped or, if no other columns are present, an exception is raised:
```
In [2]: df
Out[2]:
A E
0 foo 00:00:01
1 bar 00:00:02
2 foo 00:00:03
3 bar 00:00:04
In [3]: df.groupby('A').mean()
Out[... | https://api.github.com/repos/pandas-dev/pandas/pulls/6884 | 2014-04-14T21:29:37Z | 2015-05-09T16:08:30Z | null | 2024-03-20T18:43:59Z |
SQL: add multi-index support to legacy mode | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index a80e8049ae627..5052f057871b0 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -436,10 +436,7 @@ def maybe_asscalar(self, i):
except AttributeError:
return i
- def insert(self):
- ins = self.insert_statement()
- data_l... | Closes #6881.
@danielballan Added multi-index support to legacy mode, wasn't actually not that difficult (all tests seems to pass). And at once also `index_label` kwarg is supported in legacy mode.
This just leaves the issue that this is actually an api change, so could possibly break code.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6883 | 2014-04-14T20:25:59Z | 2014-04-15T22:32:19Z | 2014-04-15T22:32:19Z | 2014-07-16T09:01:52Z |
ENH: Float64Index now uses Float64Hashtable as a backend | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 3c15fdea70858..322c58115de3c 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1261,6 +1261,15 @@ numpy array. For instance,
Float64Index
------------
+.. note::
+
+ As of 0.14.0, ``Float64Index`` is backed by a native ``fl... | closes #6471
| https://api.github.com/repos/pandas-dev/pandas/pulls/6879 | 2014-04-13T23:12:00Z | 2014-04-14T10:55:43Z | 2014-04-14T10:55:43Z | 2014-06-14T15:46:38Z |
CLN: simplify series plotting | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index b1faf3047beea..e81cfd39ba78e 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -55,9 +55,10 @@ def test_plot(self):
_check_plot_works(self.ts.plot, style='.', loglog=True)
_check_plot_works... | Modified these 2 points:
- Simplify `LinePlot._make_ts_plot` to have single flow.
- Simplify `plot_frame` and `plot_series` 's `kind` detection. (Also, setting hexbin default is not necessary because it is done in `HexBinPlot.__init__`)
| https://api.github.com/repos/pandas-dev/pandas/pulls/6876 | 2014-04-13T00:23:08Z | 2014-04-27T23:57:20Z | 2014-04-27T23:57:20Z | 2014-07-05T03:07:29Z |
BUG: data written with to_sql legacy mode (sqlite/mysql) not persistent GH6846 | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index ac90555526a5e..efb8ce07ab60e 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -785,6 +785,7 @@ def insert(self):
data.insert(0, self.maybe_asscalar(r[0]))
cur.execute(ins, tuple(data))
cur.close()
+ self.pd_sql.c... | I added a call to commit method for pushing data into the SQL database and not only in the memory.
Tests are updated too in order to avoid future regression with a closed connection between writing and reading in the database. Since all the data in a memory based database in sqlite3 should be removed when closed, I cre... | https://api.github.com/repos/pandas-dev/pandas/pulls/6875 | 2014-04-12T15:25:24Z | 2014-04-13T19:39:44Z | 2014-04-13T19:39:44Z | 2014-06-30T19:39:24Z |
BUG: Arithmetic, timezone and offsets operations affecting to NaT | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a23936ae154c0..08d7bf9b8728b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -370,6 +370,8 @@ Bug Fixes
- Better error message when passing a frequency of 'MS' in ``Period`` construction (GH5332)
- Bug in `Series.__unicode__` when ... | NaT affected by some datetime related ops unexpectedly.
# Arithmetic
Applying arithmetic ops to `NaT` is not handled properly. Based on numpy results, I understand that results should be all `NaT` as long as valid data is passed.
```
# current results
>>> pd.NaT + pd.offsets.Hour(1)
2262-04-11 01:12:43.145224192
>>> ... | https://api.github.com/repos/pandas-dev/pandas/pulls/6873 | 2014-04-11T23:28:59Z | 2014-04-13T07:14:55Z | 2014-04-13T07:14:55Z | 2014-06-24T10:25:33Z |
BUG: Bug in groupby.get_group where a datetlike wasn't always accepted (GH5267) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e37a7c7eab861..0e5280f1c5306 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -365,6 +365,7 @@ Bug Fixes
would only replace the first occurrence of a value (:issue:`6689`)
- Better error message when passing a frequency of 'MS' in... | closes #5267
| https://api.github.com/repos/pandas-dev/pandas/pulls/6872 | 2014-04-11T19:08:27Z | 2014-04-11T22:33:18Z | 2014-04-11T22:33:18Z | 2014-06-27T15:47:52Z |
API: update SQL functional api (GH6300) | diff --git a/doc/source/api.rst b/doc/source/api.rst
index f6dfd5cfaf0e7..5e5b84e0e80b2 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -78,17 +78,11 @@ SQL
.. autosummary::
:toctree: generated/
-
+
+ read_sql_table
+ read_sql_query
read_sql
-.. currentmodule:: pandas.io.sql
-
-.. autos... | First draft for the functional api part of #6300.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6867 | 2014-04-10T22:31:08Z | 2014-04-18T11:59:45Z | 2014-04-18T11:59:45Z | 2014-06-18T18:18:25Z |
Custom Business Month | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 899bc2232f161..e3070ff1507a2 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -432,6 +432,8 @@ frequency increment. Specific offset logic like "month", "business day", or
MonthBegin, "calendar month begin"
BMonth... | This extends the `offsets.py` module with a `CBMonthEnd` based on `CustomBusinessDay`. Tests are found in `test_offsets.py`.
A few small points still open:
- Implement CBMonthBegin
- Improve speed. Main speed drag is `DateOffset.onOffset`.
Also some of the tests are not passing, but the errors seem unrelated.
e.g... | https://api.github.com/repos/pandas-dev/pandas/pulls/6866 | 2014-04-10T21:50:56Z | 2014-04-22T19:26:07Z | 2014-04-22T19:26:07Z | 2014-06-19T01:12:42Z |
BUG: _tidy_repr should not be called when max_rows is None | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 2ac6d96c5a36b..e37a7c7eab861 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -364,6 +364,7 @@ Bug Fixes
- Bug in ``DataFrame.replace()`` where changing a dtype through replacement
would only replace the first occurrence of a valu... | This issue was raised in http://stackoverflow.com/q/22824104/190597:
```
import pandas as pd
pd.options.display.max_rows = None
result = pd.Series(range(1001))
print(result)
```
raises `TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'`.
The problem occurs in series.py (line 832) when `max_rows` is... | https://api.github.com/repos/pandas-dev/pandas/pulls/6863 | 2014-04-10T15:41:18Z | 2014-04-10T21:01:17Z | 2014-04-10T21:01:17Z | 2014-06-12T16:16:48Z |
API: add inplace keyword to Series.order/sort to make them inverses (GH6859) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 2ac6d96c5a36b..df547c3f0a09b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -170,6 +170,7 @@ API Changes
add ``na_position`` arg to conform to ``Series.order`` (:issue:`6847`)
- default sorting algorithm for ``Series.order`` is ... | closes #6859
| https://api.github.com/repos/pandas-dev/pandas/pulls/6861 | 2014-04-10T13:54:47Z | 2014-04-12T00:27:51Z | 2014-04-12T00:27:51Z | 2014-06-22T23:19:02Z |
API: allow Series comparison ops to align before comparison (GH1134) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a23936ae154c0..6838eb9c90581 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -171,6 +171,7 @@ API Changes
- default sorting algorithm for ``Series.order`` is not ``quicksort``, to conform with ``Series.sort``
(and numpy defaults)... | closes #1134
reordered comparisons
```
In [1]: s1 = Series(index=["A", "B", "C"], data=[1,2,3])
In [2]: s1
Out[2]:
A 1
B 2
C 3
dtype: int64
In [3]: s2 = Series(index=["C", "B", "A"], data=[3,2,1])
In [4]: s2
Out[4]:
C 3
B 2
A 1
dtype: int64
In [5]: s1 == s2
Out[5]:
A ... | https://api.github.com/repos/pandas-dev/pandas/pulls/6860 | 2014-04-10T13:22:02Z | 2014-08-05T15:43:04Z | null | 2014-09-12T20:34:29Z |
BUG: to_timedelta not properly converting some units (GH6855) | diff --git a/pandas/tseries/tests/test_timedeltas.py b/pandas/tseries/tests/test_timedeltas.py
index 628c278aff2e1..57d8bf5623a78 100644
--- a/pandas/tseries/tests/test_timedeltas.py
+++ b/pandas/tseries/tests/test_timedeltas.py
@@ -199,6 +199,17 @@ def conv(v):
expected = Series([ np.timedelta64(1,'D') ]*5)
... | closes #6855
| https://api.github.com/repos/pandas-dev/pandas/pulls/6858 | 2014-04-10T11:49:28Z | 2014-04-10T12:08:34Z | 2014-04-10T12:08:34Z | 2014-06-29T14:30:56Z |
DEPR: Indexers will warn FutureWarning when used with a scalar indexer this is floating-point (GH4892) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e37a7c7eab861..aaa91f30f5013 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -189,6 +189,9 @@ Deprecations
``FutureWarning`` is raised to alert that the old ``cols`` arguments
will not be supported in a future release (:issue:... | closes #4892
numpy is doing this i 1.9 IIRC, and Scipy already did it. in 0.13.3
Indexers will warn `FutureWarning` when used with a scalar indexer and a non-floating point Index
```
# non-floating point indexes can only be indexed by integers / labels
In [1]: Series(1,np.arange(5))[3.0]
pandas/core/index.p... | https://api.github.com/repos/pandas-dev/pandas/pulls/6853 | 2014-04-09T20:38:47Z | 2014-04-11T22:33:35Z | 2014-04-11T22:33:35Z | 2014-07-05T04:40:12Z |
add bins argument to Histogram function | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index fceec8cf00e92..a9425400bedb3 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -110,6 +110,7 @@ def test_hist(self):
_check_plot_works(self.ts.hist, grid=False)
_check_plot_works(self.ts.hi... | The primary argument used when plotting histograms is `bins`. This argument is not in the pandas documentation so you do not see it when auto-tabbing for documentation. I have added `bins=10` as an argument to the dataframe and series histogram function while also adding a line of documentation. `10` is the matplotlib... | https://api.github.com/repos/pandas-dev/pandas/pulls/6850 | 2014-04-09T15:59:23Z | 2014-04-23T02:21:47Z | 2014-04-23T02:21:47Z | 2014-07-16T09:01:15Z |
API/BUG Raise ValueError when stacking nonunique levels | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 13aef1a5d8fdb..21c30d68a29d9 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -149,6 +149,8 @@ API Changes
- Define and document the order of column vs index names in query/eval (:issue:`6676`)
- ``DataFrame.sort`` now places NaNs... | Should raise a ValueError when (un)stacking a DataFrame
on a nonunique level. Previous behavior was to raise
a KeyError (not deliberately). Closes #6729.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6849 | 2014-04-09T15:38:28Z | 2014-04-09T21:07:29Z | 2014-04-09T21:07:29Z | 2017-04-05T02:08:53Z |
API: make Series.sort/order arguments in the same order | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 21c30d68a29d9..2459123626f10 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -83,7 +83,7 @@ API Changes
for a Series with a ``DatetimeIndex`` or a ``PeriodIndex``; trying this on a non-supported Index type will
now raise a ``Ty... | - drop unused `Series.sort` order argument
- added `Series.sort na_position` argument to conform with `Series.order`
- default kind for `Series.order` is now `quicksort`, same as `Series.sort` and numpy default
closes #6847
| https://api.github.com/repos/pandas-dev/pandas/pulls/6848 | 2014-04-09T14:53:16Z | 2014-04-09T23:40:11Z | 2014-04-09T23:40:11Z | 2014-06-22T23:19:41Z |
BUG/ENH: Add how kwarg to rolling_* functions [fix #6297] | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index ebda0cde9fb5c..79d85ae9586ed 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -240,7 +240,11 @@ accept the following arguments:
or :ref:`DateOffset <timeseries.offsets>` to pre-conform the data to.
Note that ... | Fixes #6297
Figured while I was in the area, would submit a PR to do this too. Let me know if you want to see more unit tests than the one.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6845 | 2014-04-09T01:47:22Z | 2014-04-22T13:09:37Z | 2014-04-22T13:09:37Z | 2014-06-27T21:48:09Z |
DOC: Use correct git hub numbers for deprecations [#6641] | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 1c1ecde5b95b8..d0de16524b035 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -195,27 +195,29 @@ Prior Version Deprecations/Changes
- Remove ``column`` keyword from ``DataFrame.sort`` (:issue:`4370`)
-- Remove ``precision`` keywo... | https://api.github.com/repos/pandas-dev/pandas/pulls/6844 | 2014-04-09T01:20:28Z | 2014-04-09T01:58:22Z | 2014-04-09T01:58:22Z | 2014-06-23T03:13:56Z | |
DOC: shrink bounding box on table plot | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index 09decc5ed1e25..a625015eb3148 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -429,7 +429,16 @@ Plotting with matplotlib table is now supported in the ``DataFrame.plot`` and ``
ax.get_xaxis().set_visible(Fa... | Doc formatting issue brought up in https://github.com/pydata/pandas/pull/6661#issuecomment-39748330
@jreback any way to view the doc build before merging into master? I was looking into `pandas/ci/build_docs.sh` but it looks likes I'd need to set up another travis job and a new GH pages site.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6841 | 2014-04-08T14:14:06Z | 2014-04-10T19:23:13Z | null | 2017-05-15T21:15:59Z |
Additional documentation for holiday calendars | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 5e1025b2d24dd..899bc2232f161 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -541,10 +541,10 @@ calendars which account for local holidays and local weekend conventions.
holidays = ['2012-05-01', datetime(2013, 5, 1)... | @jreback here are the additional holiday examples. Let me know if you want something else.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6840 | 2014-04-08T13:36:40Z | 2014-04-09T00:35:49Z | 2014-04-09T00:35:49Z | 2014-07-16T09:00:59Z |
ENH: Scatter plot now supports errorbar | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a0a96ebbd5c70..8853ce79f3d04 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -63,7 +63,7 @@ New features
Date is used primarily in astronomy and represents the number of days from
noon, January 1, 4713 BC. Because nanoseconds ... | This is enhancement for #5638. I sometimes want to plot scatter with errorbars, thus I've refactored to support it.

Also, this includes following fixes. I've also modified tests to check the number of erro... | https://api.github.com/repos/pandas-dev/pandas/pulls/6834 | 2014-04-07T15:07:27Z | 2014-05-02T20:40:47Z | 2014-05-02T20:40:47Z | 2014-06-16T12:08:19Z |
DOC: Fixed repetition | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index 008b5560a4645..fb616c5267e3c 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -97,8 +97,7 @@ in order to have a valid result.
Correlation
~~~~~~~~~~~
-Several methods for computing correlations are provided. Severa... | Small fix, avoiding repeating a sentence.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6832 | 2014-04-07T09:08:24Z | 2014-04-07T10:02:06Z | 2014-04-07T10:02:06Z | 2014-07-16T09:00:53Z |
CLN apply pep257 via docformatter | diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
index bff6eb1f95abc..6eb26fc478bb7 100644
--- a/pandas/compat/__init__.py
+++ b/pandas/compat/__init__.py
@@ -1,6 +1,4 @@
-"""
-compat
-======
+"""compat.
Cross-compatible functions for Python 2 and 3.
@@ -26,6 +24,7 @@
Other items:
* OrderedDe... | Not really for merging, but I wanted to see how [docformatter](https://github.com/myint/docformatter) handled codebase (e.g. any bugs). Perhaps we can make these changes incrementally.
cc #6248
| https://api.github.com/repos/pandas-dev/pandas/pulls/6827 | 2014-04-06T19:53:06Z | 2014-06-10T07:08:28Z | null | 2014-07-10T00:07:04Z |
BENCH: add vbench for issue 6697 | diff --git a/vb_suite/replace.py b/vb_suite/replace.py
index 517e2da599694..46da3e0691897 100644
--- a/vb_suite/replace.py
+++ b/vb_suite/replace.py
@@ -13,17 +13,24 @@
date_range = DateRange
ts = Series(np.random.randn(N), index=rng)
+"""
-def replace_slow(ser, old, new):
- lib.slow_replace(ser.values, ol... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/6825 | 2014-04-06T18:19:07Z | 2014-04-06T18:37:29Z | 2014-04-06T18:37:29Z | 2014-07-16T09:00:51Z |
BUG: Regression from 0.13 with fillna and a Series on datetime-like (6344) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 8b98bdd7a350c..cddfd2e7e37f9 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -321,6 +321,7 @@ Bug Fixes
- Bug with numpy < 1.7.2 when reading long strings from ``HDFStore`` (:issue:`6166`)
- Bug in ``DataFrame._reduce`` where non b... | closes #6344
| https://api.github.com/repos/pandas-dev/pandas/pulls/6824 | 2014-04-06T17:59:24Z | 2014-04-06T18:16:27Z | 2014-04-06T18:16:27Z | 2014-06-25T21:09:37Z |
CLN: leftover rebasing from 405018cf | diff --git a/vb_suite/frame_methods.py b/vb_suite/frame_methods.py
index 216ff40f43e8d..12ba042487ebe 100644
--- a/vb_suite/frame_methods.py
+++ b/vb_suite/frame_methods.py
@@ -440,20 +440,6 @@ def test_unequal(name):
frame_shift_axis0 = Benchmark('df.shift(1,axis=0)', setup,
start_date=datetime(2... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/6823 | 2014-04-06T17:09:07Z | 2014-04-06T17:35:25Z | 2014-04-06T17:35:25Z | 2014-07-16T09:00:48Z |
TST/BUG: make the gender variable non random in test_hist_by_no_extra_plots | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index a64f24a61db9b..efefc96b51104 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -182,7 +182,7 @@ def test_plot_fails_with_dupe_color_and_style(self):
def test_hist_by_no_extra_plots(self):
impor... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/6822 | 2014-04-06T16:59:52Z | 2014-04-06T17:39:42Z | 2014-04-06T17:39:42Z | 2014-07-16T09:00:46Z |
BUG: Fix unconverting of long strings from HDF (GH6166) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6545d21a4b4f8..8e0bdcc6a8942 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -318,6 +318,7 @@ Bug Fixes
(:issue:`6762`).
- Bug in Makefile where it didn't remove Cython generated C files with ``make
clean`` (:issue:`6768`)
+- ... | superseeds #6166
| https://api.github.com/repos/pandas-dev/pandas/pulls/6821 | 2014-04-06T16:58:07Z | 2014-04-06T17:35:50Z | 2014-04-06T17:35:50Z | 2014-06-30T14:04:14Z |
BUG: fix replace bug where different dtypes in a nested dict would only replace the first value | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 20269f407e0f3..13588a771f3c0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -336,6 +336,8 @@ Bug Fixes
coverted into bools. (:issue:`6806`)
- Regression from 0.13 with ``fillna`` and a Series on datetime-like (:issue:`6344`)
- ... | closes #6689
| https://api.github.com/repos/pandas-dev/pandas/pulls/6820 | 2014-04-06T16:31:13Z | 2014-04-08T22:55:12Z | 2014-04-08T22:55:12Z | 2022-02-05T00:53:07Z |
Unconvert | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 4291ed1b6c357..51a3e6aff7d3b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -90,6 +90,7 @@ Bug Fixes
- ``HDFStore.remove`` now handles start and stop (:issue:`6177`)
- ``HDFStore.select_as_multiple`` handles start and stop the sam... | https://api.github.com/repos/pandas-dev/pandas/pulls/6819 | 2014-04-06T16:02:19Z | 2014-04-06T16:34:00Z | null | 2014-04-06T16:34:00Z | |
BUG: adding np.timedelta64 to DatetimeIndex with tz outputs incorrect | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a5d41b9f6a4af..a9b65b92233c4 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -315,7 +315,6 @@ Bug Fixes
as regexs even when ``regex=False`` (:issue:`6777`).
- Bug in timedelta ops on 32-bit platforms (:issue:`6808`)
- Bug in set... | ```
>>> idx = pd.date_range(start='2010-11-02 01:00:00', periods=3, tz='US/Pacific', freq='1H')
>>> idx + offsets.Hour(3)
[2010-11-02 04:00:00-07:00, ..., 2010-11-02 06:00:00-07:00]
Length: 3, Freq: H, Timezone: US/Pacific
>>> idx + datetime.timedelta(hours=3)
[2010-11-02 04:00:00-07:00, ..., 2010-11-02 06:00:00-07:0... | https://api.github.com/repos/pandas-dev/pandas/pulls/6818 | 2014-04-06T13:59:40Z | 2014-04-07T12:37:33Z | 2014-04-07T12:37:32Z | 2014-06-26T02:50:17Z |
ENH: Use Welford's method in stats.moments.rolling_var | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 7824a69c92561..c494db2ae91c4 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -276,6 +276,7 @@ Improvements to existing features
- Add option to turn off escaping in ``DataFrame.to_latex`` (:issue:`6472`)
- Added ``how`` option to r... | This PR implements a modified version of Welford's method to compute
the rolling variance. Instead of keeping track of the sum and sum of
the squares of the items in the window, it tracks the mean and the sum
of squared differences from the mean. This turns out to be (much) more
numerically stable.
The formulas to upd... | https://api.github.com/repos/pandas-dev/pandas/pulls/6817 | 2014-04-06T08:47:22Z | 2014-04-22T21:58:47Z | 2014-04-22T21:58:47Z | 2014-09-16T14:33:52Z |
DEPR: Deprecate DateRange | diff --git a/bench/bench_dense_to_sparse.py b/bench/bench_dense_to_sparse.py
index f76daab5d8289..e1dcd3456e88d 100644
--- a/bench/bench_dense_to_sparse.py
+++ b/bench/bench_dense_to_sparse.py
@@ -2,7 +2,7 @@
K = 100
N = 100000
-rng = DateRange('1/1/2000', periods=N, offset=datetools.Minute())
+rng = DatetimeIndex(... | Deprecate DateRange in favor of DatetimeIndex, perfromed in commit 6fe2db57. Deprecation warning was first given in v0.8.
Related: #6641, #6813
| https://api.github.com/repos/pandas-dev/pandas/pulls/6816 | 2014-04-06T02:28:26Z | 2014-04-08T23:05:55Z | null | 2014-06-14T20:22:26Z |
BUG: DataFrame._reduce was converting integers to strings in mixed-type case. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6545d21a4b4f8..c57c4560a75e9 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -318,6 +318,8 @@ Bug Fixes
(:issue:`6762`).
- Bug in Makefile where it didn't remove Cython generated C files with ``make
clean`` (:issue:`6768`)
+- ... | closes #6806
| https://api.github.com/repos/pandas-dev/pandas/pulls/6814 | 2014-04-06T00:45:11Z | 2014-04-06T18:13:51Z | 2014-04-06T18:13:51Z | 2014-06-23T13:27:19Z |
Remove number of deprecated parameters/functions/classes [fix #6641] | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 8bf6a8d7b9488..b541ef4d2dd4b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -180,6 +180,28 @@ Prior Version Deprecations/Changes
- Remove ``column`` keyword from ``DataFrame.sort`` (:issue:`4370`)
+- Remove ``precision`` keywor... | Fixes #6641
Line numbers as of commit 70de129:
#### Deprecated since 0.11 or before
The following are fixed in this PR:
- [x] Deprecate precision in favor of accuracy (#395) -- v0.7.0
.\pandas\core\format.py:{2143}
- [x] Deprecate force_unicode (#2224, #2225) -- v0.10.0
.\pandas\core\format.py:{... | https://api.github.com/repos/pandas-dev/pandas/pulls/6813 | 2014-04-05T19:32:39Z | 2014-04-08T22:37:52Z | 2014-04-08T22:37:52Z | 2014-06-14T21:54:29Z |
BUG/ENH: Fix to_excel representation of inf values | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 2576982d6976f..d1c3041d6bd6b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -153,6 +153,9 @@ API Changes
- all offset operations now return ``Timestamp`` types (rather than datetime), Business/Week frequencies were incorrect (:issu... | Fixes #6782 by converting inf values to string (default is `'inf'`).
This still round trips successfully. According to Stack Overflow post I
found, there isn't a specific representation of `INF` values -
http://stackoverflow.com/questions/15704538/how-can-i-express-nan-values-in-excel
so we're going to make the decisio... | https://api.github.com/repos/pandas-dev/pandas/pulls/6812 | 2014-04-05T15:28:06Z | 2014-04-05T18:06:13Z | 2014-04-05T18:06:13Z | 2014-08-05T22:20:25Z |
BUG: bug in timedelta ops on 32-bit platforms (GH6808) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 2576982d6976f..94c5570d12844 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -303,6 +303,7 @@ Bug Fixes
- Bug in unpickling ``NaT (NaTType)`` (:issue:`4606`)
- Bug in ``DataFrame.replace()`` where regex metacharacters were being tr... | closes #6808
| https://api.github.com/repos/pandas-dev/pandas/pulls/6811 | 2014-04-05T14:52:26Z | 2014-04-05T15:23:20Z | null | 2014-06-30T14:04:14Z |
CLN: replace pandas.compat.scipy.scoreatpercentile with numpy.percentile | diff --git a/doc/source/release.rst b/doc/source/release.rst
index fb4f06ac03ff9..cc8e271d62183 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -172,6 +172,10 @@ API Changes
(and numpy defaults)
- add ``inplace`` keyword to ``Series.order/sort`` to make them inverses (:issue:`6859`)
+- Replace... | PR to fix #5824.
- Replaces `compat.scipy.scoreatpercentile` with `numpy.percentile`.
- Sets `axis=0` in a few tests, because `axis=None` by default on `numpy.percentile`, which returns a scalar (i.e., operates on a flattened version of the array).
- Fixes a test that fails after the switch due to differences in how fr... | https://api.github.com/repos/pandas-dev/pandas/pulls/6810 | 2014-04-05T14:27:01Z | 2014-04-16T13:04:41Z | 2014-04-16T13:04:41Z | 2014-06-17T18:33:53Z |
BUG: parser_source as a filename with multibyte characters in Windows(non utf-8 filesystem) | diff --git "a/pandas/io/tests/data/\346\227\245\346\234\254\350\252\236\343\203\225\343\202\241\343\202\244\343\203\253\345\220\215\343\203\206\343\202\271\343\203\210_read_csv_in_win_filesystem.csv" "b/pandas/io/tests/data/\346\227\245\346\234\254\350\252\236\343\203\225\343\202\241\343\202\244\343\203\253\345\220\215... | fopen() in Windows doesn't accept utf-8 encoded filename with multibyte characters, so need to convert it to filesystem encoding.
Set 'utf-8' as default in case sys.getfilesystemencoding() return None.
sys.getfilesystemencoding() will return 'mbcs' in Windows, and will 'utf-8' or user setting in other systems.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6807 | 2014-04-05T10:36:08Z | 2014-04-30T00:16:31Z | null | 2014-06-13T15:26:22Z |
BUG/API: disallow boolean arithmetic operations | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 8bf6a8d7b9488..7188851214f7f 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -156,6 +156,8 @@ API Changes
- ``to_excel`` now converts ``np.inf`` into a string representation,
customizable by the ``inf_rep`` keyword argument (Exce... | closes #6762
| https://api.github.com/repos/pandas-dev/pandas/pulls/6803 | 2014-04-04T19:51:55Z | 2014-04-05T20:18:58Z | 2014-04-05T20:18:58Z | 2014-06-21T09:55:59Z |
StataWriter: Replace missing values in string columns by an empty string | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 31cd37e4bf467..e280c3c9cc95b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -302,6 +302,8 @@ Bug Fixes
- Bug in ``obj.blocks`` on sparse containers dropping all but the last items of same for dtype (:issue:`6748`)
- Bug in unpickl... | Otherwise writing fails with errors about len() applied to a float or NoneType.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6802 | 2014-04-04T19:09:34Z | 2014-04-06T18:32:34Z | 2014-04-06T18:32:34Z | 2014-06-21T14:30:35Z |
BUG: duplicate (getitem) indexing with iloc (GH6766) | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index ed8cfb59bc995..a548b5f61754e 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -674,7 +674,8 @@ def setitem(self, indexer, value):
values = self._try_coerce_result(values)
values = self._try_cast_resul... | fix the getitem issues for iloc on #6766
| https://api.github.com/repos/pandas-dev/pandas/pulls/6799 | 2014-04-04T14:03:09Z | 2014-04-04T14:42:33Z | 2014-04-04T14:42:33Z | 2014-06-16T05:11:38Z |
DOC: Improve doc-string for `copy` kw on `convert_object()` (GH1234) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index cec6ce2cabcdd..8ec4655c0a309 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2093,7 +2093,9 @@ def convert_objects(self, convert_dates=True, convert_numeric=False,
strings), non-convertibles get NaN
convert_tim... | PR as suggested by @jreback.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6791 | 2014-04-03T23:19:02Z | 2014-04-04T12:33:06Z | 2014-04-04T12:33:06Z | 2014-06-19T16:29:24Z |
BUG: bug in taking all on a multi-index when only level 0 is specified (GH6788) | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 39ddc9a7ee22a..e0c5fa573ff69 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -1040,6 +1040,10 @@ def _convert_to_indexer(self, obj, axis=0, is_setter=False):
level = 0
_, indexer = labels... | closes #6788
| https://api.github.com/repos/pandas-dev/pandas/pulls/6790 | 2014-04-03T21:46:40Z | 2014-04-03T22:11:49Z | 2014-04-03T22:11:49Z | 2014-07-16T09:00:21Z |
BUG: Bug in setting a tz-aware index directly via .index (GH6785) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 80a833848f8fa..31cd37e4bf467 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -301,6 +301,7 @@ Bug Fixes
- Bug in downcasting inference with empty arrays (:issue:`6733`)
- Bug in ``obj.blocks`` on sparse containers dropping all but ... | closes #6785
| https://api.github.com/repos/pandas-dev/pandas/pulls/6786 | 2014-04-03T20:17:23Z | 2014-04-03T21:07:11Z | 2014-04-03T21:07:11Z | 2014-06-30T14:03:57Z |
BLD: spring cleaning on Makefile | diff --git a/Makefile b/Makefile
index d29e177d39832..9a768932b8bea 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,13 @@
tseries: pandas/lib.pyx pandas/tslib.pyx pandas/hashtable.pyx
python setup.py build_ext --inplace
-.PHONY : clean develop build clean clean_pyc tseries doc
+.PHONY : develop build clean clean_... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/6784 | 2014-04-03T18:32:18Z | 2014-04-06T16:26:02Z | 2014-04-06T16:26:02Z | 2014-07-16T09:00:15Z |
BUG: fix metacharacter replacement bug in DataFrame.replace() | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 31cd37e4bf467..2576982d6976f 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -301,7 +301,8 @@ Bug Fixes
- Bug in downcasting inference with empty arrays (:issue:`6733`)
- Bug in ``obj.blocks`` on sparse containers dropping all but ... | closes #6777
| https://api.github.com/repos/pandas-dev/pandas/pulls/6778 | 2014-04-03T14:55:05Z | 2014-04-04T20:56:16Z | 2014-04-04T20:56:16Z | 2014-07-16T09:00:14Z |
DOC: Issue #6763 - Corrected MERGE example | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 3329483a61f5c..8a30b74575ec2 100755
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -123,11 +123,11 @@
>>> merge(A, B, left_on='lkey', right_on='rkey', how='outer')
lkey value_x rkey value_y
-0 bar 2 bar 6
-1 bar 2 b... | Corrected the example provided in the MERGE function docstring.
Closes #6763
| https://api.github.com/repos/pandas-dev/pandas/pulls/6776 | 2014-04-03T12:23:54Z | 2014-04-03T12:42:23Z | 2014-04-03T12:42:23Z | 2014-07-16T09:00:13Z |
ENH: rename function now has errors keyword | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 80a833848f8fa..d8549886578d9 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -154,6 +154,8 @@ API Changes
- ``Series.iteritems()`` is now lazy (returns an iterator rather than a list). This was the documented behavior prior to 0.14.... | Same background as #6736.
Currently,
- When a function is passed, any error caused by the function results in `rename` error.
- When a dict is passed, label which is not included in the axis will be silently skipped. Even though `drop` raises `ValueError` in such a case.
```
>>> df = pd.DataFrame({1: [1, 2], 'B': pd.... | https://api.github.com/repos/pandas-dev/pandas/pulls/6767 | 2014-04-02T14:58:15Z | 2014-04-05T15:58:05Z | null | 2015-11-14T05:27:03Z |
BUG: Use `reverse` to check for non-lazy | diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
index 3336c3948fac6..143e47baab465 100644
--- a/pandas/tests/test_series.py
+++ b/pandas/tests/test_series.py
@@ -1808,8 +1808,8 @@ def test_iteritems(self):
for idx, val in compat.iteritems(self.ts):
self.assertEqual(val, self... | As pointed out at https://github.com/pydata/pandas/pull/6761#issuecomment-39291213, `__getslice__` was deprecated in Py3, so the test was faulty. I switched to checking for `reverse`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/6765 | 2014-04-02T13:28:31Z | 2014-04-04T12:34:11Z | 2014-04-04T12:34:11Z | 2017-05-15T21:15:56Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.