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 |
|---|---|---|---|---|---|---|---|
REF: misplaced DataFrame.where tests | diff --git a/pandas/tests/frame/indexing/test_where.py b/pandas/tests/frame/indexing/test_where.py
index bbf8ee5978e7c..24eb424bd5735 100644
--- a/pandas/tests/frame/indexing/test_where.py
+++ b/pandas/tests/frame/indexing/test_where.py
@@ -591,3 +591,40 @@ def test_where_tz_values(self, tz_naive_fixture):
)
... | https://api.github.com/repos/pandas-dev/pandas/pulls/32948 | 2020-03-23T20:34:57Z | 2020-03-24T19:38:44Z | 2020-03-24T19:38:44Z | 2020-03-24T19:51:55Z | |
REF: .values -> ._values | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 5b324bc5753ec..9afdb82467f90 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -700,7 +700,7 @@ def value_counts(
result = result.sort_index()
# if we are dropna and we have NO values
- if dropna ... | https://api.github.com/repos/pandas-dev/pandas/pulls/32947 | 2020-03-23T20:18:05Z | 2020-03-24T19:41:35Z | 2020-03-24T19:41:35Z | 2020-03-24T19:51:37Z | |
DOC: Fix capitalization among headings in documentation files (#32550) | diff --git a/doc/source/development/contributing_docstring.rst b/doc/source/development/contributing_docstring.rst
index efa165e0a2d0c..0c780ad5f5847 100644
--- a/doc/source/development/contributing_docstring.rst
+++ b/doc/source/development/contributing_docstring.rst
@@ -160,7 +160,7 @@ backticks. The following are co... | Files updated:
```
doc/source/development/contributing_docstring.rst
doc/source/development/developer.rst
doc/source/development/extending.rst
doc/source/development/maintaining.rst
doc/source/development/meeting.rst
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/32944 | 2020-03-23T18:53:00Z | 2020-03-31T17:26:03Z | 2020-03-31T17:26:03Z | 2020-04-07T18:35:04Z |
CLN: xarray tests | diff --git a/pandas/tests/generic/test_to_xarray.py b/pandas/tests/generic/test_to_xarray.py
index 250fe950a05fc..b6abdf09a7f62 100644
--- a/pandas/tests/generic/test_to_xarray.py
+++ b/pandas/tests/generic/test_to_xarray.py
@@ -1,5 +1,3 @@
-from distutils.version import LooseVersion
-
import numpy as np
import pytes... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/32943 | 2020-03-23T18:46:54Z | 2020-03-24T16:56:41Z | 2020-03-24T16:56:41Z | 2020-03-25T19:06:10Z |
REF: collect casting portion of Block.setitem | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 935ff09585b17..b13481e3442d1 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -833,21 +833,24 @@ def setitem(self, indexer, value):
else:
# current dtype cannot store value, ... | Block.setitem is sometimes inplace and sometimes casts/copies. The idea here is to isolate the casting cases and eventually separate them into their own method, so we can be more careful about when we call the inplace vs not-inplace setters. | https://api.github.com/repos/pandas-dev/pandas/pulls/32940 | 2020-03-23T17:40:55Z | 2020-03-25T00:10:41Z | 2020-03-25T00:10:41Z | 2020-03-25T00:40:59Z |
REF: misplaced DTI.shift tests | diff --git a/pandas/tests/indexes/categorical/test_category.py b/pandas/tests/indexes/categorical/test_category.py
index c18cd1f252c83..9562582393235 100644
--- a/pandas/tests/indexes/categorical/test_category.py
+++ b/pandas/tests/indexes/categorical/test_category.py
@@ -488,7 +488,7 @@ def test_equals_categorical(sel... | https://api.github.com/repos/pandas-dev/pandas/pulls/32938 | 2020-03-23T17:05:26Z | 2020-03-24T19:42:43Z | 2020-03-24T19:42:43Z | 2020-03-24T19:51:16Z | |
BUG: raise on frozenset construction by Series | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 00309b7a3dc0d..95ce03a858570 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -133,6 +133,8 @@ pandas 0.13
(:issue:`4016`)
- Fixed Panel assignment with a transposed frame (:issue:`3830`)
- Raise on set indexing with a Pane... | https://api.github.com/repos/pandas-dev/pandas/pulls/4482 | 2013-08-06T16:15:53Z | 2013-08-08T00:14:49Z | 2013-08-08T00:14:49Z | 2014-06-30T00:19:56Z | |
BUG: revert 2/3 changes in vbsuite | diff --git a/vb_suite/groupby.py b/vb_suite/groupby.py
index ded6a064eebd3..f38f42c89f5de 100644
--- a/vb_suite/groupby.py
+++ b/vb_suite/groupby.py
@@ -1,6 +1,5 @@
from vbench.api import Benchmark
from datetime import datetime
-from pandas.compat import map
common_setup = """from pandas_vb_common import *
"""
@@... | Fixes #4477, #4474
| https://api.github.com/repos/pandas-dev/pandas/pulls/4478 | 2013-08-06T11:12:28Z | 2013-08-07T00:25:47Z | 2013-08-07T00:25:47Z | 2014-07-16T08:21:54Z |
ENH: allow where to be a list/array or a boolean mask of locations (GH4467) | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 03afd37555b67..d51bf4c83ad0b 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2069,6 +2069,22 @@ These do not currently accept the ``where`` selector (coming soon)
store.select_column('df_dc', 'index')
store.select_column('df_dc', 'string')
+.... | closes #4467
| https://api.github.com/repos/pandas-dev/pandas/pulls/4470 | 2013-08-05T21:53:53Z | 2013-08-05T23:05:05Z | 2013-08-05T23:05:05Z | 2014-06-28T10:41:55Z |
BUG: bug when using chunksize and writing ndim > 2 | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index 0f429234ba3dc..2f0374e60c955 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -3037,7 +3037,11 @@ def write(self, obj, axes=None, append=False, complib=None,
self.write_data(chunksize)
def write_data(self, chunksize):
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4462 | 2013-08-05T13:23:02Z | 2013-08-05T13:28:34Z | 2013-08-05T13:28:34Z | 2014-07-16T08:21:48Z | |
BUG: values array for non-unique, interleaved cols incorrect | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index abe70e9037264..56a6c8081d556 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -1546,15 +1546,16 @@ def _interleave(self, items):
result[indexer] = block.get_values(dtype)
itemmask[indexer] = 1... | I came across this problem when I was doing some work for #4362. When a frame with mixed dtypes including Timestamps has dupe column labels the values array returned is different, as illustrated below (master branch):
``` python
In [3]: df = pd.DataFrame([[pd.Timestamp('20130101'),3.5],[pd.Timestamp('20130102'),4.5]],... | https://api.github.com/repos/pandas-dev/pandas/pulls/4460 | 2013-08-05T02:06:35Z | 2013-08-05T11:41:19Z | 2013-08-05T11:41:18Z | 2014-06-20T16:03:18Z |
BUG: Fix Panel instance variable namespace issue GH3440 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 74b68938d62eb..3da064a09519f 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -121,6 +121,8 @@ pandas 0.13
(:issue:`4405`, :issue:`4437`)
- Fixed a py3 compat issue where bytes were being repr'd as tuples
(:issue:`4455`)
... | The change is minor but so easy I thought I'd submit it: If you switch the list comprehensions to generators, it sidesteps leaking the temporary variables into the class variable scope.
This will be microscopically slower, but they are just class variables so it really doesn't matter.
fixes #3440
https://travis-ci.or... | https://api.github.com/repos/pandas-dev/pandas/pulls/4459 | 2013-08-04T19:10:44Z | 2013-08-05T01:44:08Z | 2013-08-05T01:44:08Z | 2014-06-26T11:48:10Z |
Get dummies | diff --git a/doc/source/api.rst b/doc/source/api.rst
index a377fa3960d4c..e964ce569532a 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -126,6 +126,13 @@ Data manipulations
merge
concat
+.. currentmodule:: pandas.core.reshape
+
+.. autosummary::
+ :toctree: generated/
+
+ get_dummies
+
Top-le... | fixes #4446, #4444
Added new functionality dummy_na (thoughts?). it's slightly different to a possible dropna argument, which I haven't included (which can be achieved using `pd.get_dummies(s.dropna())`.
Example:
```
In [3]: s = ['a', 'b', np.nan]
In [4]: pd.get_dummies(s)
Out[4]:
a b
0 1 0
1 0 1
2 0 0
I... | https://api.github.com/repos/pandas-dev/pandas/pulls/4458 | 2013-08-04T17:32:01Z | 2013-08-26T23:43:59Z | 2013-08-26T23:43:59Z | 2014-06-17T22:55:05Z |
PERF: enhance HDFStore Table writing performance | diff --git a/doc/source/release.rst b/doc/source/release.rst
index ddf0ecfc52d61..473e1792cb0d0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -46,6 +46,7 @@ pandas 0.13
``read_table``, ``read_csv``, etc.
- Added a more informative error message when plot arguments contain
overlapping ... | Took out all of the cython code, turns out you can assign directly to numpy recarrays per
column if you put in the correct shape yourself
```
Invoked with :
--ncalls: 5
--repeats: 5
-------------------------------------------------------------------------------
Test name | head[ms] ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4457 | 2013-08-03T17:38:27Z | 2013-08-05T12:06:32Z | 2013-08-05T12:06:32Z | 2014-07-16T08:21:39Z |
BUG/OFMT: fix repring of python3 bytes objects | diff --git a/doc/source/release.rst b/doc/source/release.rst
index ddf0ecfc52d61..74b68938d62eb 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -119,6 +119,8 @@ pandas 0.13
called using the top level matplotlib API (:issue:`4408`)
- Fixed a bug where calling ``Series.astype(str)`` would trun... | closes #4455.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4456 | 2013-08-03T01:21:45Z | 2013-08-03T20:01:22Z | 2013-08-03T20:01:22Z | 2014-06-18T13:51:07Z |
TST: pandas/util/testing : test improvements and cleanups | diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py
index d6eeb38076a42..c2564a6e12145 100644
--- a/pandas/io/tests/test_pytables.py
+++ b/pandas/io/tests/test_pytables.py
@@ -1763,7 +1763,10 @@ def test_index_types(self):
values = np.random.randn(2)
- func = lambda l, r... | A few things
1. Make with-statement-capable `assertRaises` and `assertRaisesRegexp` (which I want to use later in a cleanup of some of the parser tests).
2. Earlier introduction of `assert_attr_equal` changed it so that, if one object had an attribute that was `None` and the other did not have that attribute at all, it... | https://api.github.com/repos/pandas-dev/pandas/pulls/4451 | 2013-08-02T21:25:27Z | 2013-08-02T23:21:57Z | 2013-08-02T23:21:57Z | 2014-07-16T08:21:34Z |
DOC: lrange, lzip --> list(range and list(zip | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 479dd23b819da..c37776b3a3cd8 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1093,7 +1093,7 @@ By default integer types are ``int64`` and float types are ``float64``,
DataFrame([1, 2], columns=['a']).dtypes
DataFrame({'a': [1,... | Internally, definitely want to use `lzip` and `lrange`, but for clarity I think it's better to just use the written out versions of them, especially since they aren't really key components of pandas. (and generally would not expect someone working through an example to care about compatibility issues).
This only chang... | https://api.github.com/repos/pandas-dev/pandas/pulls/4450 | 2013-08-02T21:04:09Z | 2013-08-02T23:17:27Z | 2013-08-02T23:17:27Z | 2014-06-29T23:18:48Z |
TST: test updates for testing | diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index 7a1240e28c9e5..8cb9138f4d2f6 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -130,25 +130,23 @@ def assert_isinstance(obj, class_type_or_tuple):
"Expected object to be of type %r, found %r instead" % (
type(obj)... | fixup testing as @jtratener suggest
| https://api.github.com/repos/pandas-dev/pandas/pulls/4445 | 2013-08-02T12:49:38Z | 2013-08-02T12:49:43Z | 2013-08-02T12:49:43Z | 2014-06-22T03:02:33Z |
BUG: allow cumprod and cumsum to work with bool dtypes | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 92822e3038545..9af04a8d703cf 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -127,6 +127,8 @@ pandas 0.13
(:issue:`3440`)
- Fixed an issue where duplicate indexes were raising when plotting
(:issue:`4486`)
+ - Fixed an ... | closes #4170.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4440 | 2013-08-02T04:30:40Z | 2013-08-07T19:17:18Z | 2013-08-07T19:17:18Z | 2014-06-14T00:02:11Z |
BUG: fix string truncation for astype(str) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 1cdc2818b5fae..ddf0ecfc52d61 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -117,6 +117,8 @@ pandas 0.13
set _ref_locs (:issue:`4403`)
- Fixed an issue where hist subplots were being overwritten when they were
called us... | closes #4405.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4437 | 2013-08-02T04:07:23Z | 2013-08-03T03:29:56Z | 2013-08-03T03:29:56Z | 2014-06-13T02:10:37Z |
DOC: Fix typo | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index c87f21511473f..f322df1d3f0c0 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -513,7 +513,7 @@ than 2.
sf = Series([1, 1, 2, 3, 3, 3])
sf.groupby(sf).filter(lambda x: x.sum() > 2)
-The argument of ``filter`` must a function ... | Fixes minor typo in groupby documentation
| https://api.github.com/repos/pandas-dev/pandas/pulls/4436 | 2013-08-02T03:03:21Z | 2013-08-02T03:43:08Z | 2013-08-02T03:43:08Z | 2014-07-16T08:21:25Z |
TST: better assertion messages on test failures (GH4397) | diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index 0628d6705c769..7a1240e28c9e5 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -88,6 +88,8 @@ def set_trace():
#------------------------------------------------------------------------------
# contextmanager to ensure the file clea... | closes #4397
a start at least
| https://api.github.com/repos/pandas-dev/pandas/pulls/4430 | 2013-08-01T13:56:39Z | 2013-08-01T14:31:05Z | 2013-08-01T14:31:05Z | 2014-07-16T08:21:21Z |
FIX: doc imports | diff --git a/ci/script.sh b/ci/script.sh
index e8c3cf66bd9ba..2e466e58bf377 100755
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -2,7 +2,7 @@
echo "inside $0"
-if [ x"$LOCALE_OVERRIDE" != x"" ]; then
+if [ -n "$LOCALE_OVERRIDE" ]; then
export LC_ALL="$LOCALE_OVERRIDE";
echo "Setting LC_ALL to $LOCALE_OVERRIDE... | Bunch of doc build cleanups
closes #4418.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4419 | 2013-07-31T15:38:31Z | 2013-08-01T11:41:40Z | 2013-08-01T11:41:40Z | 2014-07-16T08:21:17Z |
API: GH4409 HDFStore adds an is_open property / CLOSED message | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 21c3866e73576..963461b9290ce 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1717,13 +1717,14 @@ Closing a Store, Context Manager
.. ipython:: python
- # closing a store
store.close()
+ store
+ store.is_open
# Working with, and aut... | closes #4409
closes #4367
| https://api.github.com/repos/pandas-dev/pandas/pulls/4417 | 2013-07-31T15:22:50Z | 2013-08-02T00:33:27Z | 2013-08-02T00:33:26Z | 2014-06-16T14:00:58Z |
BUG/VIS: fix Series.hist so that users can create hist subplots without the mpl API | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a2b525a737879..90f7585ba7ab9 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -44,6 +44,8 @@ pandas 0.13
- Text parser now treats anything that reads like inf ("inf", "Inf", "-Inf",
"iNf", etc.) to infinity. (:issue:`4220`, :i... | closes #4408.
closes #4402.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4414 | 2013-07-31T03:56:52Z | 2013-07-31T15:33:34Z | 2013-07-31T15:33:33Z | 2014-06-25T07:26:53Z |
BUG: Fix an issue in merging blocks where the resulting DataFrame had partially set _ref_locs | diff --git a/doc/source/release.rst b/doc/source/release.rst
index ba3d0c359be9e..a2b525a737879 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -94,8 +94,10 @@ pandas 0.13
- Fixed an issue where ``PeriodIndex`` joining with self was returning a new
instance rather than the same instance (:is... | closes #4403
| https://api.github.com/repos/pandas-dev/pandas/pulls/4410 | 2013-07-31T00:17:47Z | 2013-07-31T01:06:11Z | 2013-07-31T01:06:11Z | 2014-06-19T20:25:43Z |
BUG: Fix an issue with the csv cparser when usecols is used | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e9af4ccf50dc4..c5856666ca02a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -92,6 +92,8 @@ pandas 0.13
- Fixed an issue where ``PeriodIndex`` joining with self was returning a new
instance rather than the same instance (:iss... | closes #3192
This pull request fixes a problem arising from using the csv parser with the usecols option. In that case, all the dtypes will be converted to object. This code fixes that issue, resulting in the correct dtypes.
Thanks,
Tiago
| https://api.github.com/repos/pandas-dev/pandas/pulls/4406 | 2013-07-30T18:13:27Z | 2013-07-30T23:10:06Z | 2013-07-30T23:10:05Z | 2014-06-24T15:22:39Z |
fix the excel reader: hours & header | in the excel.py there is a fix enabling reading xlsx files with both
datemodes: (see #4332)
in the parsers.py there is the fix for readinh the header even if there
are additional rows (to be skipped) between a header and the data (see: #4340)
I hope this PR is adequate. If not, please let me know.
I can supply the sam... | https://api.github.com/repos/pandas-dev/pandas/pulls/4404 | 2013-07-30T13:57:58Z | 2013-08-21T23:15:09Z | 2013-08-21T23:15:09Z | 2014-06-17T12:47:53Z | |
DOC: typo fix | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index bb7715b5e3dc0..78c3e832bf0f9 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -333,7 +333,7 @@ We are stopping on the included end-point as its part of the index
.. warning::
- The following selection will raises a ... | Just some typo I discovered while reading the docs.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4399 | 2013-07-29T15:52:35Z | 2013-07-30T00:17:22Z | 2013-07-30T00:17:21Z | 2014-07-16T08:21:00Z |
BUG: Fix .iat indexing with a PeriodIndex GH4390 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 198948259be15..779ec9852118d 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -62,6 +62,7 @@ pandas 0.13
- deprecated ``iterkv``, which will be removed in a future release (was just
an alias of iteritems used to get around ``2... | closes #4390
Interesting fixed this as well (only affects `get`)
```
In [1]: s = Series(randn(10),date_range('20130101',periods=10))
In [2]: s[0]
Out[2]: 1.1755210838393764
In [3]: s
Out[3]:
2013-01-01 1.175521
2013-01-02 0.007910
2013-01-03 -1.235595
2013-01-04 0.478245
2013-01-05 -0.140616
2013-01-0... | https://api.github.com/repos/pandas-dev/pandas/pulls/4394 | 2013-07-28T23:42:30Z | 2013-07-30T00:27:21Z | 2013-07-30T00:27:21Z | 2014-06-26T01:31:52Z |
ENH: add git names to test_perf.py | diff --git a/vb_suite/test_perf.py b/vb_suite/test_perf.py
index f171f48410ce0..ca98b94e4fbbd 100755
--- a/vb_suite/test_perf.py
+++ b/vb_suite/test_perf.py
@@ -45,6 +45,15 @@
HEAD_COL="head[ms]"
BASE_COL="base[ms]"
+
+class RevParseAction(argparse.Action):
+ def __call__(self, parser, namespace, values, option_... | Let users pass nice git names so that they don't have to manually pass sha1
hashes to test between commits.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4392 | 2013-07-28T21:03:04Z | 2013-07-29T01:13:07Z | 2013-07-29T01:13:07Z | 2014-06-21T18:41:15Z |
ENH: suppress display.height DeprecationWarning | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 2f4432e44b9f6..c9beb729b2436 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -1721,7 +1721,8 @@ def get_console_size():
Returns (None,None) in non-interactive session.
"""
display_width = get_option('display.width')
- d... | related https://github.com/pydata/pandas/issues/4026?source=cc
The `display.height` option is dperecated. It's value is interogated by
`get_conosole_size()`, whose only caller in the codebase summarily ignores
that bit of the `(width,height)` retval.
Another ugly ricochet from the `repr()` cluster***\* of 0.11. a tar ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4391 | 2013-07-28T21:01:55Z | 2013-07-28T21:02:07Z | 2013-07-28T21:02:07Z | 2014-06-19T05:25:32Z |
BUG: fixes for GH4377 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 8c6cf34b0dbbe..198948259be15 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -83,6 +83,10 @@ pandas 0.13
- In ``to_json``, raise if a passed ``orient`` would cause loss of data because
of a duplicate index (:issue:`4359`)
... | closes #4377
- Fixed bug with `.values` raising an error on a DataFrame with duplicate columns and
mixed dtypes, surfaced in GH4377
- Fixed bug with duplicate columns and type conversion in `read_json` when
`orient='split'`
| https://api.github.com/repos/pandas-dev/pandas/pulls/4388 | 2013-07-28T16:55:41Z | 2013-07-30T00:17:43Z | 2013-07-30T00:17:42Z | 2014-07-16T08:20:50Z |
CLN/ENH/BLD: Remove need for 2to3 for Python 3. | diff --git a/LICENSES/SIX b/LICENSES/SIX
new file mode 100644
index 0000000000000..6fd669af222d3
--- /dev/null
+++ b/LICENSES/SIX
@@ -0,0 +1,21 @@
+six license (substantial portions used in the python 3 compatibility module)
+===========================================================================
+Copyright (c) 201... | Fixes #4375 and #4372.
Many changes to make codebase compatible in 2 and 3. For `range`, `zip`, `map`, etc. tried to favor iterators over needing to use lists.
Changes:
- No more 2to3 in setup.py
- merges util/compat and util/py3compat into pandas/compat
- incorporates useful parts of the six library into compat (+ a... | https://api.github.com/repos/pandas-dev/pandas/pulls/4384 | 2013-07-27T20:58:22Z | 2013-07-29T23:49:59Z | 2013-07-29T23:49:59Z | 2014-06-19T03:06:39Z |
TST/BUG: fix NameError in network decorator | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 37550f7ff5fb0..651c995e3e7bb 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -62,6 +62,8 @@ pandas 0.13
- Fixed an issue where ``DataFrame.sum`` was slower than ``DataFrame.mean``
for integer valued frames (:issue:`4365`)
... | https://api.github.com/repos/pandas-dev/pandas/pulls/4381 | 2013-07-27T20:19:43Z | 2013-07-27T21:47:50Z | 2013-07-27T21:47:50Z | 2014-06-26T17:52:39Z | |
Fix typo. | diff --git a/doc/source/v0.12.0.txt b/doc/source/v0.12.0.txt
index b7d52c6fed7e0..9054ef4a5444e 100644
--- a/doc/source/v0.12.0.txt
+++ b/doc/source/v0.12.0.txt
@@ -6,7 +6,7 @@ v0.12.0 (July 24, 2013)
This is a major release from 0.11.0 and includes several new features and
enhancements along with a large number of b... | Change 'highlites' to 'highlights'.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4380 | 2013-07-27T20:13:21Z | 2013-07-27T20:42:02Z | 2013-07-27T20:42:02Z | 2014-07-16T08:20:41Z |
BUG: fix period index object instantiation when joining with self | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 779ec9852118d..e9af4ccf50dc4 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -89,6 +89,9 @@ pandas 0.13
- Fixed bug with duplicate columns and type conversion in ``read_json`` when
``orient='split'`` (:issue:`4377`)
- Fix ... | This PR fixes an issue where joining a PeriodIndex with itself resulted in a
new object.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4379 | 2013-07-27T18:05:20Z | 2013-07-30T06:53:35Z | 2013-07-30T06:53:35Z | 2014-06-24T19:44:31Z |
BUG: to_json should raise exception for non-unique index / columns (#4359) | diff --git a/pandas/io/json.py b/pandas/io/json.py
index fff4d0085b18a..d3bea36b57e77 100644
--- a/pandas/io/json.py
+++ b/pandas/io/json.py
@@ -78,6 +78,9 @@ class SeriesWriter(Writer):
_default_orient = 'index'
def _format_axes(self):
+ if not self.obj.index.is_unique and self.orient == 'index':
+ ... | Issue #4359
to_json will raise ValueErrors where non-unique indices or columns would cause invalid JSON to be produced. Updated docstring and added some tests.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4376 | 2013-07-27T02:47:08Z | 2013-07-28T15:41:54Z | 2013-07-28T15:41:54Z | 2021-06-01T10:18:20Z |
BUG: Fixed passing keep_default_na=False when na_values=None (GH4318) | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 7cc6d6eecfd6c..2537d52df6dac 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -546,6 +546,53 @@ The ``thousands`` keyword allows integers to be parsed correctly
os.remove('tmp.csv')
+.. _io.na_values:
+
+NA Values
+~~~~~~~~~
+
+To control which v... | closes #4318
| https://api.github.com/repos/pandas-dev/pandas/pulls/4374 | 2013-07-26T19:03:05Z | 2013-07-30T00:07:39Z | 2013-07-30T00:07:39Z | 2014-06-16T23:53:36Z |
TST: Make network tests run twice | diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index 0dc80f59e4699..3e13f2bf223a5 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -692,7 +692,7 @@ def dec(f):
@optional_args
def network(t, raise_on_error=_RAISE_NETWORK_ERROR_DEFAULT,
- error_classes=_network_error_classe... | Might help with issues like #4242
cc @cpcloud
| https://api.github.com/repos/pandas-dev/pandas/pulls/4369 | 2013-07-26T02:11:22Z | 2013-07-26T15:23:06Z | 2013-07-26T15:23:06Z | 2014-07-02T21:24:23Z |
BUG: fix sum over integer frames | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 7b174611652de..225d4fde8d5c0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -54,6 +54,8 @@ pandas 0.13
representation of the index (:issue:`4136`)
- Fix running of stata IO tests. Now uses temporary files to write
(:iss... | closes #4365.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4366 | 2013-07-25T18:30:57Z | 2013-07-26T13:59:24Z | 2013-07-26T13:59:23Z | 2014-06-13T11:27:15Z |
World Bank I/O docs and minimal improvement | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 7dddc43b136cf..04f73f22610d1 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2584,3 +2584,123 @@ Tthe dataset names are listed at `Fama/French Data Library
import pandas.io.data as web
ip=web.DataReader("5_Industry_Portfolios", "famafrench")
... | - DOC: Simple example of how to use Pandas' World Bank IO functions.
- ENH: Return a DataFrame full of floats instead of full of strings
RE: https://github.com/pydata/pandas/issues/4354
| https://api.github.com/repos/pandas-dev/pandas/pulls/4364 | 2013-07-25T16:57:51Z | 2013-07-25T18:48:29Z | 2013-07-25T18:48:29Z | 2013-07-26T14:17:24Z |
Fix issue #4345: graphics test failure | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e9af4ccf50dc4..cf81456b73e54 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -74,6 +74,8 @@ pandas 0.13
(:issue:`4102`, :issue:`4014`) in ``*.hist`` plotting methods
- Fixed bug in ``PeriodIndex.map`` where using ``str`` woul... | closes #4345
The `test_time_series_plot_color_with_empty_kwargs` method in `test_graphics.py` uses the matplotlib default color cycle rather than 'r', 'g', and 'b'.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4360 | 2013-07-25T15:10:46Z | 2013-07-30T20:28:58Z | 2013-07-30T20:28:58Z | 2014-06-26T03:36:51Z |
TST/BUG/CLN: make stata IO tests use temporary files for writing | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6ad7436faae02..7b174611652de 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -52,6 +52,8 @@ pandas 0.13
(:issue:`4102`, :issue:`4014`) in ``*.hist`` plotting methods
- Fixed bug in ``PeriodIndex.map`` where using ``str`` woul... | closes #4353
| https://api.github.com/repos/pandas-dev/pandas/pulls/4356 | 2013-07-25T12:59:39Z | 2013-07-25T16:44:04Z | 2013-07-25T16:44:04Z | 2014-06-19T16:27:30Z |
ER: HDFStore raising an invalid TypeError rather than ValueError when appending with a diff block ordering (GH4096) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 55d0858ebbcde..54fa4d30bac0a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -44,6 +44,9 @@ pandas 0.13
**Bug Fixes**
+ - ``HDFStore`` raising an invalid ``TypeError`` rather than ``ValueError`` when appending
+ with a diffe... | related to #4096 (fixes error printing)
| https://api.github.com/repos/pandas-dev/pandas/pulls/4355 | 2013-07-25T12:16:24Z | 2013-07-25T12:28:33Z | 2013-07-25T12:28:33Z | 2014-07-16T08:20:23Z |
TST/BUG: make sure read_html tests work on python 2.6 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 99a51d476838c..37550f7ff5fb0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -61,6 +61,7 @@ pandas 0.13
(:issue:`4353`)
- Fixed an issue where ``DataFrame.sum`` was slower than ``DataFrame.mean``
for integer valued frame... | closes #4351.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4352 | 2013-07-25T03:35:07Z | 2013-07-26T23:56:38Z | 2013-07-26T23:56:37Z | 2014-06-23T07:28:09Z |
DOC/BUG: fix doc build error because a frame was being redefined | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 213a7ab659dae..d2f16c798fdb3 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -512,6 +512,12 @@ Selecting values from a DataFrame with a boolean critierion now also preserves
input data shape. ``where`` is used under the hood as ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4350 | 2013-07-25T01:16:29Z | 2013-07-25T02:00:36Z | 2013-07-25T02:00:36Z | 2014-06-26T11:47:45Z | |
DOC: correct release notes version | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 3afb92848b143..55d0858ebbcde 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -35,6 +35,9 @@ pandas 0.13
**Improvements to existing features**
+ - ``read_html`` now raises a ``URLError`` instead of catching and raising a
+ ``... | https://api.github.com/repos/pandas-dev/pandas/pulls/4349 | 2013-07-25T00:04:32Z | 2013-07-25T00:21:57Z | 2013-07-25T00:21:57Z | 2014-07-15T19:05:58Z | |
SQL file structure for legacy / sql alchemy | diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt
index ac77449b2df02..a61aeaefa8a26 100644
--- a/ci/requirements-2.6.txt
+++ b/ci/requirements-2.6.txt
@@ -4,3 +4,4 @@ python-dateutil==2.1
pytz==2013b
http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsoup4-4.2.0.tar.gz
html5lib==1.0... | First step for #4163, replacing my PR #4323 aimed at the master branch.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4333 | 2013-07-23T21:43:53Z | 2013-07-24T22:12:57Z | 2013-07-24T22:12:57Z | 2014-06-23T17:14:24Z |
TST: skip some tests if scikits is installed but not scipy GH3376 | diff --git a/pandas/stats/tests/test_moments.py b/pandas/stats/tests/test_moments.py
index 88dfcaf5ce7ae..6312a28595935 100644
--- a/pandas/stats/tests/test_moments.py
+++ b/pandas/stats/tests/test_moments.py
@@ -18,6 +18,11 @@
N, K = 100, 10
+def _skip_if_no_scipy():
+ try:
+ import scipy.stats
+ exc... | #3376
| https://api.github.com/repos/pandas-dev/pandas/pulls/4320 | 2013-07-22T20:42:44Z | 2013-07-25T01:15:06Z | 2013-07-25T01:15:06Z | 2014-07-16T08:20:11Z |
Added ind and bw_method kwargs to KdePlot | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 929c167cd1340..56d51183a1834 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -30,6 +30,10 @@ pandas 0.13
**Release date:** not-yet-released
**New features**
+ - ``plot(kind='kde')`` now accepts the optional parameters ``bw_metho... | Adds ability to set the bandwidth used for the kde and the indices at which it is evaluated. The first is passed to the bw_method kwarg for scipy.stats.gaussian_kde (for scipy >= 0.11.0); the second is passed to gkde.evaluate. For the case when scipy < 0.11.0 but bw_method is specified, bw_method is ignored (not passed... | https://api.github.com/repos/pandas-dev/pandas/pulls/4316 | 2013-07-22T14:42:51Z | 2013-08-26T19:14:23Z | 2013-08-26T19:14:23Z | 2014-06-26T17:39:32Z |
ENH: to_csv() date formatting | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 7776ee1efba4f..494b22c7ff403 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -60,6 +60,9 @@ New features
- Clipboard functionality now works with PySide (:issue:`4282`)
- New ``extract`` string method returns regex matches more... | This commit adds support for formatting datetime object output from to_csv()
closes #2583
``` python
In [3]: spx = DataReader('^GSPC', data_source='yahoo')
In [4]: spx.head()
Out[4]:
Open High Low Close Volume Adj Close
Date ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4313 | 2013-07-22T05:09:16Z | 2013-10-12T14:11:50Z | 2013-10-12T14:11:50Z | 2014-06-14T12:30:29Z |
TST: make sure test passes even if components link isn't present | diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py
index 849f79afe3855..e760ddff518f5 100644
--- a/pandas/io/tests/test_data.py
+++ b/pandas/io/tests/test_data.py
@@ -10,7 +10,7 @@
from pandas.io import data as web
from pandas.io.data import DataReader, SymbolWarning
from pandas.util.testing im... | closes #4309
| https://api.github.com/repos/pandas-dev/pandas/pulls/4310 | 2013-07-21T16:12:14Z | 2013-07-21T17:10:32Z | 2013-07-21T17:10:32Z | 2014-07-16T08:20:06Z |
ENH: add integer sheetname support in read_excel | diff --git a/doc/source/io.rst b/doc/source/io.rst
index c9a42f373ee6e..7dddc43b136cf 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1532,6 +1532,26 @@ advanced strategies
read_excel('path_to_file.xls', 'Sheet1', index_col=None, na_values=['NA'])
+.. versionadded:: 0.13
+
+There are now two way... | closes #4301
| https://api.github.com/repos/pandas-dev/pandas/pulls/4308 | 2013-07-20T22:02:54Z | 2013-07-25T14:25:01Z | 2013-07-25T14:25:01Z | 2014-06-26T17:59:33Z |
TST: change a small float comparison to np.allclose (GH4306) | diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py
index fbfac34f5073c..86aeecf169b28 100644
--- a/pandas/io/tests/test_json/test_ujson.py
+++ b/pandas/io/tests/test_json/test_ujson.py
@@ -106,7 +106,7 @@ def test_encodeDoubleTinyExponential(self):
num = -1e-45
... | closes #4306
| https://api.github.com/repos/pandas-dev/pandas/pulls/4307 | 2013-07-20T20:46:37Z | 2013-07-20T20:59:21Z | 2013-07-20T20:59:21Z | 2014-06-18T18:00:51Z |
CLN: let URLError fall through in pandas.io.html._read | diff --git a/doc/source/release.rst b/doc/source/release.rst
index f85f98a96fa1e..91fd854d54e85 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -111,6 +111,8 @@ pandas 0.12
of the default datetime.min and datetime.max (respectively), thanks @SleepingPills
- ``read_html`` now raises when no t... | https://api.github.com/repos/pandas-dev/pandas/pulls/4305 | 2013-07-20T17:05:06Z | 2013-07-25T00:00:01Z | 2013-07-25T00:00:01Z | 2014-06-13T08:22:58Z | |
BUG: explicity change nan -> NaT when assigning to datelike dtypes | diff --git a/pandas/core/common.py b/pandas/core/common.py
index ddacb98a2ddf3..eba0379a2c824 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -42,6 +42,7 @@ class AmbiguousIndexError(PandasError, KeyError):
_NS_DTYPE = np.dtype('M8[ns]')
_TD_DTYPE = np.dtype('m8[ns]')
_INT64_DTYPE = np.dtype(np.int... | closes #4292
essentially was doing a assignment of `np.nan` to a numpy array of dtype `datetime64[ns]`
which works correct (set's the value to `iNaT`) on little endian, for some reason on big
endian doesn't work, explicity change the `nan` to `iNaT`
| https://api.github.com/repos/pandas-dev/pandas/pulls/4302 | 2013-07-20T00:38:24Z | 2013-07-20T01:36:54Z | 2013-07-20T01:36:53Z | 2014-07-10T06:34:22Z |
ENH: expose ujson precise_float argument on decode | diff --git a/pandas/io/json.py b/pandas/io/json.py
index ce95c3394ce2c..c3e56a05f13b0 100644
--- a/pandas/io/json.py
+++ b/pandas/io/json.py
@@ -119,7 +119,8 @@ def _format_dates(self):
self.obj[c] = self._format_to_date(self.obj[c])
def read_json(path_or_buf=None, orient=None, typ='frame', dtyp... | The new version of ujson takes a boolean `precise_float` argument when decoding, this should be exposed when decoding pandas objects.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4300 | 2013-07-19T23:36:46Z | 2013-07-20T00:58:15Z | 2013-07-20T00:58:15Z | 2014-06-19T13:51:40Z |
ENH: ujson better handling of very large and very small numbers, throw ValueError for bad double_precision arg #4042 | diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py
index 19c482d8b3590..fbfac34f5073c 100644
--- a/pandas/io/tests/test_json/test_ujson.py
+++ b/pandas/io/tests/test_json/test_ujson.py
@@ -41,7 +41,7 @@ class UltraJSONTests(TestCase):
def test_encodeDecimal(self):
... | closes #4042
This makes ujson handle very big and very small numbers a bit better, it doesn't help with precision but it should at least be able to handle very small and large exponentials now:
```
In [4]: from pandas.json import dumps
In [5]: dumps(1e-5)
Out[5]: '0.00001'
In [6]: dumps(1e-6)
Out[6]: '0.000001'
In... | https://api.github.com/repos/pandas-dev/pandas/pulls/4299 | 2013-07-19T23:09:52Z | 2013-07-20T01:45:17Z | 2013-07-20T01:45:17Z | 2014-07-16T08:19:56Z |
Use psutil to set process affinity (test_perf.py) + minor pylint-friendliness for ._ix | diff --git a/README.rst b/README.rst
index 85868176722bd..da789e704ebad 100644
--- a/README.rst
+++ b/README.rst
@@ -99,8 +99,8 @@ Optional dependencies
- `BeautifulSoup4`_ and `html5lib`_ (Any recent version of `html5lib`_ is
okay.)
- - `BeautifulSoup4`_ and `lxml`_
- - `BeautifulSoup4`_ and `html... | please test test_perf.py -- I have rebased against master and had to resolve conflicts
Cheers,
| https://api.github.com/repos/pandas-dev/pandas/pulls/4296 | 2013-07-19T20:02:59Z | 2013-07-20T00:30:57Z | 2013-07-20T00:30:57Z | 2014-06-15T07:02:25Z |
DOC: Fix typo. | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 05f9111497c08..677284572ca6f 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1228,7 +1228,7 @@ You can get/set options directly as attributes of the top-level ``options`` attr
pd.options.display.max_rows
-There is also an API co... | Smallest PR ever.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4286 | 2013-07-18T13:36:31Z | 2013-07-19T01:50:27Z | 2013-07-19T01:50:27Z | 2014-07-16T08:19:50Z |
Update CONTRIBUTING.md with note on attribution in PRs | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9c9adba7edab4..24e26ecd8b431 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -78,6 +78,15 @@ your contribution or address the issue you're having.
- For extra brownie points, use "git rebase -i" to squash and reorder
commits in your PR so that the histo... | Issue raised by #4140.
Objections?
| https://api.github.com/repos/pandas-dev/pandas/pulls/4285 | 2013-07-18T12:02:08Z | 2013-07-18T21:04:36Z | 2013-07-18T21:04:36Z | 2014-07-16T08:19:49Z |
TST: ujson dont force endianness #4274 | diff --git a/pandas/io/tests/test_json/test_pandas.py b/pandas/io/tests/test_json/test_pandas.py
index e57eacc80647f..bc6ba1a45136c 100644
--- a/pandas/io/tests/test_json/test_pandas.py
+++ b/pandas/io/tests/test_json/test_pandas.py
@@ -145,7 +145,7 @@ def _check_all_orients(df, dtype=None, convert_axes=True, raise_ok=... | https://api.github.com/repos/pandas-dev/pandas/pulls/4284 | 2013-07-18T10:27:55Z | 2013-07-18T11:25:04Z | 2013-07-18T11:25:04Z | 2014-06-18T21:16:11Z | |
BUG: Fixed non-unique indexing memory allocation issue with .ix/.loc (GH4280) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index f3029cfe41349..b5871643f4c1d 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -235,7 +235,8 @@ pandas 0.12
names (:issue:`3873`)
- Bug in non-unique indexing via ``iloc`` (:issue:`4017`); added ``takeable`` argument to
... | closes #4280
Had a weird memory allocation scheme (that's why is a _scheme_!) when determining
a non-unique indexer. Fixed to use a dynamic schema
```
In [1]: columns = list('ABCDEFG')
def gen_test(l,l2):
return pd.concat([ DataFrame(randn(l,len(columns)),index=range(l),columns=columns),
... | https://api.github.com/repos/pandas-dev/pandas/pulls/4283 | 2013-07-18T02:41:10Z | 2013-07-18T03:00:27Z | 2013-07-18T03:00:27Z | 2014-07-09T17:56:10Z |
TST: add basic clipboard test | diff --git a/.travis.yml b/.travis.yml
index eecb4a1695fd6..7945ac945076f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,20 +3,20 @@ language: python
python:
- 2.6
-env:
- global:
- - NOSE_ARGS="not slow" UPLOAD=true
-
matrix:
include:
+ - python: 2.6
+ env: NOSE_ARGS="not slow" CLIPBOARD=xclip
... | https://api.github.com/repos/pandas-dev/pandas/pulls/4282 | 2013-07-18T02:10:08Z | 2013-07-25T22:06:17Z | 2013-07-25T22:06:17Z | 2014-06-18T01:09:04Z | |
BUG: fix data.py regression | diff --git a/doc/source/release.rst b/doc/source/release.rst
index f3029cfe41349..76a84d40400d0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -342,6 +342,8 @@ pandas 0.12
- Fixed bug in initializing ``DatetimeIndex`` with an array of strings
in a certain time zone (:issue:`4229`)
- Fixe... | get_data_famafrench was not returning any data because of an incorrect slice
and read + splitlines != readlines for zipfiles
| https://api.github.com/repos/pandas-dev/pandas/pulls/4281 | 2013-07-18T00:59:57Z | 2013-07-18T03:15:21Z | 2013-07-18T03:15:21Z | 2014-06-13T10:27:53Z |
TST/CI: remove html5lib from 3.2 build | diff --git a/ci/requirements-3.2.txt b/ci/requirements-3.2.txt
index 4b63fe3215973..e907a2fa828f1 100644
--- a/ci/requirements-3.2.txt
+++ b/ci/requirements-3.2.txt
@@ -2,7 +2,6 @@ python-dateutil==2.1
pytz==2013b
openpyxl==1.6.2
xlrd==0.9.2
-html5lib==1.0b2
numpy==1.6.2
cython==0.19.1
numexpr==2.1
| closes #4277
| https://api.github.com/repos/pandas-dev/pandas/pulls/4278 | 2013-07-17T13:41:04Z | 2013-07-17T20:26:01Z | 2013-07-17T20:26:01Z | 2014-07-16T08:19:39Z |
TST: properly skip html5lib | diff --git a/pandas/io/tests/test_html.py b/pandas/io/tests/test_html.py
index 2be8d15e3f960..a83d85b89846e 100644
--- a/pandas/io/tests/test_html.py
+++ b/pandas/io/tests/test_html.py
@@ -50,7 +50,7 @@ def _skip_if_none_of(module_names):
else:
not_found = [module_name for module_name in module_names if n... | closes #4275
| https://api.github.com/repos/pandas-dev/pandas/pulls/4276 | 2013-07-17T13:34:28Z | 2013-07-17T14:37:44Z | 2013-07-17T14:37:44Z | 2014-06-16T19:19:22Z |
TST/CI: add scikits.timeseries wheel back | diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt
index 34b48e1bd7802..6a94d48ad7a5f 100644
--- a/ci/requirements-2.7.txt
+++ b/ci/requirements-2.7.txt
@@ -12,7 +12,7 @@ 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... | closes #4268
| https://api.github.com/repos/pandas-dev/pandas/pulls/4270 | 2013-07-16T21:59:30Z | 2013-07-16T22:17:54Z | 2013-07-16T22:17:54Z | 2014-06-16T09:24:22Z |
CLN: define __hash__ directly for _NaT; needed for some builds on py3k | diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx
index eb1b460df0bca..3439e6bb37eb7 100644
--- a/pandas/tslib.pyx
+++ b/pandas/tslib.pyx
@@ -581,6 +581,10 @@ cdef inline bint is_timestamp(object o):
cdef class _NaT(_Timestamp):
+ def __hash__(_NaT self):
+ # py3k needs this defined here
+ return h... | closes #4266
| https://api.github.com/repos/pandas-dev/pandas/pulls/4269 | 2013-07-16T21:50:48Z | 2013-07-16T22:13:25Z | 2013-07-16T22:13:25Z | 2014-07-16T08:19:34Z |
TST: skip if no html5lib since bs4 needs it | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 3b7d25789aa40..f3029cfe41349 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -341,6 +341,7 @@ pandas 0.12
(:issue:`4226`)
- Fixed bug in initializing ``DatetimeIndex`` with an array of strings
in a certain time zone (:is... | closes #4265.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4267 | 2013-07-16T21:29:15Z | 2013-07-16T22:02:45Z | 2013-07-16T22:02:44Z | 2014-07-05T02:36:23Z |
BLD/TST/CI: add script to show skipped tests at the end of a build | diff --git a/.travis.yml b/.travis.yml
index 96dba262ebfb6..eecb4a1695fd6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,3 +49,4 @@ script:
after_script:
- ci/print_versions.py
+ - ci/print_skipped.py /tmp/nosetests.xml
diff --git a/ci/print_skipped.py b/ci/print_skipped.py
new file mode 100755
index 00000000... | closes #4261.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4262 | 2013-07-16T16:47:01Z | 2013-07-16T20:31:00Z | 2013-07-16T20:31:00Z | 2014-07-16T08:19:31Z |
TST/BLD: add proper skips for bad bs4 version | diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt
index 3873f56fa6070..ac77449b2df02 100644
--- a/ci/requirements-2.6.txt
+++ b/ci/requirements-2.6.txt
@@ -2,3 +2,5 @@ numpy==1.6.1
cython==0.19.1
python-dateutil==2.1
pytz==2013b
+http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsou... | Make sure things are being properly skipped because of a bad bs4 version.
Also adds a 4.2.0 known bad version of bs4 to 26 travis build so that we can verify that tests are being skipped when the version is bad.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4259 | 2013-07-16T14:31:36Z | 2013-07-16T21:29:53Z | 2013-07-16T21:29:53Z | 2014-07-16T08:19:30Z |
ENH: Dataframe isin2 | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index e8d9fd52cf352..213a7ab659dae 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -456,6 +456,39 @@ and :ref:`Advanced Indexing <indexing.advanced>` you may select along more than
df2.loc[criterion & (df2['b'] == 'x'),'b':'c']
... | fixes #4211, an alternative (on top of) #4237
DataFrame isin method:
```
In [11]: df = pd.DataFrame([['a', 'a', 'c'], ['b', 'e', 'a'], ['c', 'a', 'f']], columns=['A', 'A', 'B'])
In [12]: df
Out[12]:
A A B
0 a a c
1 b e a
2 c a f
In [13]: df.isin(['a'])
Out[13]:
A A B
0 True True ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4258 | 2013-07-16T13:32:27Z | 2013-07-24T21:45:38Z | 2013-07-24T21:45:38Z | 2014-06-20T16:16:29Z |
TST: no need for flavor testing in skip | diff --git a/pandas/io/tests/test_html.py b/pandas/io/tests/test_html.py
index d7c46ea898b33..ad6c2d215be32 100644
--- a/pandas/io/tests/test_html.py
+++ b/pandas/io/tests/test_html.py
@@ -43,9 +43,17 @@ def _skip_if_no(module_name):
def _skip_if_none_of(module_names):
if isinstance(module_names, basestring):
... | closes #4214, #4252, #4253
| https://api.github.com/repos/pandas-dev/pandas/pulls/4257 | 2013-07-16T13:15:20Z | 2013-07-16T14:19:22Z | 2013-07-16T14:19:22Z | 2014-06-28T10:41:40Z |
BUG: remove six import | diff --git a/pandas/core/reshape.py b/pandas/core/reshape.py
index 1b3aa0f962e10..cb34d0bad5df7 100644
--- a/pandas/core/reshape.py
+++ b/pandas/core/reshape.py
@@ -5,8 +5,6 @@
import numpy as np
-import six
-
from pandas.core.series import Series
from pandas.core.frame import DataFrame
@@ -691,7 +689,7 @@ def... | closes #4249
| https://api.github.com/repos/pandas-dev/pandas/pulls/4250 | 2013-07-16T00:07:26Z | 2013-07-16T13:19:21Z | 2013-07-16T13:19:21Z | 2014-07-12T05:11:20Z |
BLD: use mpl 1.1.1 in python 2.7 production travis build | diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt
index c39f5301c5d39..34b48e1bd7802 100644
--- a/ci/requirements-2.7.txt
+++ b/ci/requirements-2.7.txt
@@ -6,7 +6,7 @@ cython==0.19.1
bottleneck==0.6.0
numexpr==2.1
tables==2.3.1
-matplotlib==1.2.1
+matplotlib==1.1.1
openpyxl==1.6.2
xlrd==0.9.2
patsy==... | https://api.github.com/repos/pandas-dev/pandas/pulls/4248 | 2013-07-15T22:29:22Z | 2013-07-15T23:17:07Z | 2013-07-15T23:17:07Z | 2014-07-16T08:19:24Z | |
API: implement non-unique indexing in series (GH4246) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index de4cea17f6d99..3b7d25789aa40 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -235,6 +235,7 @@ pandas 0.12
names (:issue:`3873`)
- Bug in non-unique indexing via ``iloc`` (:issue:`4017`); added ``takeable`` argument to
... | closes #4246
```
In [3]: s = Series([1,2,3,4],['foo','bar','foo','bah'])
In [4]: s.ix[['foo','bar','bah','bam']]
Out[4]:
foo 1
foo 3
bar 2
bah 4
bam NaN
dtype: float64
In [5]: s[['foo','bar','bah','bam']]
Out[5]:
foo 1
foo 3
bar 2
bah 4
bam NaN
dtype: float64
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/4247 | 2013-07-15T21:55:08Z | 2013-07-15T22:56:02Z | 2013-07-15T22:56:02Z | 2014-06-25T22:17:51Z |
DOC: Fix typos in CONTRIBUTING.md | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7fdb1c53cc15b..9c9adba7edab4 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,6 +1,6 @@
###Guidelines
-All contributions, bug reports, bug fixes, documentation improvments,
+All contributions, bug reports, bug fixes, documentation improvements,
enhancemen... | Fix a few minor typos.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4243 | 2013-07-15T18:31:15Z | 2013-07-15T23:01:07Z | 2013-07-15T23:01:07Z | 2014-07-16T08:19:20Z |
CLN: replace __repr__ with __unicode__ for string printing (to use StringMixIn) | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index d6ad6aa0c351a..3c08213bf26d1 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -1293,7 +1293,7 @@ def __init__(self, values=None, kind=None, typ=None, cname=None, data=None, bloc
self.dtype_attr = u"%s_dtype" % self.name
... | https://api.github.com/repos/pandas-dev/pandas/pulls/4241 | 2013-07-15T12:59:23Z | 2013-07-15T13:14:13Z | 2013-07-15T13:14:13Z | 2014-07-16T08:19:19Z | |
BLD: use wheels and newer scipy bc of py33 scipy issue | diff --git a/ci/install.sh b/ci/install.sh
index 5c681a707ce49..1b7ec3f647763 100755
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -21,9 +21,8 @@ echo "inside $0"
pip install -I git+https://github.com/pypa/pip@42102e9deaea99db08b681d06906c2945f6f95e2#egg=pip
pv="${TRAVIS_PYTHON_VERSION:0:1}"
[ "$pv" == "2" ] && pv=""
-... | closes #4239 #4194
using scipy 0.10 for 2.7 builds and 0.12 for 3.2 and 3.3 builds
| https://api.github.com/repos/pandas-dev/pandas/pulls/4240 | 2013-07-15T03:51:42Z | 2013-07-15T04:02:51Z | 2013-07-15T04:02:51Z | 2014-07-03T21:40:16Z |
TST: remove fudgy ujson test #4223 | diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py
index f838f8b7ea15c..19c482d8b3590 100644
--- a/pandas/io/tests/test_json/test_ujson.py
+++ b/pandas/io/tests/test_json/test_ujson.py
@@ -92,17 +92,6 @@ def test_encodeDecodeLongDecimal(self):
encoded = ujson.dumps(s... | Removed ambiguous ujson test, see #4223, #4186.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4238 | 2013-07-14T23:54:55Z | 2013-07-15T01:07:52Z | 2013-07-15T01:07:52Z | 2014-06-16T17:36:41Z |
ENH: DataFrame isin | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index e8d9fd52cf352..4f8fc5e78ece3 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -456,6 +456,36 @@ and :ref:`Advanced Indexing <indexing.advanced>` you may select along more than
df2.loc[criterion & (df2['b'] == 'x'),'b':'c']
... | WIP for now.
See #4211 for more info.
A few things to check before this is ready to merge:
This is basically a convenience method. I use the `Series` method for each column passed, and aggregate the methods sensibly.
A few questions before merge though:
- Do we have a preference for `any`/`all` vs. `and`/`or`? Se... | https://api.github.com/repos/pandas-dev/pandas/pulls/4237 | 2013-07-14T14:21:47Z | 2013-07-24T21:45:47Z | 2013-07-24T21:45:47Z | 2014-06-23T00:41:35Z |
BUG: initialize DatetimeIndex with array of strings (#4229) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 2d9b3649b6f22..de4cea17f6d99 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -338,6 +338,8 @@ pandas 0.12
- Fixed the legend displaying in ``DataFrame.plot(kind='kde')`` (:issue:`4216`)
- Fixed bug where Index slices weren't ca... | Possibly a fix for #4229.
The rationale is that an array of strings should be handled in the same way as a list of strings (after applying `np.asarray(list)`), and I supposed that the list was handling the timezone correctly.
##
More in detail:
- handling of the list of strings: https://github.com/pydata/pandas/blob... | https://api.github.com/repos/pandas-dev/pandas/pulls/4234 | 2013-07-13T18:27:35Z | 2013-07-14T19:20:15Z | 2013-07-14T19:20:15Z | 2014-06-18T22:09:26Z |
PERF: Series slicing | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index deb9fa6d816d5..273b42d725a91 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -93,7 +93,6 @@
ensure_platform_int,
is_any_real_numeric_dtype,
is_bool_dtype,
- is_categorical_dtype,
is_dtype_eq... | ```
import pandas as pd
ser = pd.Series(range(300_000))
%timeit ser[:30]
29.2 µs ± 749 ns per loop (mean ± std. dev. of 7 runs, 10,000 loops each) # <- main
15.7 µs ± 459 ns per loop (mean ± std. dev. of 7 runs, 100,000 loops each) # <- PR
```
BTW in this branch, `__finalize__` takes 13.6% of the runtime i... | https://api.github.com/repos/pandas-dev/pandas/pulls/52145 | 2023-03-23T22:02:32Z | 2023-03-24T17:10:04Z | 2023-03-24T17:10:04Z | 2023-03-24T17:51:22Z |
API/BUG: Make `to_json` `index=` arg consistent with `orient` arg | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 36b2aa3c28da5..707baf959654a 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -92,12 +92,12 @@ Other enhancements
- Implemented ``__pandas_priority__`` to allow custom types to take precedence over :cl... | Updates `to_json` with less surprising behavior with the `index` arg:
- split and table allow index=True/False (as before)
- records and values only allow index=False
- index and columns only allow index=True
- raise for contradictions in the latter two and update messages
- add test
- [x] closes #25513, cl... | https://api.github.com/repos/pandas-dev/pandas/pulls/52143 | 2023-03-23T21:31:56Z | 2023-05-11T01:01:49Z | 2023-05-11T01:01:49Z | 2024-04-05T19:38:01Z |
DOC update contributors | diff --git a/doc/sphinxext/announce.py b/doc/sphinxext/announce.py
index 1c45c03f36d64..89361eb75606c 100755
--- a/doc/sphinxext/announce.py
+++ b/doc/sphinxext/announce.py
@@ -39,6 +39,9 @@
from git import Repo
+# Contributors to be renamed.
+CONTRIBUTOR_MAPPING = {"znkjnffrezna": "znetbgcubravk"}
+
UTF8Writer =... | In the Slack channel, a contributor has been requested to be renamed due to having changed their legal name
I think it's a reasonable request, we can just add a mapping within `announce.py` to map the old name to the new one (I've just encoded them to avoid hard-coding someone's name in a file) | https://api.github.com/repos/pandas-dev/pandas/pulls/52138 | 2023-03-23T10:31:49Z | 2023-04-12T19:10:12Z | 2023-04-12T19:10:12Z | 2023-04-12T19:10:12Z |
DOC: ddof in cov when nans present | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index a2e3b6fc10e43..e896369a1d876 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -10563,6 +10563,7 @@ def cov(
ddof : int, default 1
Delta degrees of freedom. The divisor used in calculations
is ``N - ddof``, ... | - [x] closes #47042
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/52137 | 2023-03-23T10:07:55Z | 2023-03-27T20:23:09Z | 2023-03-27T20:23:09Z | 2023-03-28T00:03:10Z |
BUG: change lxml remove to drop_tree (#51629) | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index a37bdf11c66bc..ee11777cfbe0c 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -196,6 +196,7 @@ MultiIndex
I/O
^^^
+- Bug in :func:`read_html`, tail texts were removed together with elements containi... | According to [this SO question](https://stackoverflow.com/questions/42932828/how-delete-tag-from-node-in-lxml-without-tail) `remove` method removes tail text. In order to preserve it the method was changed to `drop_tree`. Appropriate test was added.
- [x] closes #51629
- [x] [Tests added and passed](https://pandas.... | https://api.github.com/repos/pandas-dev/pandas/pulls/52135 | 2023-03-23T09:55:10Z | 2023-03-24T17:14:23Z | 2023-03-24T17:14:23Z | 2023-03-24T17:38:49Z |
REF: implement NDFrame._from_mgr | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index 1b2aa1d053240..f98a08810c3ff 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -735,7 +735,7 @@ def apply(self) -> DataFrame | Series:
with np.errstate(all="ignore"):
results = self.obj._mgr.apply("apply", func=se... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/52132 | 2023-03-23T03:07:30Z | 2023-06-25T20:23:17Z | 2023-06-25T20:23:17Z | 2023-06-25T20:56:57Z |
DEPR: Categorical.to_list, NDFrame.align broadcast_axis | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 706dcaa34366a..ba6e0bcce0bb4 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -104,11 +104,13 @@ Deprecations
- Deprecated the default of ``observed=False`` in :meth:`DataFrame.groupby` and :meth:`Seri... | - [x] closes #51254 (Replace xxxx with the GitHub issue number)
- [x] closes #51856
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-do... | https://api.github.com/repos/pandas-dev/pandas/pulls/52130 | 2023-03-23T01:13:41Z | 2023-03-23T15:37:12Z | 2023-03-23T15:37:12Z | 2023-03-23T15:50:48Z |
BUG, DEPR, PERF: GroupBy aggregations | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 706dcaa34366a..a300736f948c1 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -100,6 +100,7 @@ Deprecations
~~~~~~~~~~~~
- Deprecated silently dropping unrecognized timezones when parsing strings to d... | The BUG is failing to raise for dt64/period 'var'
The DEPR is for Groupby.any/all, which we already deprecated for Series/DataFrame with these dtypes
The PERF is for Categorical dtype raising cases, raising directly instead of going through the (copy-making) agg_py_fallback path | https://api.github.com/repos/pandas-dev/pandas/pulls/52128 | 2023-03-22T22:56:20Z | 2023-03-23T15:41:09Z | 2023-03-23T15:41:09Z | 2023-03-23T15:50:10Z |
Backport PR #52058 on branch 2.0.x (BUG: to_sql with ArrowExtesionArray) | diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py
index 98821549c915e..390eb33d6eefe 100644
--- a/pandas/core/arrays/arrow/array.py
+++ b/pandas/core/arrays/arrow/array.py
@@ -2075,7 +2075,10 @@ def _dt_round(
return self._round_temporally("round", freq, ambiguous, nonexistent)... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/52124 | 2023-03-22T20:22:45Z | 2023-03-22T23:19:30Z | 2023-03-22T23:19:30Z | 2023-03-22T23:19:36Z |
DEPR: Deprecate returning a DataFrame in SeriesApply.apply_standard | diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst
index daf5a0e481b8e..3a0aad41933bc 100644
--- a/doc/source/user_guide/cookbook.rst
+++ b/doc/source/user_guide/cookbook.rst
@@ -794,12 +794,12 @@ Apply
index=["I", "II", "III"],
)
- def SeriesFromSubList(aList):
- ... | - [x] closes #52116
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x]... | https://api.github.com/repos/pandas-dev/pandas/pulls/52123 | 2023-03-22T19:06:39Z | 2023-04-07T02:57:31Z | 2023-04-07T02:57:31Z | 2023-04-11T08:38:13Z |
Backport PR #52076 on branch 2.0.x (BUG: Fix regression when using Series with arrow string array) | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index 4025435f8d461..47f477a9a4e92 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -750,7 +750,6 @@ cpdef ndarray[object] ensure_string_array(
out = arr.astype(str).astype(object)
out[arr.isna()] = na_value
r... | #52076 | https://api.github.com/repos/pandas-dev/pandas/pulls/52121 | 2023-03-22T18:45:05Z | 2023-03-22T21:31:35Z | 2023-03-22T21:31:35Z | 2023-03-25T05:20:34Z |
PERF: Groupby aggregations with Categorical | diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py
index eb6dd3dbfe7c5..4f21d90ac5116 100644
--- a/pandas/core/groupby/ops.py
+++ b/pandas/core/groupby/ops.py
@@ -257,7 +257,7 @@ def _disallow_invalid_ops(self, dtype: DtypeObj, is_numeric: bool = False):
# don't go down a group-by-gr... | ```
import numpy as np
np.random.seed(94356)
import pandas as pd
arr = np.arange(5).repeat(10**5)
grps = np.random.randint(0, 3, size=arr.size)
cat = pd.Categorical(arr, ordered=True)
ser = pd.Series(cat)
gb = ser.groupby(grps)
%timeit gb.min()
5.4 ms ± 212 µs per loop (mean ± std. dev. of 7 runs, 100 l... | https://api.github.com/repos/pandas-dev/pandas/pulls/52120 | 2023-03-22T17:56:21Z | 2023-03-22T19:47:09Z | 2023-03-22T19:47:09Z | 2023-03-22T20:05:20Z |
Backport PR #52107 on branch 2.0.x (CI: Correctly set PANDAS_CI on ubuntu builds) | diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 5b0fc28fed837..b7ca0e45352e4 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -27,7 +27,6 @@ jobs:
env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml, actions-311.yaml]
pattern: ["n... | Backport PR #52107: CI: Correctly set PANDAS_CI on ubuntu builds | https://api.github.com/repos/pandas-dev/pandas/pulls/52119 | 2023-03-22T17:36:00Z | 2023-03-22T19:31:06Z | 2023-03-22T19:31:06Z | 2023-03-22T19:31:07Z |
BUG: `agg` with dictlike and non-unique col will return wrong type | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index afe361da1114d..4020660f2fd49 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -364,6 +364,7 @@ Groupby/resample/rolling
Reshaping
^^^^^^^^^
- Bug in :meth:`DataFrame.stack` losing extension dtypes wh... | - [x] closes #51099 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/52115 | 2023-03-22T10:44:16Z | 2023-04-11T16:25:45Z | 2023-04-11T16:25:45Z | 2023-04-12T00:27:51Z |
BUG: Fix getsizeof when using Series(obj) and taking into account GC corrections | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 479f6c4d8f69d..b1d721fb90bfb 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -257,6 +257,7 @@ Styler
Other
^^^^^
- Bug in :func:`assert_almost_equal` now throwing assertion error for two unequal set... | Calling __sizeof__ to compute the size of an object produces an error, and in general, this method does not take Garbage Collector corrections into account.
- [x] closes #51858
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a ... | https://api.github.com/repos/pandas-dev/pandas/pulls/52112 | 2023-03-22T02:49:31Z | 2023-03-24T16:50:17Z | 2023-03-24T16:50:17Z | 2023-03-24T16:50:24Z |
PERF: DatetimeIndex comparison with Timestamp mismatched resos | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index 90771eca6fdf1..3eb7159399bb3 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -957,10 +957,17 @@ def _cmp_method(self, other, op):
if not isinstance(other, type(self)):
... | - [x] closes #52080 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/52111 | 2023-03-21T23:02:11Z | 2023-03-24T12:16:50Z | 2023-03-24T12:16:50Z | 2023-03-24T16:06:34Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.