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 |
|---|---|---|---|---|---|---|---|
Add various display types for pivot table such as Excel | diff --git a/pandas/tools/pivot.py b/pandas/tools/pivot.py
index ef477582b82f2..c3924c5fd3244 100644
--- a/pandas/tools/pivot.py
+++ b/pandas/tools/pivot.py
@@ -16,7 +16,7 @@
@deprecate_kwarg(old_arg_name='cols', new_arg_name='columns')
@deprecate_kwarg(old_arg_name='rows', new_arg_name='index')
def pivot_table(data... | Excel offers several types of values display for a pivot table (ratio of row, ratio of column, ratio of total, difference with, cumulated sum ...)
This ticket aims to implement this option in the pivot table API. I implemented the three types cited above for a start.
I chose "display_value" for the argument name. One c... | https://api.github.com/repos/pandas-dev/pandas/pulls/9356 | 2015-01-26T06:43:31Z | 2015-04-04T19:07:54Z | null | 2023-05-11T01:12:49Z |
Value counts base | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index b0c5b11079f31..2073bff13fc46 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -22,6 +22,13 @@ New features
.. _whatsnew_0160.api:
+- ``value_counts`` accepts a base argument:
+
+ ..ipython::py... | rebase of #6632.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9355 | 2015-01-26T01:23:36Z | 2015-05-09T16:06:25Z | null | 2022-10-13T00:16:23Z |
ENH: StringMethods now supports ljust and rjust | diff --git a/doc/source/api.rst b/doc/source/api.rst
index a8097f2648c4b..f3843f26a9505 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -535,12 +535,14 @@ strings and apply several methods to it. These can be acccessed like
Series.str.get
Series.str.join
Series.str.len
+ Series.str.ljust
S... | Derived from #9111.
- Add `StringMethods.ljust` and `StringMethods.rjust` to be consistent with standard `str`.
- Add `fillchar` option to `StringMethods.pad` and `StringMethods.center` to be consistent with standard `str.center`
- https://docs.python.org/2/library/string.html#string.center
| https://api.github.com/repos/pandas-dev/pandas/pulls/9352 | 2015-01-25T13:12:41Z | 2015-01-29T11:12:01Z | 2015-01-29T11:12:01Z | 2015-01-29T23:28:30Z |
Changed uin8 to uint8 in response to issue #9266 | diff --git a/.travis.yml b/.travis.yml
index 6c4d6897a69de..0d143d7f7133b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,7 @@ matrix:
- LOCALE_OVERRIDE="it_IT.UTF-8"
- BUILD_TYPE=conda
- JOB_NAME: "26_nslow_nnet"
+ - INSTALL_TEST=true
- python: 2.7
env:
- NOSE_ARGS=... | closes #9266
| https://api.github.com/repos/pandas-dev/pandas/pulls/9350 | 2015-01-24T21:16:23Z | 2015-07-15T12:42:57Z | null | 2015-07-15T12:42:57Z |
Fix gbq client to only return results when jobCompleted is True. | diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py
index 572a8be5c65e8..1b39bceed30ad 100644
--- a/pandas/io/gbq.py
+++ b/pandas/io/gbq.py
@@ -185,7 +185,7 @@ def run_query(self, query):
job_reference = query_reply['jobReference']
- while(not 'jobComplete' in query_reply):
+ while(not 'jobCompl... | When polling for a long-running gbq job to determine if it is complete, we should only return results once `query_results['jobCompleted']` is `True`, not just when the `jobCompleted` key exists. Otherwise, the gbq client thinks results exist and it will start attempting to parse the results, leading to a weird KeyErro... | https://api.github.com/repos/pandas-dev/pandas/pulls/9348 | 2015-01-23T23:15:05Z | 2015-01-23T23:40:28Z | null | 2015-01-23T23:40:41Z |
Categorical: don't sort the categoricals if Categorical(..., ordered=False) | diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py
index fe8b1079f0942..8d7d8e2dbb947 100644
--- a/pandas/core/categorical.py
+++ b/pandas/core/categorical.py
@@ -268,7 +268,7 @@ def __init__(self, values, categories=None, ordered=None, name=None, fastpath=Fa
if categories is None:
... | In https://github.com/mwaskom/seaborn/issues/361 it was discussed that lexicographical sorting the categories is only appropiate if an order is specified/implied. If this is explicitly not done, e.g. with `Categorical(..., ordered=False)` then the order should be taken from the order of appearance, similar to the curre... | https://api.github.com/repos/pandas-dev/pandas/pulls/9347 | 2015-01-23T21:58:53Z | 2015-03-07T23:14:32Z | null | 2016-04-03T18:40:32Z |
BUG: Fixes GH9311 groupby on datetime64 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9e1546f5e50a9..cd7cdbb645686 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -187,6 +187,8 @@ Bug Fixes
- Bug in the returned ``Series.dt.components`` index was reset to the default index (:issue:... | datetime64 columns were changing at the nano-second scale when
applying a groupby aggregator.
closes #9311
closes #6620
| https://api.github.com/repos/pandas-dev/pandas/pulls/9345 | 2015-01-23T16:36:04Z | 2015-02-14T03:10:28Z | 2015-02-14T03:10:28Z | 2015-02-14T04:48:51Z |
Add lag parameter to autocorrelation | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index b3ac58a9fb84a..74a37d90bc35f 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -104,7 +104,7 @@ Enhancements
- Added ``Series.str.slice_replace()``, which previously raised NotImplementedError (:iss... | Add lag parameter to autocorrelation, default to lag-1 autocorrelation
so existing code will work unchanged.
This is effectively reopening issue #9192
| https://api.github.com/repos/pandas-dev/pandas/pulls/9339 | 2015-01-22T18:44:10Z | 2015-01-29T11:17:51Z | null | 2015-01-29T11:17:51Z |
GH 9016: Bitwise operation weirdness | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9485ef18dbd6f..d9a4e3895c8b7 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -88,6 +88,35 @@ Backwards incompatible API changes
The prior style can be achieved with matplotlib's `axhline` or `axvl... | Series now supports bitwise op for integral types.
I have made the changes in wrapper() itself instead of na_op() because it looked to me like wrapper is controlling the input and output fill and dtype. Once that is taken care of, na_op() seems to be doing the right thing by itself and so I did not have to change any... | https://api.github.com/repos/pandas-dev/pandas/pulls/9338 | 2015-01-22T18:30:00Z | 2015-02-05T11:37:26Z | 2015-02-05T11:37:26Z | 2015-02-05T16:54:48Z |
Fix missing text on Index documentation page. | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 1b4a691851a8a..9464e6de92721 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -1583,7 +1583,7 @@ def map(self, mapper):
def isin(self, values, level=None):
"""
Compute boolean array of whether each index value is found ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9335 | 2015-01-22T15:16:03Z | 2015-03-05T23:29:43Z | 2015-03-05T23:29:43Z | 2022-03-15T10:04:21Z | |
Fix docs in groupby.tail | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index cb5dedc887bca..fe130dbd5736b 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -997,16 +997,16 @@ def tail(self, n=5):
Examples
--------
- >>> df = DataFrame([[1, 2], [1, 4], [5, 6]],
+ >>> df = DataFr... | The old docs is wrong where head() & tail() return the same result.
Change input of the example to see group data clearer.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9333 | 2015-01-22T11:06:37Z | 2015-02-04T07:34:03Z | 2015-02-04T07:34:03Z | 2015-02-04T14:57:51Z |
FIX: Fixed some issues around vb_suite | diff --git a/vb_suite/groupby.py b/vb_suite/groupby.py
index 26311920ec861..27a442ece1281 100644
--- a/vb_suite/groupby.py
+++ b/vb_suite/groupby.py
@@ -559,3 +559,6 @@ def inject_bmark_into_globals(bmark):
for func_name in no_arg_func_list:
bmark = make_large_ngroups_bmark(ngroups, func_name)
in... | I'm new to vb_suite, and ran following command according to [this document](https://github.com/pydata/pandas/wiki/Performance-Testing).
```
./test_perf.sh -b master -t HEAD
```
But I got some errors (`InvalidGitRepositoryError` and Benchmark duplication errors), and finally I got tests run by fixing following issues.... | https://api.github.com/repos/pandas-dev/pandas/pulls/9332 | 2015-01-22T06:29:13Z | 2015-01-22T23:54:43Z | 2015-01-22T23:54:43Z | 2015-01-22T23:55:04Z |
BUG: don't sort unique values from categoricals | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 238a838cf727e..d1bfb21769ab1 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -193,6 +193,8 @@ Bug Fixes
SQLAlchemy type (:issue:`9083`).
+- Items in ``Categorical.unique()`` (and ``s.unique... | This should resolve the inconsistency @mwaskom reported in #9148.
CC @jreback @TomAugspurger @JanSchulz
| https://api.github.com/repos/pandas-dev/pandas/pulls/9331 | 2015-01-22T02:36:03Z | 2015-02-13T00:42:02Z | 2015-02-13T00:42:02Z | 2015-02-13T00:42:40Z |
ENH/DOC: reimplement Series delegates/accessors using descriptors | diff --git a/doc/_templates/autosummary/accessor_attribute.rst b/doc/_templates/autosummary/accessor_attribute.rst
new file mode 100644
index 0000000000000..e38a9f22f9d99
--- /dev/null
+++ b/doc/_templates/autosummary/accessor_attribute.rst
@@ -0,0 +1,6 @@
+{{ fullname }}
+{{ underline }}
+
+.. currentmodule:: {{ modul... | Fixes #9184
This PR fixes the API docs to use `Series.str` and `Series.dt` instead of `StringMethods` and `DatetimeProperties`.
It will need a rebase once #9318 is merged.
CC @jorisvandenbossche @jreback
| https://api.github.com/repos/pandas-dev/pandas/pulls/9322 | 2015-01-21T07:51:49Z | 2015-01-25T20:06:58Z | 2015-01-25T20:06:58Z | 2015-03-10T06:47:48Z |
ENH: plot method accessors | diff --git a/doc/_templates/autosummary/accessor_callable.rst b/doc/_templates/autosummary/accessor_callable.rst
new file mode 100644
index 0000000000000..6f45e0fd01e16
--- /dev/null
+++ b/doc/_templates/autosummary/accessor_callable.rst
@@ -0,0 +1,6 @@
+{{ fullname }}
+{{ underline }}
+
+.. currentmodule:: {{ module.s... | Fixes #9124
This PR adds plotting sub-methods like `df.plot.scatter()` as an alternative to using `df.plot(kind='scatter')`.
I've added meaningful function signatures and documentation for a few of these methods, but I would greatly appreciate help to fill in the rest -- this is a lot of documentation to assemble/rec... | https://api.github.com/repos/pandas-dev/pandas/pulls/9321 | 2015-01-21T07:09:09Z | 2015-09-11T04:42:33Z | 2015-09-11T04:42:33Z | 2015-09-11T19:53:48Z |
DOC: delete removed Timedelta properties (see GH9257) from API overview | diff --git a/doc/source/api.rst b/doc/source/api.rst
index b6fd14f425bd0..9d40fe9114f97 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -498,10 +498,7 @@ Due to implementation details the methods show up here as methods of the
:toctree: generated/
TimedeltaProperties.days
- TimedeltaProperties.h... | Related to #9257. The removed TimedeltaProperties were not removed from the api.rst overview.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9318 | 2015-01-20T20:20:35Z | 2015-01-21T08:43:49Z | 2015-01-21T08:43:49Z | 2015-01-21T08:43:49Z |
Doc: API docstrings for indexers (GH6920) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 7fa64e0b4ca91..6101d11e98b37 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1034,7 +1034,7 @@ def _indexer(self):
setattr(self, iname, i)
return i
- setattr(cls, name, property(_in... | WIP
Closes #6920
For now, I just copied the relevant parts of the tutorial docs (in indexing.rst).
I should also include `__getitem__` for `[]`
| https://api.github.com/repos/pandas-dev/pandas/pulls/9316 | 2015-01-20T19:35:04Z | 2015-03-05T23:30:27Z | 2015-03-05T23:30:26Z | 2015-03-05T23:31:16Z |
DOC: update install.rst, required version of dateutil is 1.5 or higher G... | diff --git a/doc/source/install.rst b/doc/source/install.rst
index 0331e8a47903c..dd9021d0439dc 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -248,7 +248,7 @@ Dependencies
------------
* `NumPy <http://www.numpy.org>`__: 1.7.0 or higher
-* `python-dateutil <http://labix.org/python-dateutil>`__... | Just show in the docs that required version of dateutil is >= 1.5 (#9305)
| https://api.github.com/repos/pandas-dev/pandas/pulls/9310 | 2015-01-20T15:12:16Z | 2015-01-20T15:14:55Z | 2015-01-20T15:14:55Z | 2015-01-20T20:03:54Z |
BUG: 0/frame numeric ops buggy (GH9144) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index cd7cdbb645686..3d82ba1f1b265 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -131,6 +131,37 @@ methods (:issue:`9088`).
dtype: int64
+- During division involving a ``Series`` or ``DataFram... | closes #9144
closes #8445
---
Here's the results from testing the vbenches related to DataFrames (I also added 6 vbenches).
```
Invoked with :
--ncalls: 10
--repeats: 10
-------------------------------------------------------------------------------
Test name | head[ms] | base[m... | https://api.github.com/repos/pandas-dev/pandas/pulls/9308 | 2015-01-20T07:28:48Z | 2015-02-16T12:35:24Z | 2015-02-16T12:35:23Z | 2018-01-21T09:03:00Z |
Fix plotting memory leak | diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt
index 7166801b3fbf0..d36f094ae00cd 100755
--- a/doc/source/whatsnew/v0.16.1.txt
+++ b/doc/source/whatsnew/v0.16.1.txt
@@ -141,7 +141,6 @@ Bug Fixes
-
- Bug in unequal comparisons between categorical data and a scalar, which was not in... | This PR resolves #9003 (and explains matplotlib/matplotlib#3892). The root cause of the memory leak is a reference cycle between `MPLPlot` objects and the `AxesSubplot` objects they create.
Specifically, a `plotf` function object is stored in `ax._plot_data` for the purposes of potentially redrawing if the data needs ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9307 | 2015-01-20T05:41:04Z | 2015-04-19T23:29:18Z | null | 2023-05-11T01:12:48Z |
BUG 9188: concat of all-nan with empty frame produces object dtype | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index f4abe05097cff..587c5d32f9183 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -4098,7 +4098,7 @@ def get_empty_dtype_and_na(join_units):
# Null blocks should not influence upcast class selection, unless there
... | My first stab at this issue. Would wait for comments and inputs. This is the behavior without the fix.
```
In [4]: df_1 = pd.DataFrame({"Row":[0,1,1], "EmptyCol":np.nan, "NumberCol":[1,2,3]})
In [5]: df_2 = pd.DataFrame(columns = df_1.columns)
In [6]: df_concat = pd.concat([df_1, df_2], axis=0)
In [7]: df_1.dtypes
... | https://api.github.com/repos/pandas-dev/pandas/pulls/9303 | 2015-01-19T17:51:58Z | 2015-01-22T21:28:30Z | null | 2015-01-22T21:29:00Z |
BUG: Fixes #9281: fixes to tseries.tests.test_tslib.TestTimestamp | diff --git a/pandas/tseries/tests/test_tslib.py b/pandas/tseries/tests/test_tslib.py
index 945458de22d2c..8140d289f8c8a 100644
--- a/pandas/tseries/tests/test_tslib.py
+++ b/pandas/tseries/tests/test_tslib.py
@@ -338,9 +338,11 @@ def test_now(self):
# Check that the delta between the times is less than 1s (a... | closes #9281
The last test of both test_now and test_today was passing for anyone with a timezone
of UTC-5 or greater (but failed, for example, in US/Pacific). The test was not
testing what the original author meant it to (which is that the times are very close
together) so I added abs(.) around the Timedeltas and a... | https://api.github.com/repos/pandas-dev/pandas/pulls/9296 | 2015-01-19T09:26:05Z | 2015-01-19T12:14:11Z | 2015-01-19T12:14:11Z | 2015-01-19T19:32:00Z |
Update plotting.py (issue #2916) | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index 9919415b06546..34db4877d77f0 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -2906,6 +2906,7 @@ def boxplot_frame_groupby(grouped, subplots=True, column=None, fontsize=None,
fontsize : int or string
rot : label rota... | Added ax docstring.
Address issue generated by `scripts/find_undoc_args.py`:
[+2892 tools/plotting.py boxplot_frame_groupby()](https://github.com/pydata/pandas/blob/master/pandas/tools/plotting.py#L2892): Missing[1/9]=['ax']
| https://api.github.com/repos/pandas-dev/pandas/pulls/9293 | 2015-01-19T04:45:17Z | 2015-01-19T09:33:27Z | 2015-01-19T09:33:27Z | 2015-01-19T09:33:44Z |
TST: tests for GH4862, GH7401, GH7403, GH7405 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index b0c5b11079f31..6082a58687c2c 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -146,7 +146,7 @@ Bug Fixes
- Fixed bug on bug endian platforms which produced incorrect results in ``StataReader`` (:is... | closes https://github.com/pydata/pandas/issues/4862
closes https://github.com/pydata/pandas/issues/7401
closes https://github.com/pydata/pandas/issues/7403
closes https://github.com/pydata/pandas/issues/7405
minor code change to https://github.com/pydata/pandas/pull/9061; otherwise only tests. the code change is to av... | https://api.github.com/repos/pandas-dev/pandas/pulls/9292 | 2015-01-18T23:28:06Z | 2015-01-26T01:29:07Z | 2015-01-26T01:29:07Z | 2015-02-13T01:59:02Z |
BUG: Adding nano offset raises TypeError | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index b3ac58a9fb84a..16882c572f48e 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -152,6 +152,9 @@ Bug Fixes
+- Bug in adding ``offsets.Nano`` to other offets raises ``TypeError`` (:issue:`9284`)
... | Closes #9284.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9291 | 2015-01-18T13:34:15Z | 2015-01-25T18:41:40Z | 2015-01-25T18:41:40Z | 2015-01-31T02:57:19Z |
GH 9273: Timedelta constructor should accept nanoseconds keyword. | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 18c55e38ab7af..01e6170413187 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -101,6 +101,7 @@ Enhancements
- Added ``Timestamp.to_datetime64()`` to complement ``Timedelta.to_timedelta64()`` (:issu... | closes #9273
This patch adds nanoseconds keyword support in Timedelta constructor.
<pre>
In [1]: from pandas import Timedelta
In [2]: td = Timedelta(nanoseconds=1)
In [3]: td1 = Timedelta(microseconds=1)
In [4]: td.components
Out[4]: Components(days=0, hours=0, minutes=0, seconds=0, milliseconds=0, microseconds=0... | https://api.github.com/repos/pandas-dev/pandas/pulls/9289 | 2015-01-18T05:56:43Z | 2015-01-19T03:17:20Z | 2015-01-19T03:17:20Z | 2015-01-19T06:47:47Z |
ENH: Corrects to_html print spacing GH4987 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 2db455272363b..b35d1f87f2560 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -21,6 +21,11 @@ New features
~~~~~~~~~~~~
.. _whatsnew_0160.api:
+API changes
+~~~~~~~~~~~
+
+-Changed ``.to_html`` ... | Closes #4987
This is my first non-doc PR, so please bare with me. Is it worth my while to go through the tests and standarize all of the test HTML to all block-strings, or is the mix of individual lines/blocks ok?
| https://api.github.com/repos/pandas-dev/pandas/pulls/9285 | 2015-01-17T16:32:01Z | 2015-03-06T23:06:34Z | null | 2015-03-23T13:55:59Z |
BUG: where coerces numeric to str incorrectly | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 2db455272363b..d8fc10dd54e8c 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -187,6 +187,8 @@ Bug Fixes
- Bug in read_csv when using skiprows on a file with CR line endings with the c engine. (:is... | Closes #9280.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9283 | 2015-01-17T10:35:48Z | 2015-01-18T20:36:40Z | 2015-01-18T20:36:40Z | 2015-01-19T14:31:31Z |
ENH: StringMethods supports is_xxx methods | diff --git a/doc/source/api.rst b/doc/source/api.rst
index a8097f2648c4b..4fc9df52a4300 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -549,6 +549,13 @@ strings and apply several methods to it. These can be acccessed like
Series.str.strip
Series.str.title
Series.str.upper
+ Series.str.isalnum... | Derived from #9111.
Add following methods to be compat with standard `str`.
- StringMethods.isalnum
- StringMethods.isalpha
- StringMethods.isdigit
- StringMethods.isspace
- StringMethods.islower
- StringMethods.isupper
- StringMethods.istitle
| https://api.github.com/repos/pandas-dev/pandas/pulls/9282 | 2015-01-17T10:07:19Z | 2015-01-29T11:10:35Z | 2015-01-29T11:10:35Z | 2015-01-29T23:28:37Z |
BUG: Subplotting boxplot shows unnecessary warnings | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 2db455272363b..53ed040860269 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -172,7 +172,7 @@ Bug Fixes
-
+- Bug in boxplot, scatter and hexbin plot may show an unnecessary warning (:issue:`8... | Related to #8877 and 80a730c93717e7fc01ae2f880109bc752519cecf
Because `legend=True` is default, `DataFrame.plot(kind='box', subplots=True)` shows unnecessary warnings.
```
# OK, no legend / no warnings
df.plot(kind='box')
```
```
# NG: no legend and warnings
df.plot(kind='box', subplots=True)
# UserWarning: No label... | https://api.github.com/repos/pandas-dev/pandas/pulls/9278 | 2015-01-17T02:24:35Z | 2015-01-18T13:24:08Z | 2015-01-18T13:24:08Z | 2015-01-19T14:37:26Z |
allow for empty SparseSeries SparsePanel constructors | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index b3ac58a9fb84a..9c9644509b964 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -202,3 +202,6 @@ Bug Fixes
- Fixed issue in the ``xlsxwriter`` engine where it added a default 'General' format to cell... | Closes #9272.
Note that my solution is to provide a default `data=[]` for SparseSeries and `frames={}` for SparsePanel. This differs from the dense implementations that have `None` defaults that are then changed to the above. Doesn't seem like a big deal to me, but I can do that here if needed.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9277 | 2015-01-16T21:34:05Z | 2015-01-29T11:33:13Z | null | 2015-01-29T11:33:13Z |
TST: Remove tests using proprietary data | diff --git a/pandas/io/tests/test_stata.py b/pandas/io/tests/test_stata.py
index f0ebebc1f143f..f896b98fddf5b 100644
--- a/pandas/io/tests/test_stata.py
+++ b/pandas/io/tests/test_stata.py
@@ -20,14 +20,11 @@
PossiblePrecisionLoss, StataMissingValue)
import pandas.util.testing as tm
from pandas.tslib import NaT
... | Removes three tests that use proprietary data that is not available for testing.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9271 | 2015-01-16T15:10:36Z | 2015-01-18T20:41:28Z | 2015-01-18T20:41:27Z | 2015-01-18T22:42:19Z |
FIX: Add endianness missing flag when reading data | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index b221a7df373a4..f4b0024f5d5b8 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -99,7 +99,7 @@ Bug Fixes
-
+- Fixed bug on bug endian platforms which produced incorrect results in ``StataReader`... | Added endianess flat to data type to allow data to be read cross platforms
closes #8688
| https://api.github.com/repos/pandas-dev/pandas/pulls/9264 | 2015-01-15T20:14:19Z | 2015-01-16T15:10:44Z | 2015-01-16T15:10:44Z | 2015-01-18T22:42:19Z |
API/ENH: add method='nearest' to Index.get_indexer/reindex and method to get_loc | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 7ee82cd69a257..dc43c1177f8c3 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -948,15 +948,9 @@ chosen from the following table:
pad / ffill, Fill values forward
bfill / backfill, Fill values backward
+ nearest, Fill from t... | Fixes #8845
Currently only an index method; I'm open to ideas for how to expose it more
directly -- maybe `df.loc_nearest`?.
In particular, I think this is usually a more useful way to do indexing for
floats than pandas's reindex based `.loc`, because floats are inherently
imprecise.
CC @jreback @jorisvandenbossche ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9258 | 2015-01-15T05:53:32Z | 2015-02-23T18:30:41Z | 2015-02-23T18:30:41Z | 2015-04-13T22:55:42Z |
API: restore full datetime.timedelta compat with Timedelta w.r.t. seconds/microseconds accessors (GH9185, GH9139) | diff --git a/doc/source/timedeltas.rst b/doc/source/timedeltas.rst
index 1ad5492efe61a..d6b99770ad4f9 100644
--- a/doc/source/timedeltas.rst
+++ b/doc/source/timedeltas.rst
@@ -251,8 +251,13 @@ yields another ``timedelta64[ns]`` dtypes Series.
Attributes
----------
-You can access various components of the ``Timede... | closes #9185
closes #9139
| https://api.github.com/repos/pandas-dev/pandas/pulls/9257 | 2015-01-15T02:34:37Z | 2015-01-16T16:54:46Z | 2015-01-16T16:54:45Z | 2015-01-16T17:01:13Z |
BUG: bug in multi-index where insert fails | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 5ec0e90383f4c..cd3a3f6e38d98 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -103,6 +103,7 @@ Bug Fixes
- Bug in ``MultiIndex.has_duplicates`` when having many levels causes an indexer overflow (:... | closes https://github.com/pydata/pandas/issues/9250
on master:
```
>>> df
3rd
1st 2nd
a b 0
b d 1
>>> df.loc[('b', 'x'), '3rd'] = 2 # this works!
>>> df
3rd
1st 2nd
a b 0
b d 1
x 2
>>> df.loc[('b', 'a'), '3rd'] = -1 # fails! sets everything to -1
>>> ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9256 | 2015-01-15T01:16:58Z | 2015-01-16T12:51:42Z | 2015-01-16T12:51:42Z | 2015-01-17T11:33:53Z |
ENH: add Timestamp.to_datetime64 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 5ec0e90383f4c..1528747891c64 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -63,6 +63,7 @@ Enhancements
- Paths beginning with ~ will now be expanded to begin with the user's home directory (:iss... | This PR adds a `Timestamp.to_datetime64()` method to complement the `Timedelta.to_timedelta64()` method I added in #8884. It is a continuation of the aborted #8916.
Arguably, there should also be the alias `Timestamp.values` to complement the series property but I haven't added that yet.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9255 | 2015-01-15T00:47:10Z | 2015-01-15T04:43:11Z | 2015-01-15T04:43:11Z | 2015-01-15T04:43:16Z |
BUG: Bug in the returned Series.dt.components index was reset to the default index (GH9247) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 365b4ab7ac9d9..5ec0e90383f4c 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -86,7 +86,7 @@ Bug Fixes
- Fixed issue using `read_csv` on s3 with Python 3.
- Fixed compatibility issue in ``Datetime... | closes #9247
| https://api.github.com/repos/pandas-dev/pandas/pulls/9248 | 2015-01-14T13:55:39Z | 2015-01-14T14:39:57Z | 2015-01-14T14:39:57Z | 2015-01-14T14:39:57Z |
FIX: Fix encoding to allow StataReader to read urls | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 1528747891c64..b221a7df373a4 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -106,7 +106,7 @@ Bug Fixes
- Bug in left ``join`` on multi-index with ``sort=True`` or null values (:issue:`9210`).
... | Fix encoding so that StataReader can correctly read URLs
closes #9231
| https://api.github.com/repos/pandas-dev/pandas/pulls/9245 | 2015-01-14T03:43:56Z | 2015-01-16T12:48:10Z | 2015-01-16T12:48:10Z | 2015-01-18T22:42:19Z |
API: Add DataFrame.assign method | diff --git a/doc/source/_static/whatsnew_assign.png b/doc/source/_static/whatsnew_assign.png
new file mode 100644
index 0000000000000..0e39e161dc606
Binary files /dev/null and b/doc/source/_static/whatsnew_assign.png differ
diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index dc43c1177f8c3..8e78ac597479b 10... | Closes https://github.com/pydata/pandas/issues/9229
signature: `DataFrame.transform(**kwargs)`
- the keyword is the name of the new column (existing columns are overwritten if there's a name conflict, as in dplyr)
- the value is either
- called on self if it's callable. The callable should be a function of 1 argumen... | https://api.github.com/repos/pandas-dev/pandas/pulls/9239 | 2015-01-13T13:32:24Z | 2015-03-01T14:51:09Z | 2015-03-01T14:51:09Z | 2017-04-05T02:06:15Z |
DOC: Small syntax change to indexing.rst to address GH8686. | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index f56e0d22b25a7..5ab72f633f49b 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -71,8 +71,7 @@ Object selection has had a number of user-requested additions in order to
support more explicit location based indexing. pandas now supp... | Brings indexing.rst docs for .loc into line with .iloc. Closes https://github.com/pydata/pandas/issues/8686.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9238 | 2015-01-13T02:54:36Z | 2015-01-13T08:09:37Z | 2015-01-13T08:09:37Z | 2015-01-13T08:09:48Z |
BUG: fix DataFrame constructor w named Series | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index fcf18e6c1cf94..6a8add9e375be 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -367,6 +367,13 @@ The behavior of a small sub-set of edge cases for using ``.loc`` have changed (:
In [4]: df.loc[... | closes #7893
Closes https://github.com/pydata/pandas/issues/9232
Problem was passing Series w/ a name to DataFrame w/ the `columns` kwarg.
Before:
``` python
In [55]: x = pd.Series(range(5), name=1)
In [56]: y = pd.Series(range(5), name=0)
In [57]: pd.DataFrame(x, columns=[0])
Out[57]:
Empty DataFrame
Columns: [0... | https://api.github.com/repos/pandas-dev/pandas/pulls/9237 | 2015-01-13T02:03:58Z | 2015-10-19T13:10:55Z | null | 2023-05-11T01:12:47Z |
DOC: update docstring of DataFrame.append | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index ea7896b0352a5..46f284f22c82e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2726,8 +2726,8 @@ def duplicated(self, subset=None, take_last=False):
Only consider certain columns for identifying duplicates, by
defaul... | I always thought that `append` was for appending rows, not columns. So, unless I am completely missing something, the docstring was saying the wrong thing.
So I reworded it a bit, see below.
Apart from that, there were some other things that are not fully clear to me in the docstring:
- The docstring says that `other... | https://api.github.com/repos/pandas-dev/pandas/pulls/9234 | 2015-01-12T21:11:42Z | 2015-01-19T13:58:48Z | 2015-01-19T13:58:48Z | 2015-01-19T13:58:49Z |
COMPAT: Need to read Bytes on Python | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 6e93535451fbc..365b4ab7ac9d9 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -83,6 +83,7 @@ Bug Fixes
.. _whatsnew_0160.bug_fixes:
+- Fixed issue using `read_csv` on s3 with Python 3.
- Fixed... | Reading from s3 on Python 3 returns a Bytes object.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9230 | 2015-01-12T17:38:48Z | 2015-01-12T22:30:32Z | 2015-01-12T22:30:32Z | 2015-01-12T22:30:38Z |
TST: Clean test_format.py | diff --git a/pandas/tests/test_format.py b/pandas/tests/test_format.py
index 80f1733ab4be5..fef4778d4a5d5 100644
--- a/pandas/tests/test_format.py
+++ b/pandas/tests/test_format.py
@@ -20,8 +20,6 @@
import pandas.util.testing as tm
import pandas.core.common as com
from pandas.util.terminal import get_terminal_size
-... | Mostly just stylistic changes. The only substantive one is the test now on line 56 (`has_horizontally_truncated_repr`). I can't figure what the test was supposed to be doing. Suggestions?
Original Test:
``` python
def has_horizontally_truncated_repr(df):
try: # Check header row
fst_line = np.array(repr(df... | https://api.github.com/repos/pandas-dev/pandas/pulls/9227 | 2015-01-12T03:39:43Z | 2015-03-05T23:35:47Z | 2015-03-05T23:35:47Z | 2015-03-05T23:35:52Z |
ENH: add to_offset method to Timedelta #9064 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 2db455272363b..f12e5f1f9970e 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -99,6 +99,7 @@ Enhancements
- Added time interval selection in get_data_yahoo (:issue:`9071`)
- Added ``Series.str.sli... | Closes #9064
| https://api.github.com/repos/pandas-dev/pandas/pulls/9226 | 2015-01-12T03:39:28Z | 2015-01-18T20:53:40Z | 2015-01-18T20:53:40Z | 2015-01-19T02:18:33Z |
Fix randomly failing test in test_frame.py | diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index fcbfb21bd20e3..777fc6d68f3cd 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -1938,7 +1938,11 @@ def verify(df, level, idx, indexer):
'joe':['3rd'] * 2 + ['1st'] * 3 + ['2nd'] * 3 +
... | @jreback I noticed a randomly failing test while doing a full suite run a week or two ago. The test is using random integers as part of a `MultiIndex`, which randomly leads to a non-unique index. Attempting to re-index the `DataFrame` therefore randomly fails. The solution is to just sample without replacement.
The fo... | https://api.github.com/repos/pandas-dev/pandas/pulls/9225 | 2015-01-11T09:44:43Z | 2015-01-15T03:25:17Z | 2015-01-15T03:25:17Z | 2015-01-15T03:25:21Z |
BUG: Bug in using grouper functions that need passed thru arguments (GH9221) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index e58bb6f703b3d..e202bea960e12 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -142,7 +142,7 @@ Bug Fixes
-
+- Bug in using grouper functions that need passed thru arguments (e.g. axis), when u... | closes #9221
| https://api.github.com/repos/pandas-dev/pandas/pulls/9222 | 2015-01-10T15:48:22Z | 2015-01-10T17:23:12Z | 2015-01-10T17:23:12Z | 2015-01-10T17:23:12Z |
BUG FIX: wide_to_long modifies stubnames | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 6e93535451fbc..df01b30f941c6 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -154,4 +154,6 @@ Bug Fixes
- Fixed issue in the ``xlsxwriter`` engine where it added a default 'General' format to ... | Simple fix that prevents modification of the list `stubnames`, which is an argument to `wide_to_long`.
Closes #9204
| https://api.github.com/repos/pandas-dev/pandas/pulls/9215 | 2015-01-09T00:25:22Z | 2015-01-18T20:59:05Z | null | 2015-01-18T20:59:05Z |
BUG: bug in left join on multi-index with sort=True or nulls | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 839a055bf2a63..e878851233be1 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -99,6 +99,7 @@ Bug Fixes
- Bug in ``MultiIndex.has_duplicates`` when having many levels causes an indexer overflow (:... | on master:
```
In [8]: left
Out[8]:
1st 2nd 3rd
0 c c 13
1 b b 79
2 a a 27
3 b b 27
4 c a 86
In [9]: right
Out[9]:
4th
1st 2nd
c a -86
b b -79
c c -13
b b -27
a a -27
```
`sort=True` is ignored, and the result is not sorted by the join key:
```
In [... | https://api.github.com/repos/pandas-dev/pandas/pulls/9210 | 2015-01-08T01:36:53Z | 2015-01-10T18:07:10Z | 2015-01-10T18:07:10Z | 2015-01-10T20:17:03Z |
added mising numeric_only option for DataFrame.std/var/sem | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index de15fa29de8dd..48a1924d84041 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -486,3 +486,5 @@ Bug Fixes
- Fixed bug with reading CSV files from Amazon S3 on python 3 raising a TypeError (:issue:`9... | closes https://github.com/pydata/pandas/issues/9201, the `numeric_only` option is missing for `DataFrame.std()` (and also `DataFrame.var()` and `DataFrame.sem()`), this is a fix for it
| https://api.github.com/repos/pandas-dev/pandas/pulls/9209 | 2015-01-07T23:36:46Z | 2015-03-12T12:08:53Z | 2015-03-12T12:08:53Z | 2015-04-29T15:31:04Z |
9203 SQUASHED - DOCS: doc string edited pandas/core/frame.duplicated() | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 8ee65949e6bc1..ea7896b0352a5 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2726,7 +2726,8 @@ def duplicated(self, subset=None, take_last=False):
Only consider certain columns for identifying duplicates, by
defaul... | Redefined `take_last` variable in doc string. Original definition only
made sense for drop_duplicates()
| https://api.github.com/repos/pandas-dev/pandas/pulls/9206 | 2015-01-07T16:16:56Z | 2015-01-07T16:25:16Z | 2015-01-07T16:25:16Z | 2015-01-07T16:33:34Z |
DOC: Edited doc string of pandas/core/frame.duplicated(). Redefined take... | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 8ee65949e6bc1..988183835b7f0 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2726,7 +2726,8 @@ def duplicated(self, subset=None, take_last=False):
Only consider certain columns for identifying duplicates, by
defaul... | ..._last variable in doc string. Original definition only made sense for drop_duplicates().
| https://api.github.com/repos/pandas-dev/pandas/pulls/9203 | 2015-01-06T19:52:04Z | 2015-01-07T16:25:03Z | null | 2015-01-07T16:25:03Z |
BUG: fix for GH9010 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 21b1ddea0e9da..03f90c74ea4b7 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -141,3 +141,4 @@ Bug Fixes
- Bug in read_csv when using skiprows on a file with CR line endings with the c engine. (:is... | Superseded by #9358
---
This is an update of PR #9024.
closes #9010
| https://api.github.com/repos/pandas-dev/pandas/pulls/9198 | 2015-01-05T03:58:04Z | 2015-03-04T10:40:47Z | null | 2015-03-04T10:41:26Z |
fixes division by zero error for kurt() | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 21b1ddea0e9da..528c32d84e898 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -141,3 +141,4 @@ Bug Fixes
- Bug in read_csv when using skiprows on a file with CR line endings with the c engine. (:is... | Currently if `kurt()` is called on a `Series` with equal values, it throws a `ZeroDivisionError`
```
In [1]: import pandas as pd
In [2]: import numpy as np
In [3]: s = pd.Series(np.ones(5))
In [4]: s.kurt()
ZeroDivisionError: float division by zero
```
This is not consistent with the case when `kurt()` is called on a... | https://api.github.com/repos/pandas-dev/pandas/pulls/9197 | 2015-01-04T06:33:03Z | 2015-01-05T06:37:52Z | 2015-01-05T06:37:52Z | 2015-04-29T15:32:55Z |
Documentations: Ecosystem/API - pydatastream (issue #5630) | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index e5afe1db9417f..4a0743b8be3e4 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -130,6 +130,13 @@ API
Quandl API for Python wraps the Quandl REST API to return
Pandas DataFrames with timeseries indexes.
+`pydatastream <https... | Following an old issue #5630 (Documentation / Remote Data Access - 3rd pary libraries).
Quandl was already described in Ecosystem / API section, so I've added link to pydatastream that targets Thomson Reuters Datastream.
closes #5630.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9195 | 2015-01-03T22:12:54Z | 2015-01-06T13:14:19Z | 2015-01-06T13:14:19Z | 2015-01-06T13:27:59Z |
BUG: read_html with a single column table #9178 | diff --git a/pandas/io/html.py b/pandas/io/html.py
index 13318203bec67..627375204e92e 100644
--- a/pandas/io/html.py
+++ b/pandas/io/html.py
@@ -341,14 +341,14 @@ def _parse_raw_thead(self, table):
res = []
if thead:
res = lmap(self._text_getter, self._parse_th(thead[0]))
- return ... | This commit fixes a crash on read_html(html, flavor="bs4") if table only has one column.
closes #9178
| https://api.github.com/repos/pandas-dev/pandas/pulls/9194 | 2015-01-03T19:25:58Z | 2015-05-09T20:10:25Z | null | 2023-05-11T01:12:47Z |
Validate that 'name' attribute is set only if hashable | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 081e5c50946bc..7ce783278b86f 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -17,6 +17,7 @@
_default_index, _maybe_upcast,
_asarray_tuplesafe, _infer_dtype_from_scalar,
... | addresses part of issue #8263.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9193 | 2015-01-03T15:50:34Z | 2015-05-09T15:59:50Z | null | 2015-05-14T15:48:28Z |
Add lag parameter to autocorrelation | Add lag parameter to autocorrelation, default to lag-1 autocorrelation so existing code will work unchanged.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9192 | 2015-01-02T22:42:12Z | 2015-01-14T17:33:41Z | null | 2015-01-14T19:16:18Z | |
Add DataFrame.view() to display contents interactively. | diff --git a/doc/source/api.rst b/doc/source/api.rst
index b6fd14f425bd0..8b3fa2402e8dd 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -226,6 +226,14 @@ Exponentially-weighted moving window functions
ewmcorr
ewmcov
+Visualization / Plotting
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. autosummary::
+ :toctr... | This is a first attempt at addressing #9179
We add a DataFrame.view method to visualize the contents of a dataframe interactively.
The viewing itself is performed using the "tabview" module from https://github.com/firecat53/tabview
A few initial notes:
- tabview requires python3 currently, so please test using pytho... | https://api.github.com/repos/pandas-dev/pandas/pulls/9191 | 2015-01-02T22:37:18Z | 2015-03-29T17:15:11Z | null | 2015-03-29T17:15:11Z |
Docstring: pd.to_datetime (issue #9107) | diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py
index e680fa06a9c8e..db62fceaceef8 100644
--- a/pandas/tseries/tools.py
+++ b/pandas/tseries/tools.py
@@ -200,6 +200,8 @@ def to_datetime(arg, errors='ignore', dayfirst=False, utc=None, box=True,
If True, require an exact format match.
If ... | Following the issue "to_datetime returns NaT for old dates with coerce=True".
Do I understand correctly that online documentation is build automatically from docstrings? I.e. are there any other files to change?
Also it would be good to make a link to [this section of "Caveats and Gotchas"](http://pandas.pydata.org/p... | https://api.github.com/repos/pandas-dev/pandas/pulls/9189 | 2015-01-02T21:38:28Z | 2015-01-04T22:36:13Z | 2015-01-04T22:36:13Z | 2015-01-06T11:17:47Z |
ENH: Handle categorical dtype to/from R | diff --git a/pandas/rpy/common.py b/pandas/rpy/common.py
index 55adad3610816..6318b50052bb5 100644
--- a/pandas/rpy/common.py
+++ b/pandas/rpy/common.py
@@ -23,7 +23,7 @@
'convert_to_r_matrix']
-def load_data(name, package=None, convert=True):
+def load_data(name, package=None, convert=True, factors_as_... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/9187 | 2015-01-02T19:55:15Z | 2015-03-08T14:39:29Z | null | 2023-05-11T01:12:46Z |
FIX: Fix problems with Series text representation. | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 0eeee8ccfddf6..e61b7d18672f7 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -567,3 +567,39 @@ Bug Fixes
- Bug in ``Series.values_counts`` with excluding ``NaN`` for categorical type ``Series`` wi... | This PR harmonizes the way DataFrame and Series are printed.
closes #8532
closes #7508
Before
```
In [1]: import pandas as pd
In [2]: pd.options.display.max_rows = 10
In [3]: s = pd.Series([1,1,1,1,1,1,1,1,1,1,0.9999,1,1]*10)
In [4]: s
Out[4]:
0 1
1 1
2 1
...
127 0.9999
128 1.0000
129 1.0000
L... | https://api.github.com/repos/pandas-dev/pandas/pulls/9182 | 2015-01-02T03:08:18Z | 2015-03-17T00:18:39Z | 2015-03-17T00:18:39Z | 2015-03-17T00:19:21Z |
is_list_like() for to_excel, fixes #8188. | diff --git a/pandas/io/excel.py b/pandas/io/excel.py
index 2ece91b5dea11..4355d65718765 100644
--- a/pandas/io/excel.py
+++ b/pandas/io/excel.py
@@ -401,7 +401,8 @@ def _conv_value(val):
val = bool(val)
elif isinstance(val, Period):
val = "%s" % val
-
+ elif com.is_list_like(val):
+ val... | closes #8188
| https://api.github.com/repos/pandas-dev/pandas/pulls/9181 | 2015-01-02T01:23:19Z | 2015-05-09T16:17:11Z | null | 2015-05-09T16:17:11Z |
BUG: Fix not to reindex on non-Categorical groups (GH9049) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 0234a0dab8e28..3e9dcde6113b8 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -267,3 +267,4 @@ Bug Fixes
- ``SparseSeries`` and ``SparsePanel`` now accept zero argument constructors (same as their ... | closes #9049.
closes #9344
_self._was_factor_ is not appropriate to judge whether grouper is Categorical or not, because it can be "True" when we groupby indices (not columns). So, I added another flag _self._is_categorical_ to judge Categorical state.
Also, I added a GroupBy test for MultiIndexed data, which was fa... | https://api.github.com/repos/pandas-dev/pandas/pulls/9177 | 2014-12-31T16:16:37Z | 2015-02-10T14:52:04Z | 2015-02-10T14:52:04Z | 2015-02-11T01:49:04Z |
BUG: "index_col=False" not working when "usecols" is specified in read_csv (GH9082) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 4231551c50a6b..1378804d99e71 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -139,4 +139,6 @@ Bug Fixes
- DataFrame now properly supports simultaneous ``copy`` and ``dtype`` arguments in constru... | Fixes #9082
My access to the internet is spotty for the next few days. This fixes 9082 and does not break any of the existing tests so hopefully it won't break anyone's existing code. Happy New Year!
| https://api.github.com/repos/pandas-dev/pandas/pulls/9176 | 2014-12-31T05:32:02Z | 2015-01-10T17:33:28Z | null | 2015-01-10T17:33:28Z |
BUG: Fix for Timestamp handling in xlwt and xlsxwriter engines. | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 21b1ddea0e9da..2dbb1f284560d 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -96,6 +96,8 @@ Bug Fixes
- Bug in ``pivot`` and `unstack`` where ``nan`` values would break index alignment (:issue:`74... | Fix for writing Timestamp objects using the xlwt and xlsxwriter
engines. Both modules write Excel dates and times using
datetime.timedelta which differs from pandas.Timedelta. This
fix coerces Timestamp objects to datetime objects.
fixes #9139.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9175 | 2014-12-31T03:04:58Z | 2015-01-15T02:35:28Z | null | 2015-01-15T02:35:28Z |
ERR: better concat error messages #9157 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 8320f3cbc8e76..8d4ad7f155423 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -494,8 +494,7 @@ Other API Changes
^^^^^^^^^^^^^^^^^
- Line and kde plot with ``subplots=True`` now uses default col... | closes #9157
This is a first attempt to improve the error message when trying to concat an empty list/set of objects:
`pd.concat([])` currently raises following error:
```
/Users/ch/miniconda/envs/sci33/lib/python3.3/site-packages/pandas/tools/merge.py in __init__(self, objs, axis, join, join_axes, keys, levels, na... | https://api.github.com/repos/pandas-dev/pandas/pulls/9172 | 2014-12-30T13:35:46Z | 2015-08-15T17:05:08Z | null | 2015-08-16T08:17:52Z |
BUG: Fix for extraneous default cell format in xlsxwriter files. | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 21b1ddea0e9da..656d1d31d3188 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -141,3 +141,7 @@ Bug Fixes
- Bug in read_csv when using skiprows on a file with CR line endings with the c engine. (:is... | Fix for issue in the xlsxwriter engine where is adds a default
'General' format to cells if no other format is applied. This
isn't a bug, per se, but it prevents other row or column formatting.
closes #9167
| https://api.github.com/repos/pandas-dev/pandas/pulls/9171 | 2014-12-30T04:40:18Z | 2015-01-06T00:13:06Z | null | 2015-01-06T00:13:06Z |
TST: tests for GH5873 | diff --git a/pandas/tests/test_index.py b/pandas/tests/test_index.py
index 8fe6698917efc..d474981771015 100644
--- a/pandas/tests/test_index.py
+++ b/pandas/tests/test_index.py
@@ -33,6 +33,7 @@
import pandas as pd
from pandas.lib import Timestamp
+from itertools import product
class Base(object):
@@ -3525,6 +... | closes https://github.com/pydata/pandas/issues/5873
code changes were done in https://github.com/pydata/pandas/pull/9101 and https://github.com/pydata/pandas/pull/9061. just adding tests to confirm bugs reported there are handled.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9169 | 2014-12-30T03:43:01Z | 2015-01-02T15:41:25Z | null | 2015-01-10T20:19:44Z |
BUG: hidden ticklabels with sharex and secondary | Closes https://github.com/pydata/pandas/issues/9158
``` python
import pandas as pd
d = {'A' : [1., 2., 3., 4.], 'B' : [4., 3., 2., 1.], 'C': [5, 1, 3, 4]}
df = pd.DataFrame(d, index=pd.date_range('2014 10 11', '2014 10 14'))
axes = df[['A','B']].plot(subplots=True)
df['C'].plot(ax=axes[0], secondary_y=True) # x tic... | https://api.github.com/repos/pandas-dev/pandas/pulls/9164 | 2014-12-28T14:28:29Z | 2015-04-20T12:12:47Z | null | 2015-10-31T02:39:15Z | |
PERF: Utilize mixed dtypes in df.count() with MultiIndexes | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9a3a6bf319810..9ffcfb70c29db 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -68,6 +68,7 @@ Performance
- Performance improvements in ``MultiIndex.duplicated`` by working with labels instead of va... | @jreback Same underlying cause as #9136 but the solution is a bit more involved here.
Basically, we're transposing a potentially mixed-type frame before calling `notnull(frame.values)`; the same result can be obtained by deferring the transpose until after `notnull` gives us a non-mixed frame.
Here are the vbench res... | https://api.github.com/repos/pandas-dev/pandas/pulls/9163 | 2014-12-28T09:07:36Z | 2014-12-29T00:08:52Z | null | 2014-12-29T03:05:54Z |
PERF: improves merge performance when key space exceeds i8 bounds | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9a3a6bf319810..2a4d11413c6df 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -68,6 +68,7 @@ Performance
- Performance improvements in ``MultiIndex.duplicated`` by working with labels instead of va... | In join operations, current master switches to [a less efficient path](https://github.com/pydata/pandas/blob/def58c9bcabd5bda63696a30f25d4012ab1160ac/pandas/tools/merge.py#L471) if the key space exceeds `int64` bounds. This commit improves performance and memory usage:
on master:
```
In [1]: np.random.seed(2718281)
... | https://api.github.com/repos/pandas-dev/pandas/pulls/9151 | 2014-12-24T23:50:09Z | 2014-12-28T23:43:38Z | 2014-12-28T23:43:38Z | 2014-12-29T15:43:56Z |
BUG: Bug in Panel indexing with an object-like (GH9140) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index d7de5a7ac5979..14427dd8c453f 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -56,7 +56,7 @@ Bug Fixes
.. _whatsnew_0160.bug_fixes:
- Fixed compatibility issue in ``DatetimeIndex`` affecting arc... | closes #9140
| https://api.github.com/repos/pandas-dev/pandas/pulls/9143 | 2014-12-24T02:04:20Z | 2014-12-24T15:50:18Z | 2014-12-24T15:50:18Z | 2014-12-24T15:50:19Z |
Check whether GBQ Job is finished | diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py
index 572a8be5c65e8..91ec4831b0472 100644
--- a/pandas/io/gbq.py
+++ b/pandas/io/gbq.py
@@ -185,7 +185,8 @@ def run_query(self, query):
job_reference = query_reply['jobReference']
- while(not 'jobComplete' in query_reply):
+ # Verify the job ha... | xref #8728
jobComplete can be False in query_reply. Simply checking for the existence of the field isn't enough, as a False value will cause a KeyError when checking for query_reply['totalRows']
| https://api.github.com/repos/pandas-dev/pandas/pulls/9141 | 2014-12-23T19:46:31Z | 2015-01-18T21:09:11Z | null | 2015-01-18T21:09:18Z |
FIX: to_sql dtype argument accepting SQLAlchemy type instance (GH9083) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 7433adaa4b738..55b35368215c4 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -60,7 +60,8 @@ Bug Fixes
- Fixed bug in ``to_sql`` when mapping a Timestamp object column (datetime
column with ti... | Closes #9083
| https://api.github.com/repos/pandas-dev/pandas/pulls/9138 | 2014-12-23T10:27:51Z | 2014-12-24T10:36:06Z | 2014-12-24T10:36:06Z | 2014-12-24T10:36:06Z |
TST: Fix failing test due to revision in WB data #9115 | diff --git a/pandas/io/tests/test_wb.py b/pandas/io/tests/test_wb.py
index e2a086e9dcdf4..51d6ac02f0f20 100644
--- a/pandas/io/tests/test_wb.py
+++ b/pandas/io/tests/test_wb.py
@@ -40,10 +40,14 @@ def test_wdi_download(self):
expected = {'NY.GDP.PCAP.CD': {('Canada', '2003'): 28026.006013044702, ('Mexico', '... | Closes #9115
I just round the expected and result data for the failing test. I have no idea why the WB would be revising 2003 and 2004 data, but they did.
I would have redesigned the test, but spending that time has minimal benefit.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9137 | 2014-12-23T01:41:05Z | 2014-12-23T03:13:20Z | 2014-12-23T03:13:20Z | 2015-02-09T00:37:14Z |
Remove codepath asymmetry in dataframe count() | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index d7de5a7ac5979..544ab27157a17 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -48,6 +48,7 @@ Performance
- Fixed a performance regression for ``.loc`` indexing with an array or list-like (:issue:`9... | @jreback I noticed a codepath asymmetry in core.frame.count that leads to a substantial difference in dropna() performance depending on the axis. Using the path `df.dropna(axis=0)` takes yields a 2.5-5x improvement.
```
$ python vb_suite/test_perf.py -b upstream/master -t HEAD -r "dropna" -S -n 30
Invoked with :
--nca... | https://api.github.com/repos/pandas-dev/pandas/pulls/9136 | 2014-12-22T23:05:39Z | 2014-12-24T15:55:19Z | 2014-12-24T15:55:19Z | 2014-12-24T15:55:26Z |
fixup unicode compat with 3.2 in test_index.py | diff --git a/pandas/tests/test_index.py b/pandas/tests/test_index.py
index fd2e83e9609c5..5c581b548e583 100644
--- a/pandas/tests/test_index.py
+++ b/pandas/tests/test_index.py
@@ -3452,24 +3452,24 @@ def test_has_duplicates(self):
self.assertTrue(index.has_duplicates)
# GH 9075
- t = [(u'x',... | fixes w.r.t. comment in #9101
| https://api.github.com/repos/pandas-dev/pandas/pulls/9135 | 2014-12-22T22:02:36Z | 2014-12-22T23:49:43Z | 2014-12-22T23:49:43Z | 2014-12-22T23:49:43Z |
PERF: use unique and isnull in nunique instead of value_counts. | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index d572835a76218..1b52ee2d08370 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -45,8 +45,12 @@ Performance
.. _whatsnew_0160.performance:
+
- Fixed a severe performance regression for ``.loc`` ... | closes #9129
Currently, `Series.nunique` [(source)](https://github.com/pydata/pandas/blob/master/pandas/core/base.py#L429) calls `Series.value_counts` [(source)](https://github.com/pydata/pandas/blob/master/pandas/core/base.py#L371), which by default, sorts the values.
Counting unique values certainly doesn't requir... | https://api.github.com/repos/pandas-dev/pandas/pulls/9134 | 2014-12-22T21:00:13Z | 2014-12-23T03:22:57Z | 2014-12-23T03:22:57Z | 2014-12-23T03:23:23Z |
PERF: json support for blocks GH9037 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 0e6fb94cf7273..4112ef81ba6d1 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -28,6 +28,22 @@ Backwards incompatible API changes
.. _whatsnew_0160.api_breaking:
- ``Index.duplicated`` now return... | This adds block support to the JSON serialiser, as per #9037. I also added code to directly cast and serialise numpy data, which replaces the previous use of intermediate Python objects.
Large performance improvement (~25x) for mixed frames containing datetimes / timedeltas.
```
-------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/9130 | 2014-12-22T16:13:48Z | 2014-12-24T15:53:17Z | 2014-12-24T15:53:17Z | 2014-12-24T18:27:30Z |
ENH: Expanduser in to_file methods GH9066 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 7433adaa4b738..32b79b4c8031f 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -40,6 +40,8 @@ Enhancements
.. _whatsnew_0160.enhancements:
+- Paths beginning with ~ will now be expanded to begin... | closes #9066
First time contributor, tried to follow all rules as good as possible.
If something is missing please let me know.
As specified in task 9066 tilde in a pathname get resolved into a absolute path.
In case the object is a buffer the buffer will be returned.
I did not add additional tests, since I could no... | https://api.github.com/repos/pandas-dev/pandas/pulls/9128 | 2014-12-22T11:57:36Z | 2014-12-24T19:11:56Z | 2014-12-24T19:11:56Z | 2014-12-25T07:33:06Z |
PERF: fix slow s.loc[[0]] | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 7433adaa4b738..c34218b434b1b 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -45,6 +45,7 @@ Performance
.. _whatsnew_0160.performance:
+- Fixed a severe performance regression for ``.loc`` ind... | Fixes #9126
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
series_loc_list_like | 0.2840 | 125.0... | https://api.github.com/repos/pandas-dev/pandas/pulls/9127 | 2014-12-22T07:49:35Z | 2014-12-23T01:24:17Z | 2014-12-23T01:24:17Z | 2014-12-24T01:57:20Z |
PERF: use labels to find duplicates in multi-index | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index d572835a76218..531955c765deb 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -46,6 +46,7 @@ Performance
.. _whatsnew_0160.performance:
- Fixed a severe performance regression for ``.loc`` index... | ```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
multiindex_duplicated | 139.2883 | 469.6666 | 0.296... | https://api.github.com/repos/pandas-dev/pandas/pulls/9125 | 2014-12-21T23:47:56Z | 2014-12-23T10:57:56Z | null | 2014-12-23T12:59:59Z |
Use tz.gettz() instead of zoneinfo.gettz() | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index cc044bc35a707..785f35083a24e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -26,6 +26,26 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
+- Add helper functions to check for OS running o... | zoneinfo.gettz() seems to have problems (1 & 2) on system which do not install
the zoninfo tarball (e.g. Debian, Gentoo and Fedora) but rely on the system
zoneinfo files. This results in test failures (3 & 4)
tz.gettz() doesn't suffer from this problem.
1 https://github.com/dateutil/dateutil/issues/8
2 https://github.... | https://api.github.com/repos/pandas-dev/pandas/pulls/9123 | 2014-12-21T18:45:24Z | 2015-05-15T20:26:37Z | 2015-05-15T20:26:36Z | 2015-06-02T19:26:59Z |
Remove bar line | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 6e93535451fbc..b17f8195d339e 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -49,6 +49,10 @@ Backwards incompatible API changes
- ``TimedeltaIndex.freqstr`` now output the same string format as ``... | Closes https://github.com/pydata/pandas/issues/9088
Closes https://github.com/pydata/pandas/issues/7128
Votes on whether we should
1. Remove the line entirely
2. Add a parameter to `.plot` control whether the line should be added.
I vote for 1, but I can go either way.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9122 | 2014-12-21T15:44:10Z | 2015-01-19T13:21:48Z | 2015-01-19T13:21:47Z | 2017-04-05T02:06:12Z |
fix an nbviewer link in tutorials | diff --git a/doc/source/tutorials.rst b/doc/source/tutorials.rst
index 2c913f8911066..7c1d1e345d273 100644
--- a/doc/source/tutorials.rst
+++ b/doc/source/tutorials.rst
@@ -26,7 +26,7 @@ repository <http://github.com/jvns/pandas-cookbook>`_. To run the examples in th
clone the GitHub repository and get IPython Noteboo... | some escape characters snuck in there that cause the URL to be invalid
| https://api.github.com/repos/pandas-dev/pandas/pulls/9120 | 2014-12-21T01:03:19Z | 2014-12-21T07:26:53Z | 2014-12-21T07:26:53Z | 2014-12-21T07:26:53Z |
ENH: get_dummies can accept value and na_value kw | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index e8b398aec4b74..adb2f8673e92a 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -152,6 +152,14 @@ Enhancements
- ``Timedelta`` will now accept ``nanoseconds`` keyword in constructor (:issue:`9273`)
... | Closes #8028. It is still under work, but want to clarify a point. Currently it works as:
```
s = pd.Series(['A', 'B', 'A', 'C'])
s
#0 A
#1 B
#2 A
#3 C
# dtype: object
pd.get_dummies(s)
# A B C
#0 1 0 0
#1 0 1 0
#2 1 0 0
#3 0 0 1
pd.get_dummies(s, value='YES', na_value='NO')
# A ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9117 | 2014-12-20T21:55:54Z | 2015-05-11T14:55:18Z | null | 2023-05-11T01:12:46Z |
API: Datetime-like indexes `summary` should output the same format | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9b8382bd3f4c4..ee5ed49dfb5d1 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -29,6 +29,10 @@ Backwards incompatible API changes
- ``Index.duplicated`` now returns `np.array(dtype=bool)` rather t... | Related to #6469. Made all datetime-like indexes `summary` should output the same format.
#### Before
```
didx = pd.date_range('2014-12-20', freq='M', periods=3)
pidx = pd.period_range('2014-12-20', freq='M', periods=3)
tdidx = pd.timedelta_range(start='1 days', freq='D', periods=3)
didx.summary()
# DatetimeIndex: 3 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9116 | 2014-12-20T21:26:08Z | 2015-01-05T23:48:24Z | 2015-01-05T23:48:24Z | 2015-01-17T03:34:52Z |
API: Index.duplicated should return np.array | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 8122b60b736c9..244f15fdb1fbb 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -27,6 +27,8 @@ Backwards incompatible API changes
.. _whatsnew_0160.api_breaking:
+- ``Index.duplicated`` now retur... | For 2nd issue of #8875.
- Change `Index.duplicated` to return `np.array`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9112 | 2014-12-20T02:31:55Z | 2014-12-20T20:10:58Z | 2014-12-20T20:10:58Z | 2015-02-15T03:26:28Z |
TST: sql skip tests at class level if database is not available | diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py
index c7b6b77ae7aea..dd456db0131de 100644
--- a/pandas/io/tests/test_sql.py
+++ b/pandas/io/tests/test_sql.py
@@ -868,24 +868,38 @@ class _TestSQLAlchemy(PandasSQLTest):
"""
flavor = None
+ @classmethod
+ def setUpClass(cls):
+ ... | Added a `SetUpClass` to skip the full class when no connection can be made to the database, and made some of the other methods class methods, to be able to use them in `SetUpClass`
Eg if you are testing locally and don't have one of the databases available, then it will test the connection and skip each individual tes... | https://api.github.com/repos/pandas-dev/pandas/pulls/9110 | 2014-12-19T15:39:55Z | 2014-12-20T22:05:18Z | 2014-12-20T22:05:18Z | 2014-12-20T22:05:18Z |
SQL: fix type conversion for Timestamp object typed columns (GH9085) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9b8382bd3f4c4..7433adaa4b738 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -58,6 +58,8 @@ Bug Fixes
+- Fixed bug in ``to_sql`` when mapping a Timestamp object column (datetime
+ column wit... | Closes #9085
| https://api.github.com/repos/pandas-dev/pandas/pulls/9109 | 2014-12-19T15:37:22Z | 2014-12-20T22:30:13Z | 2014-12-20T22:30:13Z | 2014-12-20T22:30:13Z |
make DataFrame.to_dict(orient='list') output native python elements | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 7c7872cf7b6a5..6cb64c2a5761e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -698,7 +698,7 @@ def to_dict(self, orient='dict'):
if orient.lower().startswith('d'):
return dict((k, v.to_dict()) for k, v in compat.iteritem... | https://api.github.com/repos/pandas-dev/pandas/pulls/9108 | 2014-12-19T00:24:30Z | 2014-12-19T18:27:03Z | null | 2014-12-19T18:27:03Z | |
Refs BUG-9099: Support simultaneous copy and dtype args in DataFrame init | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 8720774b821a2..0389b829bf6c9 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -51,3 +51,4 @@ Bug Fixes
- Fixed compatibility issue in ``DatetimeIndex`` affecting architectures where ``numpy.int_`... | closes #9099
This is a somewhat brute-force fix for supporting copy and dtype arguments in DataFrame constructor. Some data might be copied twice if both arguments are set, but if I did the operations in a different order, one other unit test would fail.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9105 | 2014-12-18T14:04:11Z | 2014-12-20T20:05:52Z | 2014-12-20T20:05:52Z | 2014-12-20T20:06:40Z |
BUG: Bug in DatetimeIndex iteration, related to (GH8890), fixed in (GH9100) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 8720774b821a2..8122b60b736c9 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -51,3 +51,4 @@ Bug Fixes
- Fixed compatibility issue in ``DatetimeIndex`` affecting architectures where ``numpy.int_`... | closes #9100
| https://api.github.com/repos/pandas-dev/pandas/pulls/9104 | 2014-12-18T11:28:40Z | 2014-12-19T21:03:11Z | 2014-12-19T21:03:11Z | 2014-12-19T21:03:11Z |
BUG in read_csv when using skiprows on a file with CR line endings #9079 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 8720774b821a2..6176555dea27e 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -51,3 +51,4 @@ Bug Fixes
- Fixed compatibility issue in ``DatetimeIndex`` affecting architectures where ``numpy.int_`... | closes #9079
Fix the read_csv bug introduced in 6bf83c5d when using skiprows on a file with CR line terminators
| https://api.github.com/repos/pandas-dev/pandas/pulls/9102 | 2014-12-18T03:09:51Z | 2014-12-20T20:31:45Z | 2014-12-20T20:31:45Z | 2014-12-20T20:31:55Z |
overflow bug in multi-index when checking for duplicates | diff --git a/doc/source/api.rst b/doc/source/api.rst
index d2f94c22f0335..b6fd14f425bd0 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1176,6 +1176,7 @@ Attributes
Index.is_monotonic_increasing
Index.is_monotonic_decreasing
Index.is_unique
+ Index.has_duplicates
Index.dtype
Index.inf... | closes https://github.com/pydata/pandas/issues/9075
| https://api.github.com/repos/pandas-dev/pandas/pulls/9101 | 2014-12-18T01:10:15Z | 2014-12-18T11:40:22Z | 2014-12-18T11:40:22Z | 2014-12-21T13:52:03Z |
Fixes .nth() with groupby multiple columns | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index d7de5a7ac5979..75fc44cfee33f 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -118,3 +118,4 @@ Bug Fixes
- DataFrame now properly supports simultaneous ``copy`` and ``dtype`` arguments in construct... | closes #8979
Let me know if this makes sense
Problem mentioned in issue 8979 too
| https://api.github.com/repos/pandas-dev/pandas/pulls/9090 | 2014-12-16T00:37:56Z | 2015-01-02T16:29:36Z | null | 2015-01-02T16:29:36Z |
Closes #8943: COMPAT: periods needs coercion to np.int64 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index a377b9caadc0c..74fcf2e1fbf06 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -48,3 +48,6 @@ Bug Fixes
~~~~~~~~~
.. _whatsnew_0160.bug_fixes:
+
+- Fixed compatibility issue in ``DatetimeIndex`` ... | Let me know if this needs any work.
closes #8943
| https://api.github.com/repos/pandas-dev/pandas/pulls/9078 | 2014-12-15T08:11:15Z | 2014-12-17T22:14:26Z | 2014-12-17T22:14:26Z | 2014-12-18T02:06:30Z |
BUG: Bug in MultiIndex.has_duplicates when having many levels causes an indexer overflow (GH9075) | diff --git a/doc/source/api.rst b/doc/source/api.rst
index d2f94c22f0335..b6fd14f425bd0 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1176,6 +1176,7 @@ Attributes
Index.is_monotonic_increasing
Index.is_monotonic_decreasing
Index.is_unique
+ Index.has_duplicates
Index.dtype
Index.inf... | closes #9075
| https://api.github.com/repos/pandas-dev/pandas/pulls/9077 | 2014-12-14T23:55:41Z | 2014-12-18T11:39:07Z | null | 2014-12-18T11:39:07Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.