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
support constructing Panel or Panel4D with scalar data, fixes #8285
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index d60fa718ae07c..5b2a788829ce3 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -622,3 +622,4 @@ Bug Fixes - Bug in ``Series.values_counts`` with excluding ``NaN`` for categorical type ``Series`` wit...
this should fix https://github.com/pydata/pandas/issues/8285
https://api.github.com/repos/pandas-dev/pandas/pulls/9640
2015-03-13T02:22:36Z
2015-03-14T01:31:43Z
2015-03-14T01:31:43Z
2015-04-29T15:32:32Z
Rearrange into logical sections and add relevant links
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e6ae1d0a36bd1..876daa97313e8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,4 @@ -###Guidelines +### Guidelines All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome. @@ -14,8 +14,9 @@ looking for...
This rearranges the Contributing page into more logical sections and provides some more useful links to wiki pages. I think this should be the place where all relevant documentation on pandas development can be found. For example, both this page and the pandas homepage mention `vbench` but the information on running ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9639
2015-03-13T01:03:45Z
2015-03-13T07:48:21Z
2015-03-13T07:48:21Z
2015-03-13T16:54:25Z
Patch 4
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 90a6cf60fa76b..100b41c8229eb 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1931,6 +1931,41 @@ def tail(self, n=5): return self return self.iloc[-n:] + def rand(self, size = 5, size_type = 'number', repla...
https://api.github.com/repos/pandas-dev/pandas/pulls/9638
2015-03-12T22:31:55Z
2015-03-12T22:32:38Z
null
2015-03-13T15:49:12Z
fixed header=list (to create a MultiIndex) for read_excel
diff --git a/pandas/hashtable.pyx b/pandas/hashtable.pyx index 8bdcfb44242ff..c4cd788216018 100644 --- a/pandas/hashtable.pyx +++ b/pandas/hashtable.pyx @@ -211,7 +211,6 @@ cdef class StringHashTable(HashTable): def unique(self, ndarray[object] values): cdef: Py_ssize_t i, n = len(values) - ...
closes #4679 This is a very simple fix to allow passing a list go the header argument of read_excel so that it creates a MultiIndex for columns. Given what is said in issue #4679, I am not really sure it is supposed to work, but with this fix, it works for my files. One thing discussed in issue #4679, which I did not...
https://api.github.com/repos/pandas-dev/pandas/pulls/9637
2015-03-12T16:01:26Z
2015-05-12T12:19:49Z
null
2022-10-13T00:16:28Z
BLD: add conda recipe (GH8934)
diff --git a/.binstar.yml b/.binstar.yml new file mode 100644 index 0000000000000..6f7c2c5ba4c7a --- /dev/null +++ b/.binstar.yml @@ -0,0 +1,38 @@ +package: pandas +user: jreback + +platform: + #- osx-64 + #- linux-32 + - linux-64 + - win-64 + #- win-32 + +engine: + #- python=2.6 + - python=2.7 + #- python=3.3 + #- pyt...
closes #8934
https://api.github.com/repos/pandas-dev/pandas/pulls/9634
2015-03-11T20:46:10Z
2015-03-11T20:46:30Z
2015-03-11T20:46:30Z
2015-03-20T14:48:59Z
Return the right class, when subclassing a DataFrame with multi-level index
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 56d940031119d..d422e7815a5a3 100755 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -300,3 +300,4 @@ Bug Fixes - Bug in ``transform`` when groups are equal in number and dtype to the input index (:issue:...
Subclassing pandas.DataFrame had some issues, when a multi-level index was used. This PR should fix that.
https://api.github.com/repos/pandas-dev/pandas/pulls/9632
2015-03-11T10:48:17Z
2015-05-04T18:58:49Z
2015-05-04T18:58:49Z
2015-05-04T18:58:56Z
DEPR: DatetimeIndex/PeriodsIndex +/- ops (GH9094)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 2e910e32d4dfd..3f37b44f509ff 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -385,6 +385,8 @@ Deprecations - The ``pandas.rpy`` interface is deprecated and will be removed in a future version. ...
closes #9094 closes #9095 deprecate `DatetimeIndex/PeriodIndex` `+/-` ops which are set ops. In a future version `-` will produce a `TimeDeltaIndex` and `+` a `TypeError`
https://api.github.com/repos/pandas-dev/pandas/pulls/9630
2015-03-11T01:53:16Z
2015-03-11T10:21:42Z
2015-03-11T10:21:41Z
2015-03-11T10:21:42Z
TST/DOC: Fix tests and docs for .cat raising AttributeError if invalid
diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst index 91cfa77bc618c..8eb235d46e6ed 100644 --- a/doc/source/categorical.rst +++ b/doc/source/categorical.rst @@ -766,6 +766,14 @@ Dtype comparisons work: dtype == np.str_ np.str_ == dtype +To check if a Series contains Categorical data, wit...
Follow-up on #9617 Fixes #8814 -- is it fair to say that `hasattr(s, 'cat')` is probably the best solution we're going to come up with for checking for categorical data? CC @jreback @jorisvandenbossche @JanSchulz
https://api.github.com/repos/pandas-dev/pandas/pulls/9629
2015-03-11T00:21:03Z
2015-03-11T01:35:33Z
2015-03-11T01:35:32Z
2015-03-11T01:35:35Z
Fix table name on comparison with SQL
diff --git a/doc/source/comparison_with_sql.rst b/doc/source/comparison_with_sql.rst index 371875d9996f9..5dc083db7d147 100644 --- a/doc/source/comparison_with_sql.rst +++ b/doc/source/comparison_with_sql.rst @@ -204,7 +204,7 @@ Grouping by more than one column is done by passing a list of columns to the .. code-block...
All the other examples use the table name "tips"
https://api.github.com/repos/pandas-dev/pandas/pulls/9628
2015-03-10T23:15:28Z
2015-03-11T00:18:33Z
2015-03-11T00:18:32Z
2015-03-11T00:18:33Z
improve error message when importing pandas from source directory
diff --git a/pandas/__init__.py b/pandas/__init__.py index 939495d3687ad..2a142a6ff2072 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -4,17 +4,13 @@ __docformat__ = 'restructuredtext' try: - from . import hashtable, tslib, lib -except Exception: # pragma: no cover - import sys - e = sys.exc_...
Currently if one imports from the source directory without building the C extension the error message is not very helpful: `ImportError: cannot import name 'hashtable'` I see a few previous PRs (https://github.com/pydata/pandas/pull/3827, https://github.com/pydata/pandas/pull/3821) that tried to address this but someh...
https://api.github.com/repos/pandas-dev/pandas/pulls/9626
2015-03-10T18:46:43Z
2015-05-04T22:41:49Z
2015-05-04T22:41:49Z
2015-05-05T00:09:03Z
Fixes to resample over DST boundaries
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 2e910e32d4dfd..4a68567842711 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -69,6 +69,7 @@ New features - Added ``StringMethods.zfill()`` which behave as the same as standard ``str`` (:issue:`938...
closes #5172 closes #8744 closes #8653 closes #9173 closes #9468 closes #8794 fixes all issues but one attached to #5172. There were several issues as mentioned by my comments in the master list. They are: 1. Offset classes were not working properly over DST boundaries. I added flags on the class to handle specia...
https://api.github.com/repos/pandas-dev/pandas/pulls/9623
2015-03-10T01:24:57Z
2015-03-11T12:10:07Z
null
2015-03-11T14:17:14Z
API: deprecate setting of .ordered directly (GH9347, GH9190)
diff --git a/doc/source/api.rst b/doc/source/api.rst index 7fbb432f0be6b..58ea517d055a0 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -585,6 +585,8 @@ following usable methods and properties (all available as ``Series.cat.<method_o Categorical.remove_categories Categorical.remove_unused_categories...
alternate to #9611 closes #9347 closes #9190 closes #9148 This implementes the alternate, and IMHO a nice compromise. Groupby's will succeed whether ordered or not ordering ops (sort/argsort/min/max) will still raise. one though is that we could detect a non-reduction where the ordering matters (maybe we do this i...
https://api.github.com/repos/pandas-dev/pandas/pulls/9622
2015-03-09T22:56:46Z
2015-03-11T12:11:49Z
2015-03-11T12:11:48Z
2015-03-11T12:12:05Z
fix pymysql at 0.6.3 (GH9608)
diff --git a/ci/requirements-3.4.txt b/ci/requirements-3.4.txt index 33d3b3b4dc459..8a55c0458688e 100644 --- a/ci/requirements-3.4.txt +++ b/ci/requirements-3.4.txt @@ -15,5 +15,5 @@ matplotlib lxml sqlalchemy bottleneck -pymysql +pymysql==0.6.3 psycopg2
xref #9608 fix version to bypass failures for now
https://api.github.com/repos/pandas-dev/pandas/pulls/9621
2015-03-09T20:55:16Z
2015-03-09T21:39:59Z
2015-03-09T21:39:59Z
2015-03-09T21:39:59Z
DOC: Shrink image asset for assign
diff --git a/doc/source/_static/whatsnew_assign.png b/doc/source/_static/whatsnew_assign.png index 0e39e161dc606..84546cadf0276 100644 Binary files a/doc/source/_static/whatsnew_assign.png and b/doc/source/_static/whatsnew_assign.png differ
Let's try this again. The sphinx directive didn't seem to work. I just shrunk the static asset. I'm not at my regular computer and I haven't been able to get the docs to build on this one, so I'm exactly sure how it will look in the page :)
https://api.github.com/repos/pandas-dev/pandas/pulls/9619
2015-03-09T15:20:03Z
2015-03-09T18:42:16Z
2015-03-09T18:42:16Z
2015-08-18T12:45:06Z
BUG/API: Accessors like .cat raise AttributeError when invalid
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index bc51519898359..9467764ec2a74 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -245,6 +245,7 @@ Backwards incompatible API changes - Bar and horizontal bar plots no longer add a dashed line along ...
`AttributeError` is really the appropriate error to raise for an invalid attribute. In particular, it is necessary to ensure that tests like `hasattr(s, 'cat')` work consistently on Python 2 and 3: on Python 2, `hasattr(s, 'cat')` will return `False` even if a `TypeError` was raised, but Python 3 more strictly requires...
https://api.github.com/repos/pandas-dev/pandas/pulls/9617
2015-03-09T08:12:31Z
2015-03-10T22:49:06Z
2015-03-10T22:49:06Z
2015-03-11T02:33:15Z
DEPR: deprecate pandas.sandbox.qtpandas
diff --git a/doc/source/faq.rst b/doc/source/faq.rst index 6977716e2913f..de88b436198dd 100644 --- a/doc/source/faq.rst +++ b/doc/source/faq.rst @@ -290,6 +290,11 @@ details. Visualizing Data in Qt applications ----------------------------------- +.. warning:: + + The ``qt`` support is **deprecated and will be r...
not supported module/interface. xref #1986, #8788
https://api.github.com/repos/pandas-dev/pandas/pulls/9615
2015-03-08T16:18:08Z
2015-03-08T16:27:28Z
2015-03-08T16:27:28Z
2015-03-08T16:27:28Z
DEPR: deprecate pandas.rpy (GH9602)
diff --git a/doc/source/r_interface.rst b/doc/source/r_interface.rst index 98fc4edfd5816..826d9e980538e 100644 --- a/doc/source/r_interface.rst +++ b/doc/source/r_interface.rst @@ -13,11 +13,9 @@ rpy2 / R interface ****************** -.. note:: - - This is all highly experimental. I would like to get more people ...
closes #9602
https://api.github.com/repos/pandas-dev/pandas/pulls/9612
2015-03-07T23:37:38Z
2015-03-08T16:29:06Z
2015-03-08T16:29:06Z
2015-03-08T16:52:18Z
API: deprecate setting of .ordered directly (GH9347, GH9190)
diff --git a/doc/source/api.rst b/doc/source/api.rst index 7fbb432f0be6b..58ea517d055a0 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -585,6 +585,8 @@ following usable methods and properties (all available as ``Series.cat.<method_o Categorical.remove_categories Categorical.remove_unused_categories...
closes #9347 closes #9190 closes #9148 so this is option 4). Default is now `ordered=False` (independently of whether you specify categories or not) The ordering is still what factorize does (seen order, if no categories are specified). Add `set_ordered` to change the `ordered` flag, which by default returns a new ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9611
2015-03-07T16:57:19Z
2015-03-10T01:23:04Z
null
2015-03-10T01:23:04Z
ENH: Add days_in_month property to Timestamp/DatetimeIndex/... (GH9572)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index d45125f2be7f3..9df0234da93be 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -61,6 +61,7 @@ New features - Added ``StringMethods.ljust()`` and ``rjust()`` which behave as the same as standard ``st...
closes #9572 Added days_in_month property (compatibility alias daysinmonth) to Timestamp, DatetimeIndex, Period, PeriodIndex, Series.dt. Although not mentioned in the GH issue, I added the property to Period and PeriodIndex to be consistent with the others: dayofweek, dayofyear, etc.
https://api.github.com/repos/pandas-dev/pandas/pulls/9605
2015-03-06T20:01:46Z
2015-03-06T23:09:16Z
2015-03-06T23:09:16Z
2015-03-07T15:09:41Z
Fix several stata doc issues
diff --git a/doc/source/io.rst b/doc/source/io.rst index 1b88a5ba3ba98..d49e88c953b27 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3779,15 +3779,15 @@ into a .dta file. The format version of this file is always 115 (Stata 12). df = DataFrame(randn(10, 2), columns=list('AB')) df.to_stata('stata.dta...
Related to #9493
https://api.github.com/repos/pandas-dev/pandas/pulls/9601
2015-03-06T12:35:44Z
2015-03-06T23:01:56Z
2015-03-06T23:01:56Z
2015-11-12T23:44:11Z
BUG: Regression in merging Categorical and object dtypes (GH9426)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 653c71a4e2d3c..b98429b82b9af 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -521,7 +521,7 @@ Bug Fixes - ``SparseSeries`` and ``SparsePanel`` now accept zero argument constructors (same as th...
closes #9426
https://api.github.com/repos/pandas-dev/pandas/pulls/9597
2015-03-06T00:32:55Z
2015-03-06T03:18:10Z
2015-03-06T03:18:10Z
2015-03-06T03:18:11Z
DOC: update tutorial docs on changed sniffing feature of read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index e71b4134f5b9c..d1c134e1c6e9d 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -82,10 +82,10 @@ They can take a number of arguments: (including http, ftp, and S3 locations), or any object with a ``read`` method (such as an open file or ``StringI...
This was apparantly already changed in 0.7, but the docs were still wrong about it. The current example did not make much sense: http://pandas.pydata.org/pandas-docs/stable/io.html#automatically-sniffing-the-delimiter
https://api.github.com/repos/pandas-dev/pandas/pulls/9588
2015-03-04T15:46:25Z
2015-03-05T09:20:43Z
2015-03-05T09:20:43Z
2015-03-05T09:20:43Z
Test added and patch to fix python-version-dependent issues when len ro...
diff --git a/pandas/sparse/scipy_sparse.py b/pandas/sparse/scipy_sparse.py index 91ec26396b3ec..da079a97873b8 100644 --- a/pandas/sparse/scipy_sparse.py +++ b/pandas/sparse/scipy_sparse.py @@ -8,7 +8,7 @@ from pandas.core.series import Series import itertools import numpy as np -from pandas.compat import OrderedDict...
...w/col_levels is 1. The docs for sparse to_coo methods failed to build. There was some case (row_levels len 1) that failed in python 2.7 only that I failed to test (and I have been building docs in python 3). Have added test and patched. Also needed to expand the interator (list(map(... ) in the "# squish" line as t...
https://api.github.com/repos/pandas-dev/pandas/pulls/9583
2015-03-03T23:44:05Z
2015-03-05T23:21:12Z
2015-03-05T23:21:12Z
2015-03-07T12:43:55Z
Deprecation for 0.16 (#6581)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 1550527706a9e..7c9366947059b 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -217,6 +217,12 @@ Deprecations .. _whatsnew_0160.deprecations: +- ``DataFrame.pivot_table`` and ``crosstab``'s ``ro...
These are the deprecations that are to be removed in 0.16, per #6581, except for the deprecations around the boxplot function.
https://api.github.com/repos/pandas-dev/pandas/pulls/9582
2015-03-03T23:34:30Z
2015-03-04T20:50:28Z
2015-03-04T20:50:28Z
2015-03-04T20:50:38Z
Custom column formatters for HTML in IPython, e.g. can show np 2D-array as image
diff --git a/pandas/core/format.py b/pandas/core/format.py index 29f1e1efe9f5d..40adb41e8554e 100644 --- a/pandas/core/format.py +++ b/pandas/core/format.py @@ -684,7 +684,8 @@ def _format_col(self, i): return format_array( frame.iloc[:, i]._values, formatter, float_format=self.float_...
I've created a [gist](https://gist.github.com/d1manson/f2589d4e4b44ff3ba85b) to explain in more detail, and with a screenshot.
https://api.github.com/repos/pandas-dev/pandas/pulls/9579
2015-03-03T17:07:06Z
2015-11-10T01:30:23Z
null
2015-11-10T01:30:23Z
BUG: Raise TypeError when serializing 0d ndarray
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 08222ef06d21f..c81d58bb3ade2 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -143,3 +143,6 @@ Bug Fixes - Bug in `Series.from_csv` with ``header`` kwarg not setting the ``Series.name`` or the ``Se...
Previously pandas ujson Segfault. see #9576 This is an initial fix. I'll try to make sens out of ujson and see if 0d array can be handle in a better way. However, At the moment raising an exception is still better than a Segfault.
https://api.github.com/repos/pandas-dev/pandas/pulls/9578
2015-03-03T16:13:23Z
2015-08-31T12:13:27Z
null
2015-08-31T12:13:27Z
allow method=nearest for fillna. see issue #9471.
diff --git a/pandas/core/common.py b/pandas/core/common.py index 4de63cf59bd1c..e413428e792bf 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -2683,7 +2683,8 @@ def _astype_nansafe(arr, dtype, copy=True): return arr.view(dtype) -def _clean_fill_method(method, allow_nearest=False): +def _clean...
closes #9471
https://api.github.com/repos/pandas-dev/pandas/pulls/9577
2015-03-03T15:30:40Z
2015-05-09T16:10:18Z
null
2015-05-09T16:10:18Z
DOC: Fixup image size
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index e9f2dcf86e6a3..1550527706a9e 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -67,6 +67,7 @@ calculate the ratio, and plot .plot(kind='scatter', x='SepalRatio', y='PetalRatio')) .. image...
Should fix the image being too big: http://pandas-docs.github.io/pandas-docs-travis/whatsnew.html#new-features
https://api.github.com/repos/pandas-dev/pandas/pulls/9575
2015-03-03T04:06:38Z
2015-03-03T21:15:19Z
2015-03-03T21:15:19Z
2017-04-05T02:06:18Z
fixing pandas.DataFrame.plot(): labels do not appear in legend and label kwd
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 3c3742c968642..c874a9aaa5d93 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -50,6 +50,8 @@ Performance Improvements Bug Fixes ~~~~~~~~~ +- Fixed bug (:issue:`9542`) where labels did not appear...
Closes https://github.com/pydata/pandas/issues/9542, #8905 The following behavior has been tested: - `df.plot(y='sin(x)')` -> gives a legend with label 'None' -> this should give no legend instead (as it plots one series, and then we don't automatically add a legend, see behaviour of df['sin(x)'].plot()) - `df.plot(y...
https://api.github.com/repos/pandas-dev/pandas/pulls/9574
2015-03-03T03:39:15Z
2015-03-31T01:29:08Z
2015-03-31T01:29:08Z
2015-05-01T16:06:11Z
API: consistency with .ix and .loc for getitem operations (GH8613)
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index 5ab72f633f49b..5079b4fa8ad6f 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -85,7 +85,7 @@ of multi-axis indexing. - ``.iloc`` is primarily integer position based (from ``0`` to ``length-1`` of the axis), but may also be u...
closes #8613 ``` In [1]: df = DataFrame(np.random.randn(5,4), columns=list('ABCD'), index=date_range('20130101',periods=5)) In [2]: df Out[2]: A B C D 2013-01-01 -1.380065 1.221596 0.279703 -0.119258 2013-01-02 1.684202 -0.202251 -0.961145 -1.595015 2013-01-03...
https://api.github.com/repos/pandas-dev/pandas/pulls/9566
2015-02-28T21:01:15Z
2015-03-04T20:46:25Z
2015-03-04T20:46:25Z
2015-03-13T17:47:35Z
BUG: Fix read_csv on S3 files for python 3
diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt index f3df26e7a0c24..0d515f300f5a7 100644 --- a/ci/requirements-2.7.txt +++ b/ci/requirements-2.7.txt @@ -13,7 +13,7 @@ lxml=3.2.1 scipy xlsxwriter=0.4.6 statsmodels -boto=2.26.1 +boto=2.36.0 bottleneck=0.8.0 psycopg2=2.5.2 patsy diff --git a/doc/sour...
Closes https://github.com/pydata/pandas/issues/9452 Needed to pass along encoding parameter. No tests... Kind of hard since it's only s3 only.
https://api.github.com/repos/pandas-dev/pandas/pulls/9561
2015-02-27T02:29:26Z
2015-03-06T03:20:52Z
2015-03-06T03:20:52Z
2017-04-05T02:06:14Z
Moved caching in AbstractHolidayCalendar to the instance level
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 352f079f38e96..2f18592f886e0 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -154,3 +154,4 @@ Bug Fixes - Bug where dividing a dataframe containing values of type ``Decimal`` by another ``Decima...
Closes #9552
https://api.github.com/repos/pandas-dev/pandas/pulls/9555
2015-02-26T09:11:20Z
2015-04-14T16:40:34Z
2015-04-14T16:40:34Z
2015-04-14T17:19:27Z
`read_hdf` opens the store in `rw` mode by default.
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index ead3c79430bf9..ecc497f98a5be 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -344,3 +344,4 @@ Bug Fixes - Bug in groupby MultiIndex with missing pair (:issue:`9049`, :issue:`9344`) - Fixed bug in...
Currently the `HDFStore` in `read_hdf` is opened in `rw` mode by default, leading to permission errors when reading a non-writeable file. This patch changes the default mode to `r`.
https://api.github.com/repos/pandas-dev/pandas/pulls/9551
2015-02-25T12:37:31Z
2015-03-05T23:24:41Z
null
2022-10-13T00:16:27Z
ENH + BUG: insert of new values for axis parameter on pandas.DataFrame.quantile
diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt index 73ae5351ca374..b4f696ee27cbf 100644 --- a/doc/source/whatsnew/v0.16.2.txt +++ b/doc/source/whatsnew/v0.16.2.txt @@ -40,6 +40,7 @@ Other API Changes ^^^^^^^^^^^^^^^^^ - ``Holiday`` now raises ``NotImplementedError`` if both ``offset...
closes #9543 I added the values "index" and "columns" for the axis parameter of the method pandas.DataFrame.quantile(). Also, there was no check on the value inserted for axis. E.g. if 2 or "foo" was inserted, no ValueError() was raised. I added a basic check. Thanks
https://api.github.com/repos/pandas-dev/pandas/pulls/9544
2015-02-24T21:12:07Z
2015-06-07T22:54:38Z
null
2015-06-07T22:54:38Z
Allows for more options when getting data from dictionaries.
diff --git a/pandas/core/cloud_patch.py b/pandas/core/cloud_patch.py new file mode 100644 index 0000000000000..f3160347766fb --- /dev/null +++ b/pandas/core/cloud_patch.py @@ -0,0 +1,184 @@ + +def _dataframe_dict(data, index=None, filler='', header=None): + if isinstance(data, dict): + try: + if de...
Fixes #9502 See the [cloudtb tests/test_pandas.py](https://github.com/cloudformdesign/cloudtb/blob/f/pandas/tests/test_pandas.py) for more examples of use. Once it is approved to go forward, I will add tests to show more about how it can be used and make sure that every edge case if functional. Has no effect on uni...
https://api.github.com/repos/pandas-dev/pandas/pulls/9529
2015-02-20T02:57:32Z
2015-05-09T16:02:27Z
null
2022-10-13T00:16:27Z
BUG: declare and use self.unique_check
diff --git a/pandas/index.pyx b/pandas/index.pyx index 9be7e7404f3fe..bed385a9ad6aa 100644 --- a/pandas/index.pyx +++ b/pandas/index.pyx @@ -87,6 +87,7 @@ cdef class IndexEngine: self.initialized = 0 self.monotonic_check = 0 + self.unique_check = 0 self.unique = 0 self.mon...
... unless I'm really missing something trivial...
https://api.github.com/repos/pandas-dev/pandas/pulls/9526
2015-02-19T21:35:11Z
2015-05-09T16:00:27Z
null
2015-05-09T16:00:27Z
Squashed version of #9515.
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 0468c220bcb98..b0e2147c20674 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -293,7 +293,7 @@ Bug Fixes - Bug in ``DataFrame.where`` and ``Series.where`` coerce numerics to string incorrectly (:is...
Fixes #9512 Closes #9515
https://api.github.com/repos/pandas-dev/pandas/pulls/9525
2015-02-19T20:58:07Z
2015-02-20T00:04:45Z
2015-02-20T00:04:45Z
2015-02-20T00:04:47Z
Update tslib.pyx
diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx index 85cb50b8f18ae..d311cf04466f2 100644 --- a/pandas/tslib.pyx +++ b/pandas/tslib.pyx @@ -601,6 +601,9 @@ class NaTType(_NaT): def __reduce__(self): return (__nat_unpickle, (None, )) + def date(self): + raise ValueError("pd.NaT.date() can't re...
closes https://github.com/pydata/pandas/issues/9513 pd.NaT.date() was returning datetime.date(1, 255, 255) it raises now a ValueError
https://api.github.com/repos/pandas-dev/pandas/pulls/9523
2015-02-19T17:16:47Z
2015-05-09T16:01:43Z
null
2022-10-13T00:16:26Z
BUG: Bug in .loc partial setting with a np.datetime64 (GH9516)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 0468c220bcb98..52d1b7b537d5a 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -227,7 +227,7 @@ Bug Fixes column with timezone info) to the according sqlalchemy type (:issue:`9085`). - Fixed bug ...
closes #9516
https://api.github.com/repos/pandas-dev/pandas/pulls/9522
2015-02-19T12:24:15Z
2015-02-19T13:19:45Z
2015-02-19T13:19:45Z
2015-02-19T13:19:46Z
Update tslib.pyx
diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx index 85cb50b8f18ae..d311cf04466f2 100644 --- a/pandas/tslib.pyx +++ b/pandas/tslib.pyx @@ -601,6 +601,9 @@ class NaTType(_NaT): def __reduce__(self): return (__nat_unpickle, (None, )) + def date(self): + raise ValueError("pd.NaT.date() can't re...
Fix https://github.com/pydata/pandas/issues/9513
https://api.github.com/repos/pandas-dev/pandas/pulls/9520
2015-02-19T09:57:27Z
2015-02-19T17:17:00Z
null
2015-02-19T17:17:00Z
BUG: multiple level unstack with nulls
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 0468c220bcb98..fc30e24588d15 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -235,7 +235,7 @@ Bug Fixes - Fixed bug on bug endian platforms which produced incorrect results in ``StataReader`` (:is...
closes https://github.com/pydata/pandas/issues/9497 ``` >>> mi jim joe 1st 2nd 3rd 1 2014-02-01 -1 days 100 -20.87 2 NaT NaT 101 5.76 1 2014-02-03 1 days 102 -4.94 2 NaT 2 days 103 -0.79 1 2014-02-05 NaT 104 -12.51 2 2014-02-06 4 days 105...
https://api.github.com/repos/pandas-dev/pandas/pulls/9517
2015-02-19T02:50:53Z
2015-03-05T23:25:34Z
2015-03-05T23:25:33Z
2015-03-06T02:52:19Z
FIX: Fix some instances where idx[0] not in idx
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 0468c220bcb98..b0e2147c20674 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -293,7 +293,7 @@ Bug Fixes - Bug in ``DataFrame.where`` and ``Series.where`` coerce numerics to string incorrectly (:is...
`DatetimeIndex.__contains__` and `TimedeltaIndex.__contains__` were failing to see duplicated elements in some circumstances. Fixes #9512
https://api.github.com/repos/pandas-dev/pandas/pulls/9515
2015-02-18T22:10:59Z
2015-02-20T00:04:45Z
null
2015-02-20T16:11:04Z
BUG: period_helper.c is not excluded from clean
diff --git a/setup.py b/setup.py index 34bf4685d5dd5..4b2e8c6e01889 100755 --- a/setup.py +++ b/setup.py @@ -274,7 +274,7 @@ def initialize_options(self): ujson_lib = pjoin(base,'ujson','lib') self._clean_exclude = [pjoin(dt,'np_datetime.c'), pjoin(dt,'np_datetime_strin...
I missed this when I was rebasing.
https://api.github.com/repos/pandas-dev/pandas/pulls/9508
2015-02-17T20:47:51Z
2015-02-17T21:29:04Z
2015-02-17T21:29:04Z
2015-02-17T23:26:53Z
PERF: Cython optimizations for period module, round one
diff --git a/pandas/src/period.pyx b/pandas/src/period.pyx index e57bdc3b33c5e..05e8ed22fc316 100644 --- a/pandas/src/period.pyx +++ b/pandas/src/period.pyx @@ -1,6 +1,11 @@ from datetime import datetime, date, timedelta import operator +from cpython cimport ( + PyObject_RichCompareBool, + Py_EQ, Py_NE, +) + ...
Each commit passes `test_fast.sh`, so performance can be measured between commits. I can break any of these commits into separate PRs if needed.
https://api.github.com/repos/pandas-dev/pandas/pulls/9504
2015-02-17T16:38:03Z
2015-03-01T21:18:33Z
2015-03-01T21:18:33Z
2015-03-01T21:18:33Z
BUG: Incorrect dtypes inferred on datetimelike looking series & on xs slices (GH9477)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 63119e90a1337..ead3c79430bf9 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -246,6 +246,7 @@ Bug Fixes - Fixed bug in ``to_sql`` ``dtype`` argument not accepting an instantiated SQLAlchemy typ...
closes #9477
https://api.github.com/repos/pandas-dev/pandas/pulls/9501
2015-02-16T23:44:53Z
2015-02-24T13:49:22Z
2015-02-24T13:49:22Z
2015-02-24T13:49:22Z
BLD: revise setup.py to clean properly on windows platforms
diff --git a/setup.py b/setup.py index c7edc2ebd66f8..42d666dcb8f5c 100755 --- a/setup.py +++ b/setup.py @@ -265,16 +265,23 @@ def initialize_options(self): self.all = True self._clean_me = [] self._clean_trees = [] - self._clean_exclude = ['pandas/src/datetime/np_datetime.c', - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9500
2015-02-16T22:03:01Z
2015-02-16T22:43:57Z
2015-02-16T22:43:57Z
2015-02-16T22:43:57Z
TST: fix read_pickle for win32 compat
diff --git a/pandas/io/tests/generate_legacy_pickles.py b/pandas/io/tests/generate_legacy_pickles.py index 56ef1aa9b0f19..e1cf541fe6195 100644 --- a/pandas/io/tests/generate_legacy_pickles.py +++ b/pandas/io/tests/generate_legacy_pickles.py @@ -11,7 +11,6 @@ def _create_sp_series(): # nan-based arr = np.ara...
https://api.github.com/repos/pandas-dev/pandas/pulls/9499
2015-02-16T14:55:58Z
2015-02-16T15:37:45Z
2015-02-16T15:37:45Z
2015-02-16T15:37:45Z
Promote some code consistency in type testing methods
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index a06ff5b492879..fd9ef5d2e319a 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -10,7 +10,6 @@ from pandas.core.algorithms import factorize from pandas.core.base import PandasObject, PandasDelegate from pandas.core.in...
https://api.github.com/repos/pandas-dev/pandas/pulls/9498
2015-02-16T00:52:53Z
2015-02-16T00:53:41Z
2015-02-16T00:53:41Z
2015-02-16T00:53:41Z
ENH Read Stata dta file incrementally
diff --git a/doc/source/io.rst b/doc/source/io.rst index e71b4134f5b9c..c4865fddb099b 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3821,22 +3821,41 @@ outside of this range, the variable is cast to ``int16``. Reading from Stata format ~~~~~~~~~~~~~~~~~~~~~~~~~ -The top-level function ``read_stata`` wi...
This PR adds a get_chunk method to StataReader to allow files to be read incrementally. This is quite useful when processing large files that can barely fit into memory. The interface is modeled after the analogous method in TextFileReader. There are some limitations when incrementally converting categoricals in pre...
https://api.github.com/repos/pandas-dev/pandas/pulls/9493
2015-02-15T04:30:17Z
2015-03-05T23:26:19Z
2015-03-05T23:26:19Z
2015-11-12T23:44:19Z
WIP/TST: Added test of unstacking two levels with NaN.
diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py index 563e9d4dae57c..d9f28d23ba811 100644 --- a/pandas/tests/test_frame.py +++ b/pandas/tests/test_frame.py @@ -12407,7 +12407,8 @@ def verify(df): # GH7403 df = pd.DataFrame({'A': list('aaaabbbb'),'B':range(8), 'C':range(8)}) ...
Added a test to `test_unstack_nan_index()` for unstacking two levels simultaneously when one of them contains a `NaN`. Should delete the `print()` statements before merging... This is the output I get: ``` ====================================================================== FAIL: test_unstack_nan_index (pandas.tes...
https://api.github.com/repos/pandas-dev/pandas/pulls/9492
2015-02-14T16:52:17Z
2015-02-15T23:14:46Z
null
2015-02-16T00:30:51Z
BUG: unstack with nulls & Timedelta/DateTime index
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index cd7cdbb645686..a7ea85685bdaf 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -205,6 +205,7 @@ Bug Fixes - Bug in left ``join`` on multi-index with ``sort=True`` or null values (:issue:`9210`). - ...
xref https://github.com/pydata/pandas/pull/9292#discussion_r24620887 on branch: ``` >>> df a b c 0 2014-02-01 -1 days 100 1 NaT NaT 101 2 2014-02-03 1 days 102 3 NaT 2 days 103 4 2014-02-05 NaT 104 5 2014-02-06 4 days 105 >>> df.pivot('a', 'b', 'c').fillna('-') b ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9491
2015-02-14T14:21:58Z
2015-02-16T12:30:41Z
2015-02-16T12:30:41Z
2015-03-06T02:53:33Z
CLN: import packers/gbq/html only on-demand (GH9482)
diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py index 572a8be5c65e8..225adaf6803a6 100644 --- a/pandas/io/gbq.py +++ b/pandas/io/gbq.py @@ -13,7 +13,7 @@ from pandas.tools.merge import concat from pandas.core.common import PandasError - +_IMPORTS = False _GOOGLE_API_CLIENT_INSTALLED = False _GOOGLE_API_CLIENT_VA...
closes #9482 so a 30% reduction in import time ``` [jreback-~/pandas] time python -c 'import pandas' 0.788u 0.120s 0:00.91 98.9% 0+0k 0+7io 0pf+0w [jreback-~/pandas] time python -c 'import pandas' 0.782u 0.115s 0:00.91 97.8% 0+0k 0+0io 0pf+0w [jreback-~/pandas] time python -c 'import pandas' 0.790u 0.121s 0:0...
https://api.github.com/repos/pandas-dev/pandas/pulls/9487
2015-02-13T23:09:53Z
2015-02-24T11:14:34Z
2015-02-24T11:14:34Z
2015-02-24T11:14:35Z
Updated whatsnew for 16.0 for change to hdf dropna default
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 9e1546f5e50a9..6c036d80bced2 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -130,6 +130,34 @@ methods (:issue:`9088`). d 7 dtype: int64 + - default behavior for HDF write functions ...
Document changes from issue 9382
https://api.github.com/repos/pandas-dev/pandas/pulls/9486
2015-02-13T21:27:46Z
2015-02-13T21:37:12Z
null
2015-03-13T03:49:22Z
Default values for dropna to "False" (issue 9382)
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 3c3742c968642..012a35d9d2f6e 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -29,6 +29,46 @@ API changes +Backwards incompatible API changes +~~~~~~~~~~~ +- default behavior for HDF write fun...
PLEASE REVIEW: This is my commit to a major project, and would appreciate a quick once over! As per discussion in Issue 9382, changes all HDF functions from having default of dropping all rows with NA in all non-index rows. closes #9382
https://api.github.com/repos/pandas-dev/pandas/pulls/9484
2015-02-13T19:40:00Z
2015-05-09T16:00:02Z
null
2015-06-03T00:09:00Z
BUG: bug in sort for grouping with a categorical columns (GH8868)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index c12513e087619..e75e7d8d23d13 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -307,3 +307,4 @@ Bug Fixes - Bug in ``read_csv`` with buffer overflows with certain malformed input files (:issue:`9205...
Closes #8868 hack. I can add tests if this passes the CI and we think this should be taken further.
https://api.github.com/repos/pandas-dev/pandas/pulls/9480
2015-02-12T23:44:58Z
2015-02-18T11:27:50Z
2015-02-18T11:27:50Z
2015-02-21T13:03:58Z
BUG: bug in partial setting of with a DatetimeIndex (GH9478)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 3fa48c7e9a1fc..83d24cc081755 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -186,7 +186,7 @@ Bug Fixes - Bug in Panel indexing with an object-like (:issue:`9140`) - Bug in the returned ``Series....
closes #9478
https://api.github.com/repos/pandas-dev/pandas/pulls/9479
2015-02-12T22:29:18Z
2015-02-13T20:22:23Z
2015-02-13T20:22:23Z
2015-02-13T20:22:24Z
BUG: binary operator method alignment with integer level (GH9463)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 0234a0dab8e28..bd5ffca3f8ecc 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -228,7 +228,7 @@ Bug Fixes - +- Bug in binary operator method (eg ``.mul()``) alignment with integer levels (:issu...
Closes #9463 @jreback also related to #6682 (I removed 'join compat' introduced in that PR, as this worked only for level names, and passing `level=level` works for both level names and integer level numbers)
https://api.github.com/repos/pandas-dev/pandas/pulls/9475
2015-02-12T16:34:48Z
2015-02-23T11:46:54Z
2015-02-23T11:46:54Z
2015-02-23T11:46:54Z
BUG: fix common.is_hashable for NumPy scalars on Python 3
diff --git a/pandas/core/common.py b/pandas/core/common.py index f8f5928ca7d51..d2c0406d87310 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -2537,13 +2537,13 @@ def is_hashable(arg): >>> is_hashable(a) False """ - # don't consider anything not collections.Hashable, so as not to bro...
Fixes #9276 This now relies entirely on the result of calling `hash` on the argument. Note: I had to change the test for old style classes on Python 2 -- these are now considered hashable by `is_hashable`, because they don't fail `hash`. CC @aevri
https://api.github.com/repos/pandas-dev/pandas/pulls/9473
2015-02-12T04:44:08Z
2015-02-16T21:53:33Z
2015-02-16T21:53:33Z
2015-02-16T21:53:34Z
ENH: Series.idxnonzero() to return the index of nonzero entries
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 238a838cf727e..47174e0682449 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -143,6 +143,7 @@ Enhancements .. _whatsnew_0160.enhancements: +- Added ``Series.idxnonzero()`` to return the index ...
Added a straightforward Serie function '`idxnonzero`', similar to `idxmin`/`idxmax` When filtering data, a `nonzero` pattern is actually very handy; yet panda’s version returns the iloc (for compatibility with numpy), which prevent to use the result on a differently-shaped dataframe, defeating the power of pandas inde...
https://api.github.com/repos/pandas-dev/pandas/pulls/9472
2015-02-12T02:29:17Z
2015-05-09T16:00:15Z
null
2015-05-09T16:00:15Z
BUG: Bug in Categorical.__getitem__/__setitem__ with listlike input getting incorrect result from indexer coercion (GH9469)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 9395d730d99ee..3fa48c7e9a1fc 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -185,7 +185,7 @@ Bug Fixes - Fixed compatibility issue in ``DatetimeIndex`` affecting architectures where ``numpy.int_`...
closes #9469
https://api.github.com/repos/pandas-dev/pandas/pulls/9470
2015-02-11T21:32:22Z
2015-02-12T19:23:50Z
2015-02-12T19:23:50Z
2015-02-12T19:23:50Z
TST: Remove assertEquals
diff --git a/pandas/tests/test_categorical.py b/pandas/tests/test_categorical.py index 3bcec19b14340..4ba2d5e9acd53 100644 --- a/pandas/tests/test_categorical.py +++ b/pandas/tests/test_categorical.py @@ -1457,7 +1457,7 @@ def test_describe(self): # Categoricals should not show up together with numerical col...
Same as #7165. I've also added some of these tests :( One idea to prevent this is to override ``tm.TestCase.assertEquals` to raise more explicit warning or exception.
https://api.github.com/repos/pandas-dev/pandas/pulls/9465
2015-02-11T12:24:36Z
2015-02-16T12:56:08Z
2015-02-16T12:56:08Z
2015-03-31T13:31:50Z
BUG: subplots with layout kw may show unnecessary warning
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 238a838cf727e..3bb035a1c757b 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -237,6 +237,7 @@ Bug Fixes - Bug in boxplot, scatter and hexbin plot may show an unnecessary warning (:issue:`8877`...
Related to #8877 and #9278. There is remaining case which shows unnecessary warning. Occurrence condition: - `subplots=True`. - `layout` is specified larger than the number of required subplot axes. In this case, `legend` is called against blank axes and results in warning.
https://api.github.com/repos/pandas-dev/pandas/pulls/9464
2015-02-11T12:12:41Z
2015-03-05T23:27:56Z
2015-03-05T23:27:56Z
2015-03-31T13:31:53Z
Fix bug in multiindex series groupby where sort argument is ignored
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 238a838cf727e..9395d730d99ee 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -268,3 +268,4 @@ Bug Fixes - Bug in ``read_csv`` with buffer overflows with certain malformed input files (:issue:`92...
PR as per. One test added. Test fails without the fix. closes https://github.com/pydata/pandas/issues/9444
https://api.github.com/repos/pandas-dev/pandas/pulls/9461
2015-02-10T22:23:29Z
2015-02-11T14:19:34Z
2015-02-11T14:19:34Z
2015-02-11T14:19:38Z
Groupby sort
diff --git a/doc/source/api.rst b/doc/source/api.rst index a8097f2648c4b..037ea6c75580e 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -620,6 +620,14 @@ Serialization / IO / Conversion Series.to_string Series.to_clipboard +Sparse methods +~~~~~~~~~~~~~~ +.. autosummary:: + :toctree: generated/ ...
PR as per issue 9444. One test added. https://github.com/pydata/pandas/issues/9444
https://api.github.com/repos/pandas-dev/pandas/pulls/9460
2015-02-10T22:03:31Z
2015-02-10T22:12:19Z
null
2015-02-10T23:31:56Z
BUG: improve handling of Series.value_counts's argument 'dropna' (GH9443)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index fcf18e6c1cf94..71a1990df4539 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -535,3 +535,11 @@ Bug Fixes - Fixed bug with reading CSV files from Amazon S3 on python 3 raising a TypeError (:issue:`...
closes #9443
https://api.github.com/repos/pandas-dev/pandas/pulls/9459
2015-02-10T21:09:23Z
2015-03-08T16:12:47Z
null
2015-03-08T16:12:52Z
BUG: handle NotImplementedError in Index comparisons
diff --git a/pandas/core/index.py b/pandas/core/index.py index 2e23c38dd3457..7e40dbed15782 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -53,6 +53,20 @@ def wrapper(self, other): func = getattr(self._data.view(np.ndarray), opname) result = func(np.asarray(other)) + # This i...
Fixes issue #9432 A very specific fix that is not anticipated to impact performance. The test performed is safe and documents that the origin of the problem is actually numpy. When this numpy bug is fixed it will be easy to remove this code.
https://api.github.com/repos/pandas-dev/pandas/pulls/9451
2015-02-09T12:40:34Z
2015-05-09T16:03:59Z
null
2022-10-13T00:16:25Z
ENH Read mutiple excel sheets in single API call
diff --git a/doc/source/io.rst b/doc/source/io.rst index f8fe6fc8a4c3a..ff031ccc88ddf 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1949,56 +1949,106 @@ module and use the same parsing code as the above to convert tabular data into a DataFrame. See the :ref:`cookbook<cookbook.excel>` for some advanced st...
Enables reading of multiple excel sheets in a single API call, reducing read time substantially. Essentially, 2O(n) becomes O(1) + O(n). ## Before ``` python dfs = {} for sheet in [‘Sheet1’,’Sheet2’,’Sheet3’]: #We have to open the file 3 times = Super Slow dfs[sheet] = pd.read_excel("TestData.xlsx",sheetname...
https://api.github.com/repos/pandas-dev/pandas/pulls/9450
2015-02-09T11:53:24Z
2015-02-23T12:52:09Z
2015-02-23T12:52:09Z
2015-02-24T00:52:59Z
PERF: performance improvement in MultiIndex.sortlevel
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 0234a0dab8e28..8a8e3db83a583 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -175,6 +175,7 @@ Performance - Performance improvement of up to 20x in ``DataFrame.count`` when using a ``MultiIndex`` ...
``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- multiindex_sortlevel_int64 | 664.1977 | 2443.2590 | 0.27...
https://api.github.com/repos/pandas-dev/pandas/pulls/9445
2015-02-08T20:10:45Z
2015-02-16T12:33:49Z
2015-02-16T12:33:49Z
2015-03-05T12:48:28Z
BUG: scatter_matrix draws incorrect axis
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index 55922091556c1..ca316bbac8474 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -58,9 +58,11 @@ Performance Improvements Bug Fixes ~~~~~~~~~ -- Fixed bug (:issue:`9542`) where labels did not appea...
Closes #5662. Refactored a little. Made examples to confirm 1st and 2nd row's yaxis are identical. ``` import pandas as pd import numpy as np df = pd.DataFrame(np.random.randn(100, 3)) df[0] = df[1] pd.tools.plotting.scatter_matrix(df) ``` ![figure_1](https://cloud.githubusercontent.com/assets/1696302/6092365/63f4ce...
https://api.github.com/repos/pandas-dev/pandas/pulls/9441
2015-02-07T14:12:40Z
2015-03-31T21:06:09Z
2015-03-31T21:06:09Z
2015-04-01T03:27:26Z
PERF: Move Period class and related functions to Cython module
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index c12513e087619..63606cb830cbe 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -208,6 +208,7 @@ Performance - Performance and memory usage improvements in ``merge`` when key space exceeds ``int64`` ...
I propose that Period should be a more basic type, like Timestamp. I wanted to start with implementing frequencies with multipliers (see issue #7811), but the code for Period was all over the place. So, I moved all code directly related to Period to a Cython module. Changed a bit of the logic to make calls from Cytho...
https://api.github.com/repos/pandas-dev/pandas/pulls/9440
2015-02-07T10:30:59Z
2015-02-17T14:33:06Z
2015-02-17T14:33:06Z
2015-02-17T14:38:12Z
ENH: Add StringMethods.isnumeric and isdecimal
diff --git a/doc/source/api.rst b/doc/source/api.rst index abf0c235db895..fa898a95e6694 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -559,6 +559,8 @@ strings and apply several methods to it. These can be acccessed like Series.str.islower Series.str.isupper Series.str.istitle + Series.str.is...
Derived from #9111.
https://api.github.com/repos/pandas-dev/pandas/pulls/9439
2015-02-06T22:47:18Z
2015-02-10T14:14:19Z
2015-02-10T14:14:19Z
2015-02-11T10:41:58Z
DOC: Clarify definition of kurtosis used
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b2adfae744db7..f454af5df9c90 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3998,7 +3998,9 @@ def stat_func(self, axis=None, skipna=None, level=None, nanops.nanskew) cls.kurt = _make_stat_function( ...
Added explation that kurtosis returned is Fisher's kurtosis, also known as excess kurtosis. Also cleans up the kurtosis function to remove some unused computations.
https://api.github.com/repos/pandas-dev/pandas/pulls/9437
2015-02-06T21:32:39Z
2015-02-10T14:16:52Z
2015-02-10T14:16:52Z
2015-06-04T20:46:54Z
Fix typo in np.uint8 type in pandas.io.parsers
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index 637612d5fb09d..99fb24ebf91dd 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -991,7 +991,7 @@ def _convert_to_ndarrays(self, dct, na_values, na_fvalues, verbose=False, try: values = lib.map_infer(values,...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/9436
2015-02-06T17:02:57Z
2015-03-06T00:00:27Z
null
2022-10-13T00:16:24Z
PERF: performance improvements in multi-key groupby
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index e8b398aec4b74..0234a0dab8e28 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -174,6 +174,7 @@ Performance - Performance improvement of up to 10x in ``DataFrame.count`` and ``DataFrame.dropna`` by ...
``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- groupby_multi_index | 1008.6970 | 1861.1110 | 0.5...
https://api.github.com/repos/pandas-dev/pandas/pulls/9429
2015-02-06T00:38:58Z
2015-02-07T12:44:31Z
2015-02-07T12:44:31Z
2015-02-07T13:05:53Z
ENH: Don't infer WOM-5MON if we don't support it (#9425)
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 9b87c6c1332ab..93c34898a394d 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -89,3 +89,4 @@ Bug Fixes - Bug in GroupBy.get_group raises ValueError when group key contains NaT (:issue:`6992`) +...
closes #9425
https://api.github.com/repos/pandas-dev/pandas/pulls/9427
2015-02-05T23:47:57Z
2015-05-30T21:28:14Z
2015-05-30T21:28:14Z
2015-06-02T19:26:59Z
Fix truncated Index monotonic documentation
diff --git a/pandas/core/index.py b/pandas/core/index.py index 63d8554cbaa03..2e23c38dd3457 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -581,15 +581,17 @@ def is_monotonic(self): @property def is_monotonic_increasing(self): - """ return if the index is monotonic increasing (only e...
https://api.github.com/repos/pandas-dev/pandas/pulls/9419
2015-02-05T15:00:53Z
2015-02-05T21:24:20Z
2015-02-05T21:24:20Z
2022-03-15T10:03:49Z
DOC: Fix release note format
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 96a95811b68ac..e8b398aec4b74 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -77,7 +77,7 @@ Backwards incompatible API changes t.components t.components.seconds -- ``Index.duplicated`...
Some descriptions are rendered improperly.
https://api.github.com/repos/pandas-dev/pandas/pulls/9418
2015-02-05T14:04:28Z
2015-02-05T14:09:05Z
2015-02-05T14:09:05Z
2015-02-06T22:35:45Z
improved error message for invalid chart types
diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py index 2d7976d567108..fd3db3f5eef8e 100644 --- a/pandas/tools/plotting.py +++ b/pandas/tools/plotting.py @@ -2266,7 +2266,7 @@ def _plot(data, x=None, y=None, subplots=False, if kind in _all_kinds: klass = _plot_klass[kind] else: - ...
Closes #9400 `pd.Series([2,3,4]).plot("quiver")` now gives an improved error message: ``` Users/ch/miniconda/envs/pd_dev34/lib/python3.4/site-packages/pandas/tools/plotting.py in _plot(data, x, y, subplots, ax, kind, **kwds) 2269 klass = _plot_klass[kind] 2270 else: -> 2271 raise ValueError(...
https://api.github.com/repos/pandas-dev/pandas/pulls/9417
2015-02-04T22:30:22Z
2015-02-08T13:35:47Z
2015-02-08T13:35:47Z
2015-08-15T12:37:55Z
BUG: setup.py does not allow equal filenames in *different* directories
diff --git a/setup.py b/setup.py index e64235affaae2..5cf29d54f8806 100755 --- a/setup.py +++ b/setup.py @@ -265,31 +265,28 @@ def initialize_options(self): self.all = True self._clean_me = [] self._clean_trees = [] - self._clean_exclude = ['np_datetime.c', - ...
Is it possible to write tests for setup.py? ## Setup ``` touch pandas/period.pyx ``` and put this in your `setup.py`'s ext_data: ``` python period=dict(pyxfile='period'), ``` ## Before PR ``` bash python setup.py build_ext --inplace rm -rf pandas/period.c python setup.py build_ext --inplace python setup.py clea...
https://api.github.com/repos/pandas-dev/pandas/pulls/9415
2015-02-04T21:34:41Z
2015-02-11T14:27:56Z
2015-02-11T14:27:56Z
2015-02-11T14:45:10Z
hdfs workflow for cookbook
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 81fe4aac51dd7..06b03bcc18a75 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -872,6 +872,9 @@ Data In/Out `Performance comparison of SQL vs HDF5 <http://stackoverflow.com/questions/16628329/hdf5-and-sqlite-concurrency-compressi...
http://stackoverflow.com/questions/14262433/large-data-work-flows-using-pandas
https://api.github.com/repos/pandas-dev/pandas/pulls/9414
2015-02-04T21:06:22Z
2015-02-05T11:18:24Z
null
2015-02-05T11:18:24Z
test sql table name
diff --git a/doc/source/io.rst b/doc/source/io.rst index e39798434d96c..45052b8346a91 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3368,7 +3368,8 @@ The key functions are: The function :func:`~pandas.read_sql` is a convenience wrapper around :func:`~pandas.read_sql_table` and :func:`~pandas.read...
Closes #9393 simple test for tables names that need to be quoted. This is related to issue [here](https://github.com/pydata/pandas/issues/9393) that is fixed in current master.
https://api.github.com/repos/pandas-dev/pandas/pulls/9411
2015-02-04T02:02:53Z
2015-02-08T11:26:44Z
2015-02-08T11:26:44Z
2015-02-10T16:58:17Z
Fix Panel.to_excel for unicode strings in axis 0
diff --git a/pandas/core/panel.py b/pandas/core/panel.py index df3e6c0195be3..1efa8bb46a31f 100644 --- a/pandas/core/panel.py +++ b/pandas/core/panel.py @@ -3,8 +3,8 @@ """ # pylint: disable=E1103,W0231,W0212,W0621 from __future__ import division -from pandas.compat import (map, zip, range, lrange, lmap, u, OrderedD...
closes issue #9404
https://api.github.com/repos/pandas-dev/pandas/pulls/9409
2015-02-03T23:09:29Z
2015-07-28T21:51:06Z
null
2022-10-13T00:16:23Z
ENH: - Fixed column_format propagation to DataFrameFormatter in to_latex
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index f9bef3d9c7f4a..7a0f7cd073e73 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -614,42 +614,4 @@ Bug Fixes .. code-block:: python - In [2]: pd.options.display.max_rows = 10 - In [3]: s =...
closes #9402
https://api.github.com/repos/pandas-dev/pandas/pulls/9403
2015-02-03T16:32:51Z
2015-07-28T21:52:18Z
null
2022-10-13T00:16:23Z
TST/DOC: Add procedure for TestPickle
diff --git a/pandas/io/tests/test_pickle.py b/pandas/io/tests/test_pickle.py index 3073673575702..d1396463f3b23 100644 --- a/pandas/io/tests/test_pickle.py +++ b/pandas/io/tests/test_pickle.py @@ -18,7 +18,20 @@ from pandas.util.misc import is_little_endian import pandas -class TestPickle(tm.TestCase): +class TestP...
Added procedure to `TestPickle`. Based on #9291, I think updating `setup.py` is likely to be ommitted.
https://api.github.com/repos/pandas-dev/pandas/pulls/9401
2015-02-03T13:41:38Z
2015-02-11T22:58:13Z
2015-02-11T22:58:13Z
2015-02-15T01:33:36Z
PERF: improves performance and memory usage of DataFrame.duplicated
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 0468c220bcb98..e60a75102948f 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -208,6 +208,7 @@ Performance - Performance and memory usage improvements in ``merge`` when key space exceeds ``int64`` ...
on master: ``` In [1]: np.random.seed(2718281) In [2]: n = 1 << 20 In [3]: t = pd.date_range('2015-01-01', freq='S', periods=n // 64) In [4]: xs = np.random.randn(n // 64).round(2) In [5]: df = DataFrame({'a':np.random.randint(- 1 << 8, 1 << 8, n), ...: 'b':np.random.choice(t, n), ...: ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9398
2015-02-03T00:12:12Z
2015-03-03T00:49:35Z
null
2015-03-08T22:34:02Z
MAINT: get rid of some compiler warnings
diff --git a/pandas/src/datetime/np_datetime_strings.c b/pandas/src/datetime/np_datetime_strings.c index 44363fd930510..f7835971ed0b7 100644 --- a/pandas/src/datetime/np_datetime_strings.c +++ b/pandas/src/datetime/np_datetime_strings.c @@ -117,6 +117,7 @@ get_localtime(NPY_TIME_T *ts, struct tm *tms) return -1; ...
- uninitialized pointer - unused variables - unused function - ISO C prototypes - `cimport *` - useless cast before `snprintf`
https://api.github.com/repos/pandas-dev/pandas/pulls/9395
2015-02-02T16:50:50Z
2015-07-02T19:09:35Z
2015-07-02T19:09:35Z
2015-07-03T09:06:00Z
Gh 9391: delete examples folder
diff --git a/examples/data/SOURCES b/examples/data/SOURCES deleted file mode 100644 index e69de29bb2d1d..0000000000000 diff --git a/examples/finance.py b/examples/finance.py deleted file mode 100644 index 91ac57f67d91d..0000000000000 --- a/examples/finance.py +++ /dev/null @@ -1,86 +0,0 @@ -""" -Some examples playing a...
closes #9391 Deleting examples dir as this should be part of documentation
https://api.github.com/repos/pandas-dev/pandas/pulls/9392
2015-02-01T18:28:18Z
2015-02-03T22:44:34Z
2015-02-03T22:44:34Z
2015-02-05T16:52:20Z
GH 9389: fix for example/regressions.py error
diff --git a/examples/regressions.py b/examples/regressions.py index bc58408a6842b..308722c0cfbf8 100644 --- a/examples/regressions.py +++ b/examples/regressions.py @@ -3,13 +3,14 @@ import numpy as np +from pandas import date_range from pandas.core.api import Series, DataFrame, DatetimeIndex from pandas.stats.a...
closes #9389 Looks like using the date_range method fixes the error.
https://api.github.com/repos/pandas-dev/pandas/pulls/9390
2015-02-01T16:11:59Z
2015-02-01T18:22:24Z
null
2015-02-09T06:39:19Z
TST: Cleanup offsets.Tick tests
diff --git a/pandas/tseries/tests/test_offsets.py b/pandas/tseries/tests/test_offsets.py index 6f9e8b6819bd3..b2c798c228dd0 100644 --- a/pandas/tseries/tests/test_offsets.py +++ b/pandas/tseries/tests/test_offsets.py @@ -2818,123 +2818,10 @@ def test_Easter(): assertEq(-Easter(2), datetime(2010, 4, 4), datetime(20...
- Move `Ticks` related tests to under `TestTicks`. - Added some comprehensive test cases.
https://api.github.com/repos/pandas-dev/pandas/pulls/9388
2015-02-01T10:40:53Z
2015-02-05T11:28:38Z
2015-02-05T11:28:38Z
2015-02-05T13:39:22Z
ENH: Add StringMethods.zfill
diff --git a/doc/source/api.rst b/doc/source/api.rst index cb07c2fedc0bf..abf0c235db895 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -551,6 +551,7 @@ strings and apply several methods to it. These can be acccessed like Series.str.strip Series.str.title Series.str.upper + Series.str.zfill ...
Derived from #9111. Fixed docstring of `str_pad` which is inprecise.
https://api.github.com/repos/pandas-dev/pandas/pulls/9387
2015-02-01T10:31:06Z
2015-02-04T13:18:33Z
2015-02-04T13:18:33Z
2015-02-04T13:26:40Z
ENH: Add StringMethod.find and rfind
diff --git a/doc/source/api.rst b/doc/source/api.rst index fa898a95e6694..149421bde28c8 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -531,6 +531,7 @@ strings and apply several methods to it. These can be acccessed like Series.str.encode Series.str.endswith Series.str.extract + Series.str.fi...
Derived from #9111.
https://api.github.com/repos/pandas-dev/pandas/pulls/9386
2015-02-01T10:13:26Z
2015-02-16T13:39:17Z
2015-02-16T13:39:17Z
2015-03-31T13:31:20Z
GH 9384: example/finance.py throws error
diff --git a/examples/finance.py b/examples/finance.py index 91ac57f67d91d..f96b97b9ab9fa 100644 --- a/examples/finance.py +++ b/examples/finance.py @@ -35,12 +35,12 @@ def getQuotes(symbol, start, end): msft = getQuotes('MSFT', startDate, endDate) aapl = getQuotes('AAPL', startDate, endDate) -goog = getQuotes('GOO...
This fixes the HTTP Error 404 thrown by examples/finance.py
https://api.github.com/repos/pandas-dev/pandas/pulls/9385
2015-02-01T00:24:16Z
2015-02-01T18:22:46Z
null
2015-02-09T06:39:09Z
DOC: further clean-up of removed timedelta attributes in whatsnew docs
diff --git a/doc/source/whatsnew/v0.15.0.txt b/doc/source/whatsnew/v0.15.0.txt index 8ec431d6c70ed..01dc8bb080726 100644 --- a/doc/source/whatsnew/v0.15.0.txt +++ b/doc/source/whatsnew/v0.15.0.txt @@ -111,16 +111,25 @@ This type is very similar to how ``Timestamp`` works for ``datetimes``. It is a ``Timedelta`` s...
Follow-up #9318 (and that one from #9257). whatsnew v0.15.0 was giving some errors now, so made it into a code-block
https://api.github.com/repos/pandas-dev/pandas/pulls/9383
2015-01-31T23:02:42Z
2015-02-02T22:11:48Z
2015-02-02T22:11:48Z
2015-02-02T22:11:59Z
bug in groupby when key space exceeds int64 bounds
diff --git a/bench/bench_groupby.py b/bench/bench_groupby.py index a86e8ed623ef7..d7a2853e1e7b2 100644 --- a/bench/bench_groupby.py +++ b/bench/bench_groupby.py @@ -47,7 +47,8 @@ def g(): from pandas.core.groupby import get_group_index -group_index = get_group_index(label_list, shape).astype('i4') +group_index = g...
closes https://github.com/pydata/pandas/issues/9096 also improves performance when there is `int64` overflow; complete groupby benchmarks [here](https://gist.github.com/behzadnouri/e142fbd65f41357a7360). ``` ------------------------------------------------------------------------------- Test name ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9380
2015-01-31T01:34:08Z
2015-01-31T16:23:42Z
2015-01-31T16:23:42Z
2015-02-07T13:07:06Z
DOC: Clarify how date_parser is called (GH9376)
diff --git a/doc/source/io.rst b/doc/source/io.rst index d5bbddfeb7d37..e39798434d96c 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -563,7 +563,7 @@ writing to a file). For example: Date Parsing Functions ~~~~~~~~~~~~~~~~~~~~~~ -Finally, the parser allows you can specify a custom ``date_parser`` functio...
closes #9376
https://api.github.com/repos/pandas-dev/pandas/pulls/9377
2015-01-30T11:13:27Z
2015-02-01T14:58:46Z
2015-02-01T14:58:46Z
2015-02-01T14:58:46Z
PERF: nunique perf improved by using len(unique) rather than value_counts
diff --git a/pandas/core/base.py b/pandas/core/base.py index f648af85b68c5..1ad5acd9f136c 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -440,7 +440,10 @@ def nunique(self, dropna=True): ------- nunique : int """ - return len(self.value_counts(dropna=dropna)) + re...
Before: ``` In [1]: s=pandas.Series(range(100)*1000) In [2]: %timeit s.nunique() 1000 loops, best of 3: 1.43 ms per loop ``` After: ``` In [1]: s=pandas.Series(range(100)*1000) In [4]: %timeit s.nunique() 1000 loops, best of 3: 440 µs per loop ```
https://api.github.com/repos/pandas-dev/pandas/pulls/9364
2015-01-27T21:47:57Z
2015-01-28T06:25:53Z
null
2015-01-28T11:08:35Z
TST add a test for repeat() method with MultiIndex, referenced in #9361
diff --git a/pandas/tests/test_multilevel.py b/pandas/tests/test_multilevel.py index f70d652b5b1eb..38f206d92fb6d 100644 --- a/pandas/tests/test_multilevel.py +++ b/pandas/tests/test_multilevel.py @@ -2261,6 +2261,15 @@ def test_set_index_period(self): self.assertTrue(df.index.get_level_values(1).equals(idx2))...
This was fixed in 0.15, presumably by #7891
https://api.github.com/repos/pandas-dev/pandas/pulls/9362
2015-01-27T11:56:17Z
2015-01-27T17:15:26Z
2015-01-27T17:15:26Z
2015-01-27T17:27:43Z
BUG: Fix buffer overflows in tokenizer.c that caused python to segfault with certain
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 6082a58687c2c..77f09f08195f3 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -134,8 +134,6 @@ Bug Fixes - Bug in the returned ``Series.dt.components`` index was reset to the default index (:issue:...
closes #9205
https://api.github.com/repos/pandas-dev/pandas/pulls/9360
2015-01-27T08:19:25Z
2015-02-05T11:34:48Z
null
2015-02-05T11:34:52Z
CLN: Bring pandas up to date with pandas-datareader
diff --git a/pandas/io/data.py b/pandas/io/data.py index b5cf5f9d9be19..ea635e85ed177 100644 --- a/pandas/io/data.py +++ b/pandas/io/data.py @@ -171,7 +171,15 @@ def _retry_read_url(url, retry_count, pause, name): # return 2 rows for the most recent business day if len(rs) > 2 and rs.index[-1]...
Per: pydata/pandas-datareader#15 Fixes #9010, #9026
https://api.github.com/repos/pandas-dev/pandas/pulls/9358
2015-01-26T16:03:18Z
2015-03-05T23:28:23Z
2015-03-05T23:28:23Z
2015-03-07T21:19:39Z
Deprecating the trellis rplot module (GH3445)
diff --git a/doc/source/_static/rplot-seaborn-example1.png b/doc/source/_static/rplot-seaborn-example1.png new file mode 100644 index 0000000000000..d19a3a018bfbf Binary files /dev/null and b/doc/source/_static/rplot-seaborn-example1.png differ diff --git a/doc/source/_static/rplot-seaborn-example2.png b/doc/source/_st...
Closes #3445 --- Start for #3445. Then the current examples should get a seaborn or ggplot alternative. Questions: - explicitely refer to seaborn and ggplot as alternatives? (as there may be other packages that could feel neglected that way?) - I now raise the warning on import of the module (`import pandas.tools....
https://api.github.com/repos/pandas-dev/pandas/pulls/9357
2015-01-26T09:50:07Z
2015-03-05T08:55:49Z
2015-03-05T08:55:49Z
2015-03-05T08:58:32Z