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 |
|---|---|---|---|---|---|---|---|
BUG: Preserve timezone in unaligned assignments | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index c270f1b9fab86..89960bd6f3a64 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -433,3 +433,5 @@ Bug Fixes
- Bug where ``loffset`` argument was not applied when calling ``resample().count()`` on a ti... | - [x] closes #12981
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
A fix for #12981. When doing a slice assign to a DataFrame where the
right-hand-side was timezone-aware datetime Series which required
realignment to perform the assignment, the timezone would ... | https://api.github.com/repos/pandas-dev/pandas/pulls/12982 | 2016-04-25T16:11:22Z | 2016-04-26T13:22:55Z | null | 2016-04-26T13:23:00Z |
BUG: GH12824 fixed apply() returns different result depending on whet… | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 459bdbf10a4f1..a8edade14359e 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -149,3 +149,4 @@ Bug Fixes
- Bug in ``NaT`` - ``Period`` raises ``AttributeError`` (:issue:`13071`)
- Bug in ``Period`... | - [x] closes #12824
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
In `_wrap_applied_output` for `NDFrameGroupBy`, if the first result of `apply` is `None`, find the first non-`None` result to determine behavior
| https://api.github.com/repos/pandas-dev/pandas/pulls/12977 | 2016-04-25T07:36:38Z | 2016-05-20T14:09:29Z | null | 2016-05-21T03:43:14Z |
fix for read_html with bs4 failing on table with header and one column | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 60103024909a0..2215062a09a01 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -344,3 +344,5 @@ Bug Fixes
- Bug in ``fill_value`` is ignored if the argument to a binary operator is a constant (:... | - [x] closes [#9178](https://github.com/pydata/pandas/issues/9178)
- [x] The test is added and passing (while failing before the fix).
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Fix as had been proposed in [PR 9194](https://github.com/pydata/pandas/pull/9194#issuecomment-209849563), b... | https://api.github.com/repos/pandas-dev/pandas/pulls/12975 | 2016-04-24T20:17:15Z | 2016-04-25T21:57:20Z | null | 2016-04-25T21:57:21Z |
ENH: add .resample(..).interpolate() #12925 | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index cc2269afa6e61..f46dcb97a013d 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -94,8 +94,12 @@ Other Enhancements
idx = pd.Index(['a|b', 'a|c', 'b|c'])
idx.str.get_dummies('|')
+
- ``pd.cr... | - [x] closes #12925
- [X] tests added / passed in pandas/tseries/tests/test_resample.py: Base.test_resample_interpolate()
These tests simply check that df.resample(...).mean().interpolate() gives the same result than df.resample(...).interpolate()
- [X] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew ... | https://api.github.com/repos/pandas-dev/pandas/pulls/12974 | 2016-04-24T16:23:47Z | 2016-04-26T21:37:31Z | null | 2016-04-27T07:19:52Z |
gh9084_get_schema_index_parameter | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 47642c2e2bc28..0cf8dab579673 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -1196,9 +1196,10 @@ def drop_table(self, table_name, schema=None):
self.get_table(table_name, schema).drop()
self.meta.clear()
- def _create_sql_sche... | closes #9084
- new parameters are added to the end of the definition to remain backwards compatible.
- `index` defaults to `False` (not `True` as in `to_sql`) to remain backwards compatible.
- added tests
| https://api.github.com/repos/pandas-dev/pandas/pulls/12973 | 2016-04-24T15:31:06Z | 2017-02-01T20:52:16Z | null | 2017-02-01T20:52:16Z |
ENH/BUG: Sparse now supports comparison op | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index cc2269afa6e61..ccfdd5dc7372e 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -121,6 +121,7 @@ These changes conform sparse handling to return the correct types and work to ma
- Bug in ``SparseArra... | - [x] no open issue
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
## on current master
```
pd.SparseArray([1, 2, np.nan]) > 0
# [True, True, nan]
# Fill: nan
# IntIndex
# Indices: array([0, 1], dtype=int32)
# Expected
# [True, True, False]
```
```
a = pd.Spar... | https://api.github.com/repos/pandas-dev/pandas/pulls/12971 | 2016-04-23T21:23:08Z | 2016-04-25T22:00:23Z | null | 2016-04-25T22:10:51Z |
COMPAT: remove NaT comparison warnings with numpy >= 1.11 | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 60103024909a0..ea6315924010c 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -281,6 +281,7 @@ Bug Fixes
- Bug in ``.astype()`` of a ``Float64Inde/Int64Index`` to an ``Int64Index`` (:issue:`12881`)... | cc @sinhrks
| https://api.github.com/repos/pandas-dev/pandas/pulls/12969 | 2016-04-23T15:49:50Z | 2016-04-25T13:30:26Z | null | 2016-04-25T13:30:26Z |
TST: Add sparse arithmetic ops test | diff --git a/pandas/sparse/tests/test_array.py b/pandas/sparse/tests/test_array.py
index 1786123191866..50697138df101 100644
--- a/pandas/sparse/tests/test_array.py
+++ b/pandas/sparse/tests/test_array.py
@@ -505,37 +505,80 @@ def _check_numeric_ops(self, a, b, a_dense, b_dense):
def test_float_scalar(self):
... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12968 | 2016-04-23T15:31:31Z | 2016-04-25T13:36:31Z | null | 2016-04-25T16:21:32Z |
ENH: allow construction of datetimes from columns in a DataFrame | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 4035d016a8fc6..e8f1404d79c9f 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -189,9 +189,28 @@ or ``format``, use ``to_datetime`` if these are required.
.. ipython:: python
- to_datetime('2010/11/12')
+ pd.to_d... | closes #8158
See the references SO questions in the issue. but allows highly performant construction of datetime series from specified DataFrame columns with a minimal syntax
```
In [12]: pd.options.display.max_rows=10
In [13]: year = np.arange(2010, 2020)
In [14]: months = np.arange(1, 13)
In [15]: days = np.aran... | https://api.github.com/repos/pandas-dev/pandas/pulls/12967 | 2016-04-23T14:38:45Z | 2016-04-26T15:17:03Z | null | 2016-04-26T15:51:06Z |
BUG: Sparse concat may fill fill_value with NaN | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 60103024909a0..a22aaa4077382 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -111,6 +111,7 @@ These changes conform sparse handling to return the correct types and work to ma
s.take([1, 2, 3])
... | - [x] closes #9765
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This also added tests related to #12174 and fixed `concat(axis=1)` issue.
```
# on current master
dense1 = pd.DataFrame({'A': [1, 2, 3, np.nan],
'B': [0, 0, 0, 0],
... | https://api.github.com/repos/pandas-dev/pandas/pulls/12966 | 2016-04-23T13:57:08Z | 2016-04-25T13:42:20Z | null | 2016-04-25T16:35:59Z |
TST: Refactor test_parsers.py | diff --git a/pandas/io/tests/parser/__init__.py b/pandas/io/tests/parser/__init__.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
diff --git a/pandas/io/tests/parser/c_parser_only.py b/pandas/io/tests/parser/c_parser_only.py
new file mode 100644
index 0000000000000..24c670abe8158
--- /dev/null
+++ b/pandas/i... | Refactored tests in `test_parsers.py` to increase coverage of the different types of parsers and remove nearly duplicate testing in some cases.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12964 | 2016-04-23T01:59:54Z | 2016-04-30T14:59:20Z | null | 2016-04-30T20:20:35Z |
PERF: some more perf/clean in saslib.pyx | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index f98b151b7379b..0fa9d784982e8 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -334,7 +334,7 @@ Deprecations
Performance Improvements
~~~~~~~~~~~~~~~~~~~~~~~~
-- Improved speed of SAS reader (:is... | more perf
cc @kshedden
| https://api.github.com/repos/pandas-dev/pandas/pulls/12961 | 2016-04-22T17:33:01Z | 2016-04-27T13:41:30Z | null | 2016-04-27T13:42:10Z |
ENH: Python parser now accepts delim_whitespace=True | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 25925ef4a8b91..f0556f5af8534 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -101,8 +101,9 @@ delim_whitespace : boolean, default False
Specifies whether or not whitespace (e.g. ``' '`` or ``'\t'``)
will be used as the delimiter. Equivalent to set... | Title is self-explanatory.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12958 | 2016-04-22T13:50:05Z | 2016-04-22T20:06:03Z | null | 2016-04-22T20:12:47Z |
BUG: passing an invalid fill method to resample(..).fillna() causes an odd error message | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index d386f32d35195..928fefd6ce17e 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -280,7 +280,7 @@ Bug Fixes
- Bug in ``.drop()`` with a non-unique ``MultiIndex``. (:issue:`12701`)
- Bug in ``.conca... | https://api.github.com/repos/pandas-dev/pandas/pulls/12952 | 2016-04-21T21:45:02Z | 2016-04-21T23:13:41Z | null | 2016-04-21T23:13:41Z | |
ENH/COMPAT: update tests for dateutil 2.5.3 | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index a03a5d7164e63..96a36e4d3b921 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -170,7 +170,6 @@ Other Enhancements
- ``pd.crosstab()`` has gained a ``normalize`` argument for normalizing frequency... | closes #12944
so this fixes the compat with all dateutils in the test suite
add the `dayfirst` and `yearfirst` args to `Timestamp`. This make testing and compat a lot
easier. xref discussion in #7599 where we didn't implement it, though the feeling was sort of +0.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12951 | 2016-04-21T20:46:46Z | 2016-04-26T21:51:34Z | null | 2016-04-26T23:17:37Z |
Fix Scatter plot datetime and Axis | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index ad56ea44a0dc6..1a9a9a4d8b67f 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3017,6 +3017,10 @@ def _get_numeric_data(self):
def _get_bool_data(self):
return self._constructor(self._data.get_bool_data()).__finalize__(s... | closes #10611
closes #8113
closes #10678
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
This is a first go at trying to fix the above problems. I have created two before and after notebooks here: https://gist.github.com/nparley/08c81672b0e3d7d85b00694a671f57ad
| https://api.github.com/repos/pandas-dev/pandas/pulls/12949 | 2016-04-21T17:34:39Z | 2017-08-01T22:55:52Z | null | 2017-08-01T22:55:52Z |
BUG: Travis building on container-based infrastructure | diff --git a/.travis.yml b/.travis.yml
index 5a16c1a6c25e7..b909a1f980d6d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,24 @@
-
+sudo: false
language: python
-env:
+# To turn off cached miniconda, cython files and compiler cache comment out the
+# USE_CACHE=true line for the build in the matrix below. To de... | - [ ] closes #10598
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Travis is not always detecting sudo use and is running forks using container-based infrastructure. `JOB_NAME=27_slow_nnet_LOCALE` fails when using containers because of setlocale. This PR adds `sudo: required` to make sure... | https://api.github.com/repos/pandas-dev/pandas/pulls/12946 | 2016-04-21T16:13:19Z | 2016-06-24T00:01:47Z | null | 2016-06-24T01:34:38Z |
Add defaults to swaplevel() parameters i and j | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index d386f32d35195..907e6579da816 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -4,7 +4,7 @@ v0.18.1 (April ??, 2016)
------------------------
This is a minor bug-fix release from 0.18.0 and inclu... | Closes #12934 feature request.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12943 | 2016-04-21T15:39:34Z | 2016-04-22T17:03:29Z | null | 2016-04-22T19:11:03Z |
BUG, DOC: Allow custom line terminator with delim_whitespace=True | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 351a7059b2739..25925ef4a8b91 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -97,6 +97,12 @@ sep : str, defaults to ``','`` for :func:`read_csv`, ``\t`` for :func:`read_tabl
Regex example: ``'\\r\\t'``.
delimiter : str, default ``None``
Alternati... | Title is self-explanatory. Closes #12912.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12939 | 2016-04-20T23:32:11Z | 2016-04-21T21:10:15Z | null | 2016-04-21T21:15:15Z |
BUG: provide SparseArray creation in a platform independent manner | diff --git a/pandas/sparse/array.py b/pandas/sparse/array.py
index a96663d757e74..486dbaaa624d9 100644
--- a/pandas/sparse/array.py
+++ b/pandas/sparse/array.py
@@ -140,7 +140,7 @@ def __new__(cls, data, sparse_index=None, index=None, kind='integer',
values, sparse_index = make_sparse(data, kind=kind,
... | makes creation w/o specifying a dtype choose `np.int64/float64` regardless of the platform. This is similar to how Series works. This only is exposed on windows (as the default ndarray creation is np.int32) rather than np.int64
maybe _should_ use `pandas.core.series._sanitize_array` (but needs some tweeks I think).
c... | https://api.github.com/repos/pandas-dev/pandas/pulls/12936 | 2016-04-20T21:04:04Z | 2016-04-20T21:33:57Z | 2016-04-20T21:33:57Z | 2016-04-20T21:35:21Z |
BUG, ENH: Add support for parsing duplicate columns | diff --git a/doc/source/io.rst b/doc/source/io.rst
index af8bca14e5d6f..104172d9574f1 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -120,7 +120,8 @@ header : int or list of ints, default ``'infer'``
rather than the first line of the file.
names : array-like, default ``None``
List of column names to u... | Introduces `mappings` and `reverse_map` attributes to the parser in `pandas.io.parsers` that allow it to differentiate between duplicate columns that may be present in a file.
Closes #7160.
Closes #9424.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12935 | 2016-04-20T16:14:12Z | 2016-05-23T21:43:04Z | null | 2017-06-22T03:19:02Z |
DOC: More examples comparison with sql | diff --git a/.github/CONTRIBUTING.md b/CONTRIBUTING.md
similarity index 91%
rename from .github/CONTRIBUTING.md
rename to CONTRIBUTING.md
index 352acee23df2d..ef0c972619f39 100644
--- a/.github/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -109,9 +109,9 @@ For a python 3 environment:
conda create -n pandas_dev python... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
added the following examples:
- Top N rows with offset
- Top N rows per group
- ROW_NUMBER() OVER(PARTITION BY day ORDER BY total_bill DESC)
- UPDATE
- DELETE
| https://api.github.com/repos/pandas-dev/pandas/pulls/12932 | 2016-04-20T13:11:53Z | 2016-04-28T17:29:10Z | null | 2016-04-28T17:29:42Z |
Added more examples to comparison_with_sql documentation | diff --git a/doc/source/comparison_with_sql.rst b/doc/source/comparison_with_sql.rst
index 26e76e8c5a4f6..a055951a6dd46 100644
--- a/doc/source/comparison_with_sql.rst
+++ b/doc/source/comparison_with_sql.rst
@@ -372,10 +372,123 @@ In pandas, you can use :meth:`~pandas.concat` in conjunction with
pd.concat([df1,... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x ] passes `git diff upstream/master | flake8 --diff`
- [x ] whatsnew entry
added the following examples:
- Top N rows with offset
- Top N rows per group
- ROW_NUMBER() OVER(PARTITION BY day ORDER BY total_bill DESC)
- UPDATE
- DELETE
| https://api.github.com/repos/pandas-dev/pandas/pulls/12931 | 2016-04-20T11:30:16Z | 2016-04-20T13:12:24Z | null | 2016-04-20T13:12:24Z |
COMPAT: Add Pathlib, py.path support for read_hdf | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 3ac466158276f..459bdbf10a4f1 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -32,6 +32,7 @@ Other enhancements
- The ``.tz_localize()`` method of ``DatetimeIndex`` and ``Timestamp`` has gained the... | - [*] closes #xxxx
- [*] tests added / passed
- [*] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Closes #11773
Travis-ci test JOB_NAME=27_slow_nnet_LOCALE consistently fails due to locale issue... zh_CN.GB18030??
| https://api.github.com/repos/pandas-dev/pandas/pulls/12930 | 2016-04-20T10:33:55Z | 2016-05-16T12:09:51Z | null | 2018-09-16T17:02:25Z |
ENH: multiindex formatting | diff --git a/pandas/indexes/base.py b/pandas/indexes/base.py
index 19c74f7a0296a..b066d7d0e8e51 100644
--- a/pandas/indexes/base.py
+++ b/pandas/indexes/base.py
@@ -608,27 +608,40 @@ def _formatter_func(self):
"""
return default_pprint
- def _format_data(self):
+ def _format_data(self, display... | closes #12423
```
In [1]: pd.options.display.width=80
In [2]: pd.options.display.max_seq_items=10
In [3]: pd.options.display.max_seq_items=100
In [4]: mi = pd.MultiIndex.from_tuples([('A', 1), ('A', 2),
('B', 3), ('B', 4)])
In [5]: mi
Out[5]:
MultiIndex(levels=[[u'A... | https://api.github.com/repos/pandas-dev/pandas/pulls/12929 | 2016-04-19T20:43:30Z | 2016-08-26T20:24:31Z | null | 2016-08-27T12:48:52Z |
BUG: .asfreq on resample on PeriodIndex/TimedeltaIndex are not | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index f02feccbf941c..565b0229269f4 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -287,6 +287,7 @@ Bug Fixes
- Bug in ``.loc`` with out-of-bounds in a large indexer would raise ``IndexError`` rathe... | closes #12926
| https://api.github.com/repos/pandas-dev/pandas/pulls/12928 | 2016-04-19T19:12:54Z | 2016-04-20T01:03:18Z | null | 2016-04-20T01:03:18Z |
BUG: Fix argument order in call to super | diff --git a/pandas/core/base.py b/pandas/core/base.py
index 1a812ba2e4878..36f1f24fec6f7 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -127,7 +127,7 @@ def __sizeof__(self):
# no memory_usage attribute, so fall back to
# object's 'sizeof'
- return super(self, PandasObject).__... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
`super` should have arguments (type, object), not (object, type).
I've run `test_fast.sh` using Python 2.7 and it gives [2 failures](https://github.com/pydata/pandas/files/225866/testfail.txt) relating to language locales (I'm using en... | https://api.github.com/repos/pandas-dev/pandas/pulls/12924 | 2016-04-19T12:40:36Z | 2016-05-19T14:52:39Z | null | 2016-05-19T14:53:00Z |
Correct out-of-bounds error with large indeces | diff --git a/pandas/index.pyx b/pandas/index.pyx
index dad2b26e13412..25e6f35ad2a0d 100644
--- a/pandas/index.pyx
+++ b/pandas/index.pyx
@@ -143,6 +143,8 @@ cdef class IndexEngine:
return self._get_loc_duplicates(val)
values = self._get_index_values()
loc = _bin_search(values,... | - [x] closes #12527
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12921 | 2016-04-19T01:17:34Z | 2016-04-20T00:04:18Z | null | 2016-04-23T01:20:46Z |
Add pandas logo to repo | diff --git a/doc/logo/pandas_logo.png b/doc/logo/pandas_logo.png
new file mode 100644
index 0000000000000..065ee4e4856a6
Binary files /dev/null and b/doc/logo/pandas_logo.png differ
diff --git a/doc/logo/pandas_logo.py b/doc/logo/pandas_logo.py
new file mode 100644
index 0000000000000..71ee9b8092b14
--- /dev/null
+++ b... | - [ ] partially closes #12911
- [x] tests added / passed (N/A)
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12919 | 2016-04-18T15:17:58Z | 2016-04-18T15:26:14Z | null | 2016-04-25T10:46:37Z |
BUG: GH12902 fixed coercion of complex values to float when using gro… | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index c6642c5216262..8700bf1be8cfb 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -325,3 +325,4 @@ Bug Fixes
- ``pd.read_excel()`` now accepts column names associated with keyword argument ``names``(:i... | - [x] closes #12902
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12917 | 2016-04-18T02:18:19Z | 2016-04-18T17:10:08Z | null | 2016-04-18T17:10:22Z |
BUG: TypeError in index coercion | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 073b859f4c9a7..3c622ebc40799 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -333,3 +333,5 @@ Bug Fixes
- Bug in ``fill_value`` is ignored if the argument to a binary operator is a constant (:... | - [x] closes #12893
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12916 | 2016-04-17T20:19:44Z | 2016-04-20T01:00:30Z | null | 2016-04-20T01:00:36Z |
BUG: Enforce parse_dates as bool when scalar | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 2dedeccf1068a..8ea2921bd9e16 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -134,6 +134,7 @@ API changes
- ``Series.apply`` for category dtype now applies passed function to each ``.categories`... | Title is self-explanatory. Closes #5636.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12915 | 2016-04-17T19:22:42Z | 2016-04-19T18:36:05Z | null | 2016-04-19T18:46:42Z |
BUG: sniffing a csv raises with only a header | diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py
index 78401f9855971..50f9e7a92792c 100755
--- a/pandas/io/tests/test_parsers.py
+++ b/pandas/io/tests/test_parsers.py
@@ -2827,6 +2827,16 @@ def test_read_with_bad_header(self):
s = StringIO(',,')
self.read_csv(s, h... | Add test to verify that #7773 is no longer an issue. Closes #7773.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12914 | 2016-04-17T16:03:27Z | 2016-04-18T15:51:26Z | null | 2016-04-18T15:53:42Z |
Add test to validate resampling GH9915 | diff --git a/pandas/tseries/tests/test_resample.py b/pandas/tseries/tests/test_resample.py
index 20ededa6e1305..0a48e2c39230e 100644
--- a/pandas/tseries/tests/test_resample.py
+++ b/pandas/tseries/tests/test_resample.py
@@ -976,6 +976,21 @@ def test_resample_upsample(self):
self.assertEqual(result.index.nam... | - [x] closes #9915
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12913 | 2016-04-17T14:38:45Z | 2016-04-17T20:37:34Z | null | 2016-04-17T21:52:34Z |
BUG: SparseArray numeric ops misc fixes | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index a9b42b563f931..87c8645c0e3d3 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -114,6 +114,9 @@ These changes conform sparse handling to return the correct types and work to ma
- Bug in ``SparseSeri... | - [x] no existing issue
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Fixed following 3 issues occurred on the current master.
### 1. addition ignores rhs `fill_value`
```
pd.SparseArray([1., 1.]) + pd.SparseArray([1., 0.], fill_value=0.)
# [2.0, nan]
# Fill: ... | https://api.github.com/repos/pandas-dev/pandas/pulls/12910 | 2016-04-17T05:10:55Z | 2016-04-18T17:13:21Z | null | 2016-04-18T18:16:07Z |
Fix performance issues when creating multiple instances of Period (#12903, #11831) | diff --git a/asv_bench/benchmarks/period.py b/asv_bench/benchmarks/period.py
new file mode 100644
index 0000000000000..012030a71ac82
--- /dev/null
+++ b/asv_bench/benchmarks/period.py
@@ -0,0 +1,9 @@
+from pandas import PeriodIndex, date_range
+
+
+class create_period_index_from_date_range(object):
+ goal_time = 0.2... | closes #12903
closes #11831
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12909 | 2016-04-16T22:08:18Z | 2016-04-26T19:21:19Z | null | 2016-04-26T20:06:16Z |
BUG: SparseSeries.shift may raise NameError or TypeError | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 073b859f4c9a7..d47fbed47f554 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -109,7 +109,7 @@ These changes conform sparse handling to return the correct types and work to ma
s.take(0)
s.ta... | - [x] no existing issue
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Fixed following bugs on current master. Also, moved `TestSparseArrayIndex` to `test_libsparse`
#### 1. shift
```
pd.SparseSeries([1, 2, 3], fill_value=0).shift(1)
# NameError: global name 'k... | https://api.github.com/repos/pandas-dev/pandas/pulls/12908 | 2016-04-16T12:11:50Z | 2016-04-20T01:07:37Z | null | 2016-04-20T01:35:34Z |
BUG: Subclassed DataFrame slicing may return normal Series | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index cc84347313b42..249235820e4ae 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -298,7 +298,7 @@ Bug Fixes
-
+- Bug in slicing subclassed ``DataFrame`` defined to return subclassed ``Series`` ma... | - [x] closes #11559
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12906 | 2016-04-15T23:00:05Z | 2016-04-17T13:54:53Z | null | 2016-04-17T14:01:28Z |
add support for specifying secondary indexes with to_sql | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 2f78c9acf7972..beb402f2eca98 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1158,7 +1158,8 @@ def to_msgpack(self, path_or_buf=None, encoding='utf-8', **kwargs):
**kwargs)
def to_sql(self, ... | Support for creating secondary indexes in `to_sql` via the parameter `indexes`.
The code also tries to avoid creating duplicate indexes when `keys` is specified in `SQLTable`.
(Once the PR for passing the `keys` this would be useful)
This PR introduces a new method in `SQLTable` called `_is_column_indexed` so that su... | https://api.github.com/repos/pandas-dev/pandas/pulls/12904 | 2016-04-15T16:26:04Z | 2017-02-01T20:52:39Z | null | 2017-02-01T20:52:39Z |
Fix ndarray allany | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 071cf5f17fc56..7ea72fadb3f4b 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -273,6 +273,7 @@ Bug Fixes
- Bug in ``pivot_table`` when ``margins=True`` and ``dropna=True`` where nulls still contr... | - [x] closes #12863
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12901 | 2016-04-14T20:33:43Z | 2016-12-26T21:49:37Z | null | 2016-12-26T21:49:37Z |
Allow parsing in skipped row for C engine | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 928fefd6ce17e..9251c7144fdf1 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -295,6 +295,7 @@ Bug Fixes
+- Bug in ``read_csv`` with the C engine when specifying ``skiprows`` with newlines in ... | Changes behaviour of C engine parser so that parsing is done on skipped rows so that they
are properly skipped.
Closes #10911.
Closes #12775.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12900 | 2016-04-14T17:55:52Z | 2016-04-22T15:20:13Z | null | 2016-04-22T15:24:41Z |
BUG: .astype() of a Float64Index to a Int64Index | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index b010fcc0f2d57..885934ceeef41 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -267,7 +267,8 @@ Bug Fixes
- Bug in ``float_format`` option with option not being validated as a callable. (:issue:`127... | closes #12881
closes #12866
xref #12309
| https://api.github.com/repos/pandas-dev/pandas/pulls/12899 | 2016-04-14T12:43:33Z | 2016-04-18T17:22:25Z | null | 2016-04-18T17:22:25Z |
BUG: add names parameter to read_excel | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index dcda11a9fd3b2..2f40922f7adcf 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -319,3 +319,4 @@ Bug Fixes
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
- Bug wher... | - [x] closes #12870, xref #11874
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12895 | 2016-04-13T21:25:53Z | 2016-04-16T01:44:27Z | null | 2016-04-16T01:44:35Z |
BUG, DEP, DOC: Patch and Align Categorical's Sorting API | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index dcda11a9fd3b2..b010fcc0f2d57 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -224,6 +224,7 @@ Deprecations
^^^^^^^^^^^^
- The method name ``Index.sym_diff()`` is deprecated and can be replaced ... | Clarifies the meaning of 'sort' in the context of `Categorical` to mean 'organization' rather than 'order',
as it is possible to call this method (as well as `sort_values`) when the `Categorical` is unordered.
Also patches a bug in `Categorical.sort_values` in which `na_position` was not being respected when
`ascendin... | https://api.github.com/repos/pandas-dev/pandas/pulls/12882 | 2016-04-12T15:24:01Z | 2016-04-14T01:17:55Z | null | 2016-04-14T01:20:07Z |
PERF: Only do case sensitive check when not lower case | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 071cf5f17fc56..9785974893e6a 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -203,6 +203,7 @@ Performance Improvements
+- Improved performance of ``DataFrame.to_sql`` when checking case sensi... | - [x] closes #12876
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12880 | 2016-04-12T13:44:36Z | 2016-04-13T01:20:58Z | null | 2016-12-19T19:48:14Z |
BUG: json invoke default handler for unsupported numpy dtypes | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 36e4f264fb923..cc51fbd1e30ab 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1501,45 +1501,34 @@ Fallback Behavior
If the JSON serializer cannot handle the container contents directly it will fallback in the following manner:
-- if a ``toDict`` me... | - [x] closes #12554
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
- [x] valgrind clean
- [ ] windows tests ok
- [x] vbench ok
Recommend to merge after #12802 has been accepted. (valgrind should be clean then)
| https://api.github.com/repos/pandas-dev/pandas/pulls/12878 | 2016-04-12T11:45:25Z | 2016-04-27T14:28:37Z | null | 2016-04-27T14:30:46Z |
_get_new_index always returns index in PeriodIndexResampler | diff --git a/pandas/tseries/resample.py b/pandas/tseries/resample.py
index 454eb6b3c165e..8deecf632ed66 100644
--- a/pandas/tseries/resample.py
+++ b/pandas/tseries/resample.py
@@ -675,11 +675,9 @@ def _get_new_index(self):
ax = self.ax
ax_attrs = ax._get_attributes_dict()
ax_attrs['freq'] = ... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Cleans up a method that returned different types depending on the length of the index
| https://api.github.com/repos/pandas-dev/pandas/pulls/12875 | 2016-04-12T02:55:50Z | 2016-04-12T15:56:22Z | null | 2016-05-18T19:22:28Z |
PeriodIndex count & size fix | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 4cfe82214d0d0..feb63db27805e 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -215,6 +215,9 @@ Bug Fixes
- ``usecols`` parameter in ``pd.read_csv`` is now respected even when the lines of a CSV fil... | closes #12774
closes #12868
closes #12770
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Initial attempt at fixing some of the more urgent issues
| https://api.github.com/repos/pandas-dev/pandas/pulls/12874 | 2016-04-12T00:57:13Z | 2016-04-13T01:12:57Z | null | 2016-05-18T19:21:35Z |
COMPAT: .query/.eval should work w/o numexpr being installed if possible | diff --git a/.travis.yml b/.travis.yml
index c263e1dee4115..1f2940404eed0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -152,25 +152,29 @@ before_install:
- export DISPLAY=:99.0
install:
- - echo "install"
+ - echo "install start"
- ci/prep_ccache.sh
- ci/install_travis.sh
- ci/submit_ccache.sh
+ - ec... | closes #12749
| https://api.github.com/repos/pandas-dev/pandas/pulls/12864 | 2016-04-11T15:32:11Z | 2016-04-11T23:57:05Z | null | 2016-04-11T23:57:05Z |
DOC: fix code-block ipython highlighting | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index 4d1354a515b1c..ef2df3f925e6b 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -790,7 +790,7 @@ In float indexes, slicing using floats is allowed
In non-float indexes, slicing using floats will raise a ``TypeError``
-.. code-b... | I noticed some warnings in the travis doc build log in the sense of "WARNING: Could not parse literal_block as "python". highlighting skipped."
This was because some of the `.. code-block:: python` directives contained code that could not be interpreted as python. And, additionally, these code blocks were also not hig... | https://api.github.com/repos/pandas-dev/pandas/pulls/12853 | 2016-04-10T20:26:25Z | 2016-04-11T13:42:54Z | null | 2016-04-11T13:43:07Z |
BUG: ensure coercing scalars to when setting as numpy | diff --git a/pandas/core/common.py b/pandas/core/common.py
index dc2ee31bbaf3d..a8d61d7ec0297 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -473,7 +473,7 @@ def _infer_dtype_from_scalar(val):
dtype = np.dtype('M8[ns]')
elif isinstance(val, (np.timedelta64, timedelta)):
- val =... | closes #12850
| https://api.github.com/repos/pandas-dev/pandas/pulls/12852 | 2016-04-10T18:13:02Z | 2016-04-10T19:09:46Z | null | 2016-04-10T19:09:46Z |
TST: Add more Sparse indexing tests | diff --git a/pandas/sparse/tests/test_indexing.py b/pandas/sparse/tests/test_indexing.py
index 10a593fedf249..ca2996941aef7 100644
--- a/pandas/sparse/tests/test_indexing.py
+++ b/pandas/sparse/tests/test_indexing.py
@@ -32,6 +32,14 @@ def test_getitem(self):
exp = orig[orig % 2 == 1].to_sparse()
tm.a... | - [x] closes #4400
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/12848 | 2016-04-10T12:09:47Z | 2016-04-11T12:47:31Z | null | 2016-04-11T13:36:17Z |
ENH: Support CustomBusinessHour | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 92b904bc683f4..cb5bee75b83a2 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -563,6 +563,7 @@ frequency increment. Specific offset logic like "month", "business day", or
BYearBegin, "business year begin"
FY5253,... | - [x] closes #11514
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12847 | 2016-04-10T08:32:24Z | 2016-04-10T22:12:08Z | null | 2016-04-10T22:48:03Z |
BUG: empty Series concat has no effect | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 7d79367cef1e2..ab33407e417a8 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -108,6 +108,7 @@ API changes
- ``read_csv`` no longer allows a combination of strings and integers for the ``usecols`` ... | - [x] closes #11082, closes #12695, closes #12696
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Also includes some cleanup for #10723
CC: @AnkurDedania , @IamGianluca
| https://api.github.com/repos/pandas-dev/pandas/pulls/12846 | 2016-04-10T08:25:40Z | 2016-04-10T14:22:42Z | null | 2016-04-10T17:12:29Z |
BUG: SparseSeries slicing with Ellipsis raises KeyError | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 7d79367cef1e2..1dd4458206ac5 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -82,6 +82,7 @@ These changes conform sparse handling to return the correct types and work to ma
s.take(0)
s.take... | - [x] closes #9467
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12845 | 2016-04-10T04:26:03Z | 2016-04-10T14:32:47Z | null | 2016-04-10T17:20:29Z |
BUG: SparseSeries concat results in dense | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index c6642c5216262..1811f7de69d63 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -120,6 +120,7 @@ These changes conform sparse handling to return the correct types and work to ma
- Bug in ``SparseArra... | - [x] closes #10536
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12844 | 2016-04-10T04:09:27Z | 2016-04-18T19:55:34Z | null | 2016-04-18T20:28:00Z |
BUG: .str methods with expand=True may raise ValueError if input has name | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 7d79367cef1e2..14b630476f8bd 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -225,6 +225,7 @@ Bug Fixes
+- Bug in ``.str`` accessor methods may raise ``ValueError`` if input has ``name`` and ... | - [x] closes #12617
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12843 | 2016-04-10T03:18:14Z | 2016-04-10T14:26:28Z | null | 2016-04-10T17:12:05Z |
ENH: Add Index.str.get_dummies | diff --git a/doc/source/text.rst b/doc/source/text.rst
index 655df5c5e566c..d9f8d45c8aa75 100644
--- a/doc/source/text.rst
+++ b/doc/source/text.rst
@@ -354,16 +354,27 @@ Methods like ``match``, ``contains``, ``startswith``, and ``endswith`` take
s4 = pd.Series(['A', 'B', 'C', 'Aaba', 'Baca', np.nan, 'CABA', 'dog',... | - [x] closes #10103
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Add `Index.str.get_dummies` which always returns `MultiIndex`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12842 | 2016-04-10T02:47:28Z | 2016-04-11T12:54:39Z | null | 2016-04-11T14:15:39Z |
TST: Add numeric coercion tests | diff --git a/pandas/tests/indexing/test_coercion.py b/pandas/tests/indexing/test_coercion.py
new file mode 100644
index 0000000000000..3585feacda8c2
--- /dev/null
+++ b/pandas/tests/indexing/test_coercion.py
@@ -0,0 +1,540 @@
+# -*- coding: utf-8 -*-
+
+import nose
+import numpy as np
+
+import pandas as pd
+import pan... | - [x] related to #12747 and #12780
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
Because dtype coercion affects to lots of functions, would like to fix in the following steps. The behavior which looks incorrect are commented with `TODO_GH12747`
1(this PR) Add numeric related tests... | https://api.github.com/repos/pandas-dev/pandas/pulls/12841 | 2016-04-09T18:38:56Z | 2016-04-10T14:29:46Z | null | 2016-04-10T17:24:12Z |
BUG: GroupBy with TimeGrouper sorts unstably | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 7d79367cef1e2..b3bdf3df1eb20 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -241,3 +241,5 @@ Bug Fixes
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
- Bug wher... | - [x] closes #7453
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Because it may affect to resample perf, alternative idea is to add `TimeGropuper` path to `GroupBy.first` and `last`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12840 | 2016-04-09T18:21:06Z | 2016-04-10T14:04:45Z | null | 2016-04-10T17:13:59Z |
BUG: SparseSeries.to_frame results in dense | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 1a0d656eea8c1..7d79367cef1e2 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -89,6 +89,7 @@ These changes conform sparse handling to return the correct types and work to ma
- Bug in ``SparseSeries... | - [x] closes #9850
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This should be after #12831.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12836 | 2016-04-09T05:36:48Z | 2016-04-09T18:01:56Z | null | 2016-04-09T18:06:00Z |
BUG: SparseSeries.value_counts ignores fill_value | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index dfe5eaa66df01..86aae237d6909 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -197,6 +197,7 @@ These changes conform sparse handling to return the correct types and work to ma
- Bug in ``SparseSeri... | - [x] closes #6749
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Also fixed an issue which categorical `value_counts` resets name.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12835 | 2016-04-09T05:33:29Z | 2016-04-29T17:17:59Z | null | 2016-04-29T17:20:08Z |
BUG 12800 fixed inconsistent behavior of last_valid_index and first_valid_index | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 3e45b2ca37229..857b0cdc3aec6 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -237,3 +237,4 @@ Bug Fixes
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
- Bug wher... | - [x] closes #12800
- [x] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12834 | 2016-04-09T04:40:27Z | 2016-04-11T12:59:59Z | null | 2016-04-12T00:38:49Z |
Implement Akima1DInterpolator | diff --git a/ci/requirements-3.5_OSX.run b/ci/requirements-3.5_OSX.run
index 578f79243c0c0..ffa291ab7ff77 100644
--- a/ci/requirements-3.5_OSX.run
+++ b/ci/requirements-3.5_OSX.run
@@ -4,7 +4,6 @@ openpyxl
xlsxwriter
xlrd
xlwt
-scipy
numexpr
pytables
html5lib
diff --git a/doc/source/conf.py b/doc/source/conf.py
i... | - [x] closes #7588
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12833 | 2016-04-09T00:34:14Z | 2016-04-11T15:03:58Z | null | 2016-04-12T19:52:46Z |
Refactor test __tmp_* file cleanup | diff --git a/pandas/io/tests/test_excel.py b/pandas/io/tests/test_excel.py
index 35ce0375ae438..7d75817512212 100644
--- a/pandas/io/tests/test_excel.py
+++ b/pandas/io/tests/test_excel.py
@@ -1347,8 +1347,6 @@ def test_to_excel_float_format(self):
def test_to_excel_output_encoding(self):
_skip_if_no_xl... | - [x] closes #9249
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12832 | 2016-04-08T23:58:21Z | 2016-04-09T14:34:51Z | null | 2016-04-10T22:36:04Z |
BUG: SparseSeries.reindex with fill_value | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 3e45b2ca37229..8781c76118aa6 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -80,7 +80,9 @@ These changes conform sparse handling to return the correct types and work to ma
- Bug in ``SparseDataFr... | - [x] closes #12797
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12831 | 2016-04-08T21:57:48Z | 2016-04-09T14:44:21Z | null | 2016-04-09T16:35:25Z |
TST: Split sparse tests | diff --git a/pandas/sparse/tests/test_frame.py b/pandas/sparse/tests/test_frame.py
new file mode 100644
index 0000000000000..c3778426990b9
--- /dev/null
+++ b/pandas/sparse/tests/test_frame.py
@@ -0,0 +1,835 @@
+# pylint: disable-msg=E1101,W0612
+
+import operator
+
+import nose # noqa
+from numpy import nan
+import n... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
split series, frame and panel tests to separated files.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12812 | 2016-04-06T15:07:31Z | 2016-04-06T22:43:29Z | null | 2016-04-06T22:52:47Z |
COMPAT: Expand compatibility with fromnumeric.py | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 2aea2572f142b..98c81680aa3c1 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -357,6 +357,39 @@ New Behavior:
df.groupby('c', sort=False).nth(1)
+.. _whatsnew_0181.numpy_compatibility
+
+Com... | Fixes up OR addresses what are AFAICT almost if not all of the incompatibilities `pandas` currently has with `numpy.core.fromnumeric`. My goodness, were there a lot of them.
Closes #12638.
Closes #12644.
Closes #12687.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12810 | 2016-04-06T11:35:00Z | 2016-05-01T15:11:59Z | null | 2018-06-28T03:09:34Z |
CLN: cleaning core/common.py | diff --git a/ci/lint.sh b/ci/lint.sh
index 08c3e4570f262..6b8f160fc90db 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -8,7 +8,7 @@ RET=0
if [ "$LINT" ]; then
echo "Linting"
- for path in 'core' 'indexes' 'io' 'stats' 'compat' 'sparse' 'tools' 'tseries' 'tests' 'computation' 'util'
+ for path in 'core' 'inde... | partial on #12503
- create `pandas/types`
- moved _some_ dtype to `pandas/types`
- move _some_ missing value utils to `pandas/core/missing`
- move `.take` and `.diff` to `core/algorithms`
- create `formats` with `core/formats,style` moved and `printing.py` (form `core/common.py`)
- removed some non-used functions
| https://api.github.com/repos/pandas-dev/pandas/pulls/12804 | 2016-04-05T21:53:42Z | 2016-04-06T23:02:33Z | null | 2016-04-07T15:03:51Z |
ENH: GH11128 add weekday_name to DatetimeIndex and .dt | diff --git a/doc/source/api.rst b/doc/source/api.rst
index d6402100a296f..b4105eaa23dca 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -457,6 +457,7 @@ These can be accessed like ``Series.dt.<property>``.
Series.dt.weekofyear
Series.dt.dayofweek
Series.dt.weekday
+ Series.dt.weekday_name
... | closes #11128
replaces #11813
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Completed merge of Bahrunnur's PR 'weekday-name'
Moved 'enhancements' to v0.18.1.txt
Added tests to pandas/tests/series/test_datetime_values.py
Added weekday_name property ... | https://api.github.com/repos/pandas-dev/pandas/pulls/12803 | 2016-04-05T18:41:59Z | 2016-04-26T13:30:42Z | null | 2016-04-26T13:32:32Z |
BUG: fix json segfaults | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index d19a177b79251..83cef8832a0b8 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -148,6 +148,7 @@ Other Enhancements
- ``pd.read_csv()`` now supports opening files using xz compression, via extension ... | closes #11473
closes #10778
closes #11299
- [x] tests added / passed
- [x] vbench / asv ok
- [x] windows tests pass
- [x] valgrind clean
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This fixes several potential segfaults in the json code:
- time objects were freed and potentially garbag... | https://api.github.com/repos/pandas-dev/pandas/pulls/12802 | 2016-04-05T17:21:19Z | 2016-04-26T18:54:47Z | null | 2016-04-26T19:00:09Z |
API: map() on Index returns an Index, not array | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 7f74d8a769e4b..9922b326b6424 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -408,6 +408,8 @@ New behaviour:
np.cumsum(sp, axis=0)
+- ``map`` on an ``Index`` now returns an ``Index``, not a... | Continued in #14506
- [x] closes #12766
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12798 | 2016-04-05T01:36:20Z | 2016-11-07T20:54:33Z | null | 2016-12-16T23:26:23Z |
ENH/PERF SparseArray.take indexing | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index f991be3dc3e10..3e45b2ca37229 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -81,7 +81,7 @@ These changes conform sparse handling to return the correct types and work to ma
- Bug in ``SparseSeries... | - [x] related to #4400 (not close yet as `SparseDataFrame` indexing test is not sufficient)
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Added more tests for sparse indexing. Fixed followings:
- `SparseArray.take` has optimized logic to omit dense `np.ndarray`... | https://api.github.com/repos/pandas-dev/pandas/pulls/12796 | 2016-04-04T21:27:28Z | 2016-04-07T14:36:57Z | null | 2016-04-07T14:47:55Z |
Fix for #12723: Unexpected behavior with binary operators and fill… | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index cc84347313b42..cfbb2dfc75519 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -321,3 +321,5 @@ Bug Fixes
- Bug where ``loffset`` argument was not applied when calling ``resample().count()`` on a ti... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
closes #12723
| https://api.github.com/repos/pandas-dev/pandas/pulls/12791 | 2016-04-04T05:28:47Z | 2016-04-17T14:13:08Z | null | 2016-04-17T14:17:04Z |
BUG: loc raises inconsistent error on unsorted MultiIndex | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 0aeeb281566ac..ee186aadb3156 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -233,3 +233,4 @@ Bug Fixes
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
- Bug wher... | - [x] closes #12660
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
.loc was fixed to always raise a KeyError with a helpful error message when called on an unsorted MultiIndex DataFrame
Tests ran fine the last time I checked, but if I run them with the latest ... | https://api.github.com/repos/pandas-dev/pandas/pulls/12790 | 2016-04-03T22:54:33Z | 2016-11-16T22:15:16Z | null | 2016-11-17T23:51:58Z |
TST: Make sparse test more strict | diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index 445ceef23b908..4a328fc7841f6 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -1203,24 +1203,40 @@ def assert_sp_array_equal(left, right):
assertIsInstance(right, pd.SparseArray, '[SparseArray]')
assert_almost_equal(left.s... | - [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/12789 | 2016-04-03T20:27:09Z | 2016-04-03T21:20:59Z | null | 2016-04-03T21:25:28Z |
BUG: SparseDataFrame indexing may return normal Series | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 0aeeb281566ac..c14a0c0961a2d 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -77,6 +77,7 @@ These changes conform sparse handling to return the correct types and work to ma
- Bug in ``SparseSeries... | - [x] related to #4400 (not close yet)
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Found a below bug in `SparseDataFrame` indexing.
```
# NG, must be SparseSeries
df = pd.DataFrame([[1, 2], [np.nan, 4]]).to_sparse()
type(df.loc[0])
# pandas.core.series.Ser... | https://api.github.com/repos/pandas-dev/pandas/pulls/12787 | 2016-04-03T19:29:38Z | 2016-04-04T17:53:40Z | null | 2016-04-04T17:58:08Z |
PEP8: pandas/indexes | diff --git a/ci/lint.sh b/ci/lint.sh
index 56bfb4cb0c23c..08c3e4570f262 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -8,7 +8,7 @@ RET=0
if [ "$LINT" ]; then
echo "Linting"
- for path in 'core' 'io' 'stats' 'compat' 'sparse' 'tools' 'tseries' 'tests' 'computation' 'util'
+ for path in 'core' 'indexes' 'io' ... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/12786 | 2016-04-03T18:27:37Z | 2016-04-03T21:22:59Z | null | 2016-04-03T21:25:38Z |
BUG: DataFrame.drop() does nothing for non-unique Datetime MultiIndex | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index f20b961455ba7..10a38f3dc13dc 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -211,3 +211,10 @@ Bug Fixes
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
- Bug whe... | - [x] closes #12701
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Closes #12701
Follows the suggested fix in the comments to the bug report.
Also added a line in whatsnew and a test.
Regarding the tests it passes the one I added. But I just noticed that plent... | https://api.github.com/repos/pandas-dev/pandas/pulls/12783 | 2016-04-03T15:05:02Z | 2016-04-03T17:52:22Z | null | 2016-04-03T17:52:49Z |
DOC: Clarify when csv separator is being parsed as regex. Resolves #10208 | diff --git a/doc/source/io.rst b/doc/source/io.rst
index d606e919e4292..a78222dd748ad 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -91,9 +91,10 @@ filepath_or_buffer : various
:class:`~python:io.StringIO`).
sep : str, defaults to ``','`` for :func:`read_csv`, ``\t`` for :func:`read_table`
Delimiter ... | - [x] closes #10208
- [ ] tests added / passed -- only docs, not needed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry -- neccessary for docs?
| https://api.github.com/repos/pandas-dev/pandas/pulls/12781 | 2016-04-03T13:27:16Z | 2016-04-03T15:41:14Z | null | 2016-04-03T15:41:14Z |
BUG: replace coerces incorrect dtype | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 798151971363e..16efdbaf2bf76 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -384,6 +384,7 @@ Bug Fixes
- Bug in ``pd.read_msgpack()`` in which ``Series`` categoricals were being improperly proc... | - [x] closes #12747
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12780 | 2016-04-03T08:20:04Z | 2017-03-20T14:22:53Z | null | 2017-03-20T14:22:53Z |
BUG: Sparse misc fixes including __repr__ | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index f20b961455ba7..be8323e6b46f7 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -81,6 +81,13 @@ API changes
- ``CParserError`` is now a ``ValueError`` instead of just an ``Exception`` (:issue:`12551`... | - [x] closes #10560
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Fixes following issues.
```
# NG, should be SparseArray (categorized as API change)
a = pd.SparseArray([1, np.nan, np.nan, 3, np.nan])
type(a.take([1, 2]))
# numpy.ndarray
# NG
s = pd.Series([1... | https://api.github.com/repos/pandas-dev/pandas/pulls/12779 | 2016-04-03T07:53:56Z | 2016-04-03T14:20:30Z | null | 2016-04-03T15:35:10Z |
BUG: to_dense does not preserve dtype in SparseArray | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index f20b961455ba7..78ca6794f9833 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -211,3 +211,5 @@ Bug Fixes
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
- Bug wher... | - [x] closes #10648
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12778 | 2016-04-03T07:47:43Z | 2016-04-03T14:24:21Z | null | 2016-04-03T14:54:06Z |
PERF: to_numeric for numeric dtypes | diff --git a/asv_bench/benchmarks/miscellaneous.py b/asv_bench/benchmarks/miscellaneous.py
index fe610ef4cb376..f9d577a2b56d7 100644
--- a/asv_bench/benchmarks/miscellaneous.py
+++ b/asv_bench/benchmarks/miscellaneous.py
@@ -27,4 +27,26 @@ def prop(self):
self.obj = Foo()
def time_misc_cache_readonly(se... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Skip `object` conversion if input is numeric already.
```
- 146.41ms 26.45μs 0.00 miscellaneous.to_numeric.time_from_float
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/12777 | 2016-04-02T17:54:56Z | 2016-04-29T17:20:57Z | null | 2016-04-29T17:21:15Z |
BUG: filter (with dropna=False) when there are no groups fulfilling the condition | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index f20b961455ba7..f6873cca02dbe 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -211,3 +211,4 @@ Bug Fixes
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
- Bug wher... | - [x] closes #12768
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Implemented the fix for #12768 which was proposed in the bug report.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12776 | 2016-04-02T17:22:59Z | 2016-04-03T14:33:08Z | null | 2016-04-03T14:34:00Z |
DOC: ecosystem.rst: pandas-datareader | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index dd3e86577d228..ae6d6a91448c4 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -129,6 +129,22 @@ both "column wise min/max and global min/max coloring."
API
-----
+`pandas-datareader <https://github.com/pydata/pandas-datare... | - [X] DOC: ecosystem.rst
| https://api.github.com/repos/pandas-dev/pandas/pulls/12773 | 2016-04-02T03:12:46Z | 2016-04-06T01:42:12Z | null | 2016-04-06T04:23:14Z |
Retain name in PeriodIndex resample | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index f20b961455ba7..283579373281e 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -192,7 +192,7 @@ Bug Fixes
- Bug in ``CategoricalIndex.get_loc`` returns different result from regular ``Index`` (:... | - [x] closes #12769
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12771 | 2016-04-02T00:08:01Z | 2016-04-03T20:35:52Z | null | 2016-04-03T21:05:52Z |
Another tiny typo (I think) in the doc. --Update groupby.rst | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index 02d4a924a92fc..516c8b266a8b2 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -971,7 +971,7 @@ Plotting
~~~~~~~~
Groupby also works with some plotting methods. For example, suppose we
-suspect that some features in a DataFrame my... | A tiny typo, I think. Sorry, everyone, I'm just reading the doc.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12763 | 2016-04-01T07:10:02Z | 2016-04-01T12:52:26Z | null | 2016-04-01T12:52:34Z |
A tiny typo (I think) in the doc. --Update groupby.rst | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index 02d4a924a92fc..5d82b4f95487f 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -747,7 +747,7 @@ The dimension of the returned result can also change:
.. ipython:: python
def f(x):
- return pd.Series([ x, x**2 ], index = ['... | A tiny typo in the doc I think.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12762 | 2016-04-01T06:45:33Z | 2016-04-01T12:52:26Z | null | 2016-04-01T12:52:44Z |
BUG: loffset argument not applied for resample().count() on timeseries | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 1179a347e4c46..6f3a5cc45c918 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -169,3 +169,4 @@ Bug Fixes
- Bug in ``pivot_table`` when ``margins=True`` and ``dropna=True`` where nulls still contrib... | - [x] closes #12725
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
The code to do this already existed in the `_downsample` method, which is called when using functions like `mean`. `max`, etc., but there was nothing in the `_groupby_and_aggregate` method used f... | https://api.github.com/repos/pandas-dev/pandas/pulls/12757 | 2016-03-31T13:08:17Z | 2016-03-31T13:15:40Z | null | 2016-03-31T13:15:40Z |
Manhattan plot for bioinformatitians | diff --git a/manhattan.py b/manhattan.py
new file mode 100644
index 0000000000000..423bcdf4132e4
--- /dev/null
+++ b/manhattan.py
@@ -0,0 +1,33 @@
+import pandas as pd
+def plotManhattan(df,chrom_column, pos_column, pval_column, colors=['black','gray']):
+ def findOutliers(x):
+ m=x.mean()
+ std=x.std(... | Hi everyone,
I'm a pandas user and just wanted to contribute but it was very complicated to commit as a developer...
BTW, I added Manhattan plot which is very popular in genetics and biology
Here is the R equivalent
https://cran.r-project.org/web/packages/qqman/qqman.pdf
## Cheers,
ARYA
- [ ] closes #xxxx
- [ ] tests ... | https://api.github.com/repos/pandas-dev/pandas/pulls/12753 | 2016-03-30T23:33:50Z | 2016-03-31T12:14:35Z | null | 2016-03-31T12:14:41Z |
CLN: Move boxing logic to BlockManager | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index f20b961455ba7..5af0b97173da2 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -204,10 +204,14 @@ Bug Fixes
- Bug in ``concat`` raises ``AttributeError`` when input data contains tz-aware datetime a... | - [x] closes #12741 closes #12772 closes #12469
- [x] tests added / passed
- [x] `map` related boxing
- [x] `quantile`
- [x] passes `git diff upstream/master | flake8 --diff`
- added `Series.asobject` to return boxed `object` values
- remove `common/i8_boxer()`, `Series._maybe_box()` (only used by `.quantile()`)
I... | https://api.github.com/repos/pandas-dev/pandas/pulls/12752 | 2016-03-30T22:48:53Z | 2016-04-03T17:03:18Z | null | 2016-04-03T17:08:28Z |
ENH: Min_weight for Rolling | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 3678168890444..8d11340ecaaf5 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5567,31 +5567,34 @@ def _add_series_or_dataframe_operations(cls):
from pandas.core import window as rwindow
@Appender(rwindow.rolling._... | Initial implementation for https://github.com/pydata/pandas/issues/11167.
Needs some additional tests - for dataframes, other axis values etc, but want to get this out there and get feedback.
Note that the implemenation is different than that for `min_periods`. This uses a single function to mask all rolling calculat... | https://api.github.com/repos/pandas-dev/pandas/pulls/12750 | 2016-03-30T16:57:48Z | 2017-08-18T00:58:04Z | null | 2017-08-18T00:58:04Z |
TST: Add period and other dtype related tests | diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py
index ec18844354f6b..861be35f6a2b4 100644
--- a/pandas/tests/frame/test_constructors.py
+++ b/pandas/tests/frame/test_constructors.py
@@ -483,6 +483,20 @@ def create_data(constructor):
assert_frame_equal(result_timed... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- xref #12549
- added more `Period` related tests in preparation for period dtype.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12748 | 2016-03-30T15:26:03Z | 2016-04-01T13:16:59Z | null | 2016-04-01T15:13:52Z |
PERF: Improve replace perf | diff --git a/asv_bench/benchmarks/replace.py b/asv_bench/benchmarks/replace.py
index 869ddd8d6fa49..66b8af53801ac 100644
--- a/asv_bench/benchmarks/replace.py
+++ b/asv_bench/benchmarks/replace.py
@@ -32,6 +32,30 @@ def time_replace_large_dict(self):
self.s.replace(self.to_rep, inplace=True)
+class replace... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
When `.replace` is called with `dict`, replacements are done per value. Current impl try to soft convert the dtype in every replacement, but it is enough to be done in the final replacement.
#### Bench
```
- 712.8... | https://api.github.com/repos/pandas-dev/pandas/pulls/12745 | 2016-03-30T10:13:47Z | 2016-11-30T11:46:27Z | null | 2016-11-30T12:20:53Z |
ENH: allow .rolling / .expanding as groupby methods | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 928fefd6ce17e..702e5f2a57201 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -18,6 +18,8 @@ Highlights include:
.. _whatsnew_0181.new_features:
+- ``.groupby(...)`` has been enhanced to provid... | closes #12738
closes #12486
closes #12363
- [x] more tests (other methods)
~~\- [ ] doc section in groupby~~ will do later
```
In [3]: pd.options.display.max_rows=10
In [4]: df = pd.DataFrame({'A': [1] * 20 + [2] * 12 + [3] * 8,
'B': np.arange(40)})
In [5]: df
Out[5]:
A B
0 1 0
... | https://api.github.com/repos/pandas-dev/pandas/pulls/12743 | 2016-03-30T03:38:55Z | 2016-04-26T15:03:02Z | null | 2017-08-11T11:41:05Z |
BUG: SparseSeries.shape ignores fill_value | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 55750fe5700c6..9c54b19fe0f22 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -134,6 +134,10 @@ Bug Fixes
+
+
+
+
- Bug in ``value_counts`` when ``normalize=True`` and ``dropna=True`` where n... | - [x] closes #10452
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Based on existing tests / text search, no other metohd depends on current `SparseSeries.shape` (buggy) behavior.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12742 | 2016-03-30T01:54:22Z | 2016-03-30T12:39:02Z | null | 2016-04-01T16:00:46Z |
ENH: show_versions to include pandas_datareader | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 55750fe5700c6..f075e222feece 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -72,7 +72,7 @@ API changes
- ``CParserError`` is now a ``ValueError`` instead of just an ``Exception`` (:issue:`125... | - [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/12740 | 2016-03-29T23:58:21Z | 2016-03-30T12:46:54Z | null | 2016-04-01T16:00:16Z |
ujson __json__ attribute logic | diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py
index f5efb54099ddd..72708b932265b 100644
--- a/pandas/io/tests/test_json/test_ujson.py
+++ b/pandas/io/tests/test_json/test_ujson.py
@@ -845,6 +845,16 @@ def test_decodeBigEscape(self):
input = quote + (base * 1... | - [x] ./test_fast.sh works fine
Ran 8463 tests in 127.338
OK (SKIP=592)
- [x] passes `git diff upstream/master | flake8 --diff`
A port of ujson 1.35 feature: object can define `__json__` attribute for custom serialization. See
https://github.com/esnme/ultrajson/commit/a8f0f0f1010956b27bf0c2cb5e52d85bb84e273a... | https://api.github.com/repos/pandas-dev/pandas/pulls/12739 | 2016-03-29T23:53:49Z | 2016-05-13T23:37:18Z | null | 2023-05-11T01:13:28Z |
COMPAT: compat with released numpy 1.11 for IndexError -> TypeError | diff --git a/ci/requirements-3.5_OSX.build b/ci/requirements-3.5_OSX.build
index 8dbecfc9e9292..a201be352b8e4 100644
--- a/ci/requirements-3.5_OSX.build
+++ b/ci/requirements-3.5_OSX.build
@@ -1,2 +1,2 @@
-numpy
+numpy=1.10.4
cython
diff --git a/ci/requirements-3.5_OSX.run b/ci/requirements-3.5_OSX.run
index 49c336cae... | was a revert of # https://github.com/numpy/numpy/pull/6271
closes #12729
closes #12792
| https://api.github.com/repos/pandas-dev/pandas/pulls/12736 | 2016-03-29T18:17:16Z | 2016-04-05T13:37:52Z | null | 2016-04-05T13:37:52Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.