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 |
|---|---|---|---|---|---|---|---|
CLN: Move print_versions into pandas proper. | diff --git a/ci/print_versions.py b/ci/print_versions.py
index 0df8bb7e28786..f2549fe73be24 100755
--- a/ci/print_versions.py
+++ b/ci/print_versions.py
@@ -1,132 +1,5 @@
#!/usr/bin/env python
-import sys
-print("\nINSTALLED VERSIONS")
-print("------------------")
-print("Python: %d.%d.%d.%s.%s" % sys.version_info[:... | Moves print_versions under util so that it can be called from buildbot
(and so we can tell people to run `from pandas.util.print_versions import show_versions; show_versions()`
when trying to debug)
cc @yarikoptic
| https://api.github.com/repos/pandas-dev/pandas/pulls/4760 | 2013-09-06T02:26:58Z | 2013-09-06T02:49:12Z | 2013-09-06T02:49:12Z | 2014-07-16T08:26:47Z |
BUG: Bug with reindexing on the index with a non-unique index will now raise a ValueError | diff --git a/doc/source/release.rst b/doc/source/release.rst
index d75e9d2cee52e..9a34cdbdfb5a8 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -151,6 +151,7 @@ pandas 0.13
- ``Series.isin()`` and ``DataFrame.isin()`` now raise a ``TypeError`` when
passed a string (:issue:`4763`). Pass a ``... | closes #4746
| https://api.github.com/repos/pandas-dev/pandas/pulls/4757 | 2013-09-05T19:23:07Z | 2013-09-06T23:09:09Z | 2013-09-06T23:09:08Z | 2014-06-16T12:19:34Z |
BUG/ER: (GH2702) Bug with Series indexing not raising an error when the right-hand-side has an incorrect length | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 557c4b293a84e..8f782f31fd72c 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -319,6 +319,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
etc. (:issue:`4718`, :issue:`4628`)
- Bug in using ``iloc/loc`` with a c... | closes #2702
Base use cases (note that a completely changed series will morph to the new dtype if necessary)
```
In [1]: s = Series(list('abc'))
In [2]: s[0:3] = list(range(3))
In [3]: s
Out[3]:
0 0
1 1
2 2
dtype: int64
In [4]: s = Series(list('abc'))
In [5]: s[0:2] = list(range(2))
In [6]: s
Out[6]:
0... | https://api.github.com/repos/pandas-dev/pandas/pulls/4756 | 2013-09-05T18:13:02Z | 2013-09-06T03:11:15Z | 2013-09-06T03:11:15Z | 2014-06-16T16:32:22Z |
BUG: TimeSeries compat from < 0.13 | diff --git a/pandas/compat/pickle_compat.py b/pandas/compat/pickle_compat.py
index 58bbf70c0bea9..bf52fc30a9ea3 100644
--- a/pandas/compat/pickle_compat.py
+++ b/pandas/compat/pickle_compat.py
@@ -1,12 +1,13 @@
""" support pre 0.12 series pickle compatibility """
import sys
-import pickle
import numpy as np
impor... | fixes a pickle compat issue for < 0.13 when presented with a TimeSeries (was an oversight on the initial PR).
additional tests as well
| https://api.github.com/repos/pandas-dev/pandas/pulls/4755 | 2013-09-05T14:44:45Z | 2013-09-06T23:06:27Z | 2013-09-06T23:06:27Z | 2014-06-27T17:57:48Z |
Added support for outer join in DataFrame.update | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 4e9f28122b43d..fd10bb4a74643 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3170,12 +3170,15 @@ def update(self, other, join='left', overwrite=True, filter_func=None,
If True, will raise an error if the DataFrame and other bot... | https://api.github.com/repos/pandas-dev/pandas/pulls/4754 | 2013-09-05T14:20:46Z | 2014-01-29T03:39:48Z | null | 2014-01-29T03:39:48Z | |
CLN: Remove redundant call to get_splitter | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 723ff2fd5ab56..14e8fba359e6a 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -589,9 +589,6 @@ def get_iterator(self, data, axis=0, keep_internal=True):
Generator yielding sequence of (name, subsetted object)
for eac... | `get_splitter` was called directly, then again through an internal method. Results from the first call are not used for anything and immediately replaced.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4753 | 2013-09-05T13:39:28Z | 2013-09-06T22:01:31Z | 2013-09-06T22:01:31Z | 2014-07-16T08:26:35Z |
BUG: Fix crash using to_csv with QUOTE_NONE | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 74ac180a7d121..69647939ab0d0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -315,6 +315,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Fix some inconsistencies with ``Index.rename`` and ``MultiIndex.rename``,
... | Fixes #4328.
Now passes `quotechar` to csv's writer. Default is same as csv (`'"'`), but sets to `None` with `quoting=csv.QUOTE_NONE`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4752 | 2013-09-05T01:48:14Z | 2013-09-05T02:37:09Z | 2013-09-05T02:37:08Z | 2015-08-10T12:29:04Z |
BUG: Fix wrong str.format() calls in Index.summary | diff --git a/doc/source/release.rst b/doc/source/release.rst
index bbadba61c0135..74ac180a7d121 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -1039,6 +1039,8 @@ pandas 0.10.1
- Fix Period resampling bug when all values fall into a single bin (:issue:`2070`)
- Fix buggy interaction with useco... | Fixes #3869.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4751 | 2013-09-05T01:20:12Z | 2013-09-05T02:18:00Z | 2013-09-05T02:18:00Z | 2014-06-22T12:04:51Z |
CLN: Make ExcelWriter more pluggable | diff --git a/doc/source/io.rst b/doc/source/io.rst
index da611c0375789..9fd2c167fa605 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1681,6 +1681,24 @@ one can use the ExcelWriter class, as in the following example:
df2.to_excel(writer, sheet_name='sheet2')
writer.save()
+.. _io.excel.writers:
+
+... | FIxes #4745 and makes it easier to swap in other `ExcelWriter`s.
Basically, you can subclass `ExcelWriter` (or not), register the engine with `register_engine`, and then either pass it as an `engine` keyword to `read_excel` or set it as the default writer using the config options (i.e., `io.excel.xlsx.writer` or `io.e... | https://api.github.com/repos/pandas-dev/pandas/pulls/4750 | 2013-09-05T00:25:02Z | 2013-09-13T11:08:18Z | 2013-09-13T11:08:18Z | 2014-06-17T06:40:42Z |
BUG: series replace should allow a single list | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 9a34cdbdfb5a8..08a9b15dc9f58 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -152,6 +152,8 @@ pandas 0.13
passed a string (:issue:`4763`). Pass a ``list`` of one element (containing
the string) instead.
- Remove undocume... | Also reverts the `method` parameter of `NDFrame.replace()` deprecation
closes #4743
| https://api.github.com/repos/pandas-dev/pandas/pulls/4748 | 2013-09-04T19:23:07Z | 2013-09-06T23:40:44Z | 2013-09-06T23:40:44Z | 2014-06-21T17:17:09Z |
ENH ohlc resample for DataFrame | diff --git a/doc/source/release.rst b/doc/source/release.rst
index bbadba61c0135..70aeb454e9ef2 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -56,6 +56,7 @@ pandas 0.13
- Significant table writing performance improvements in ``HDFStore``
- JSON date serialisation now performed in low-level C... | closes #2320
Can use ohlc from DataFrame.
cc @jreback
Example:
```
In [24]: df = pd.DataFrame({'PRICE': {Timestamp('2011-01-06 10:59:05', tz=None): 24990,
Timestamp('2011-01-06 12:43:33', tz=None): 25499,
Timestamp('2011-01-06 12:54:09', tz=None): 25499},
'VOLUME': {Timestamp('2011-01-06 10:59:05', tz=None): 1... | https://api.github.com/repos/pandas-dev/pandas/pulls/4740 | 2013-09-03T23:35:28Z | 2013-09-10T06:40:38Z | 2013-09-10T06:40:38Z | 2014-06-22T17:56:54Z |
ENH: Added xlsxwriter as an ExcelWriter option. | diff --git a/ci/print_versions.py b/ci/print_versions.py
index 0df8bb7e28786..a805a43ac256e 100755
--- a/ci/print_versions.py
+++ b/ci/print_versions.py
@@ -92,6 +92,12 @@
except:
print("openpyxl: Not installed")
+try:
+ import xlsxwriter
+ print("xlsxwriter: %s" % xlsxwriter.__version__)
+except:
+ pr... | Refactored pandas.io.excel.ExcelWriter to allow other
writer engines and added xlsxwriter as an option.
GitHub issue #4542.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4739 | 2013-09-03T23:03:21Z | 2013-09-15T22:08:02Z | null | 2014-06-20T00:03:33Z |
API: allow single element boolean Series to improve on numpy behavior( related GH4657) | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index b167b00b58ef1..9782967fd0a59 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -219,7 +219,7 @@ Boolean Reductions
.. _basics.reductions:
-Furthermore, you can apply the reduction functions: ``any()`` and ``all()`` to provide a
+Furth... | related #4657
| https://api.github.com/repos/pandas-dev/pandas/pulls/4738 | 2013-09-03T22:01:37Z | 2013-10-01T00:03:52Z | 2013-10-01T00:03:52Z | 2014-06-17T15:59:26Z |
CLN: Improve Exceptions in core/frame and testing in test_frame and test_multilievel | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 557c4b293a84e..544e414132acd 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -71,8 +71,9 @@ pandas 0.13
when the key is a column
- Support for using a ``DatetimeIndex/PeriodsIndex`` directly in a datelike calculation
e.g... | More specific Exceptions (and better testing for them) through a number of parts of pandas. In particular, in `core/frame` / tests/test_frame and tests/test_multilevel Associated changes in some other parts of pandas to support it (mostly making sparse have the same exceptions as core/frame).
- nearly everything that w... | https://api.github.com/repos/pandas-dev/pandas/pulls/4732 | 2013-09-02T01:17:54Z | 2013-09-06T02:01:08Z | 2013-09-06T02:01:08Z | 2014-06-16T19:56:48Z |
BUG: (GH4726) bug in getting a cross-sectional using iloc/loc with a duplicate items index | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 592d6804a04ee..b3500b4f98b37 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -307,8 +307,10 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Fix boolean comparison with a DataFrame on the lhs, and a list/tuple on th... | closes #4726
| https://api.github.com/repos/pandas-dev/pandas/pulls/4729 | 2013-09-01T21:38:12Z | 2013-09-02T13:07:12Z | 2013-09-02T13:07:12Z | 2014-07-15T01:06:57Z |
BUG: Fix DataFrame.from_records w/ normal ndarray. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6530b7e5e9238..abbee59941c8c 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -306,8 +306,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Fix boolean comparison with a DataFrame on the lhs, and a list/tuple on the... | I haven't looked at the `from_records` code before, which is why I'm spending all this time laying out a relatively minor change. Previously, was causing a TypeError about None not being iterable when arr.dtype.names was None. Now goes to 'last ditch' parsing instead.
This was the original test case (that dates back, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4727 | 2013-09-01T19:29:21Z | 2013-09-01T21:05:27Z | 2013-09-01T21:05:27Z | 2014-06-22T21:30:43Z |
DOC: small clarification in DataFrame docstring | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index c7ff4c052638d..5d8cc0b9d8de0 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -351,7 +351,8 @@ class DataFrame(NDFrame):
Index to use for resulting frame. Will default to np.arange(n) if
no indexing information part of input... | Two small things:
- add that it is actually for the column labels
- fixes small typo (not -> no)
| https://api.github.com/repos/pandas-dev/pandas/pulls/4723 | 2013-09-01T09:00:17Z | 2013-09-01T12:54:23Z | 2013-09-01T12:54:23Z | 2014-07-16T08:25:56Z |
PERF: faster plotting of timeseries with PeriodIndex | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e12e6c91d46d0..3df6bc167386c 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -47,7 +47,7 @@ pandas 0.13
- ``get_dummies`` works with NaN (:issue:`4446`)
- Added a test for ``read_clipboard()`` and ``to_clipboard()`` (:issue:`42... | See discussion in #4705.
This improves the speed of plotting timeseries with PeriodIndex (or with DatetimeIndex that is converted to a PeriodIndex during plotting) drastically: from 30 s in 0.12 (but 7 s in 0.11) to 0.2 s with this commit for the plotting of following data:
``` python
N = 10000
M = 25
df = pd.DataFr... | https://api.github.com/repos/pandas-dev/pandas/pulls/4722 | 2013-09-01T08:47:05Z | 2013-09-07T21:27:23Z | 2013-09-07T21:27:23Z | 2014-06-20T14:26:19Z |
CLN: Improve Exceptions in core/common, io/excel and core/format | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 592d6804a04ee..57fbbf631fec4 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -71,6 +71,8 @@ pandas 0.13
when the key is a column
- Support for using a ``DatetimeIndex/PeriodsIndex`` directly in a datelike calculation
e.g... | Related to #3954.
Cleanups to Exceptions in core/common, io/excel, core/format. A few places I added `# pragma: no cover`, because it looked like the code was generally unreachable. A few cleanups in tests/test_common and better error message in `_mut_exclusive` (which needs to be used in Panel.reindex later on).
Spe... | https://api.github.com/repos/pandas-dev/pandas/pulls/4721 | 2013-09-01T02:13:11Z | 2013-09-02T02:11:31Z | 2013-09-02T02:11:31Z | 2014-06-25T23:05:47Z |
DOC: Updates to CONTRIBUTING.md | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 32b0c27fc8691..ac972b47e7b60 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -32,8 +32,8 @@ your contribution or address the issue you're having.
- **Make sure the test suite passes**., and that means on python3 as well.
You can use "test_fast.sh", or t... | Some updates that are probably necessary - figured I'd put this in a PR first then merge in a bit.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4719 | 2013-08-31T23:28:43Z | 2013-09-01T18:45:34Z | 2013-09-01T18:45:34Z | 2014-07-16T08:25:51Z |
ENH: Better rename/set_names handling for Index | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 570300b7c79de..6530b7e5e9238 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -306,6 +306,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Fix boolean comparison with a DataFrame on the lhs, and a list/tuple on the... | Fixes #4628
- MultiIndex now responds correctly to `rename` (synonym for
`set_names`)
- `set_names` checks that input is list like.
- Cleaner error message for immutable ops.
- Added in previously missing tests for MultiIndex immutable metadata.
- Altered `is_list_like` to check for binary_types as well.
For now, th... | https://api.github.com/repos/pandas-dev/pandas/pulls/4718 | 2013-08-31T23:24:53Z | 2013-09-01T01:21:37Z | 2013-09-01T01:21:37Z | 2014-06-12T13:18:24Z |
API/BUG: a column multi-index will be recreated properly (GH4710) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 15c2895f19cc3..570300b7c79de 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -113,6 +113,8 @@ pandas 0.13
via the option ``io.hdf.dropna_table`` (:issue:`4625`)
- the ``format`` keyword now replaces the ``table`` keyword;... | closes #4710
API: raise on trying to use a multi-index with data_columns on the same axis
| https://api.github.com/repos/pandas-dev/pandas/pulls/4716 | 2013-08-31T19:51:41Z | 2013-08-31T20:00:14Z | 2013-08-31T20:00:14Z | 2014-06-16T09:10:52Z |
API: change nomeclature in HDFStore to use format=fixed(f) | table(t) | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 73a7c2d1e1121..92042b6fe58c5 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1794,27 +1794,31 @@ similar to how ``read_csv`` and ``to_csv`` work. (new in 0.11.0)
os.remove('store_tl.h5')
-.. _io.hdf5-storer:
+.. _io.hdf5-fixed:
-Storer Format... | see #4645
Storer has been renamed to Fixed (and all docs changed)
added option: `io.hdf.default_format` to allow the overriding of the default format
format is now specified as: `format=` with a value of (`fixed(f)` or `table(t)`)
should be a bit more intuitve
| https://api.github.com/repos/pandas-dev/pandas/pulls/4715 | 2013-08-31T14:46:30Z | 2013-08-31T14:57:45Z | 2013-08-31T14:57:45Z | 2014-07-16T08:25:40Z |
API: for HDFStore, add the keyword dropna=True to append to change whether to write ALL nan rows to the store (GH4625) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 4e6ac7240512c..f492570c9bb0b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -109,6 +109,9 @@ pandas 0.13
be raised if you try to use ``mode='w'`` with an OPEN file handle (:issue:`4367`)
- allow a passed locations array ... | closes #4625
also settable via the option io.hdf.dropna_table
retains backward compat
| https://api.github.com/repos/pandas-dev/pandas/pulls/4714 | 2013-08-31T14:09:16Z | 2013-08-31T14:09:35Z | 2013-08-31T14:09:35Z | 2014-07-16T08:25:38Z |
CLN: Remove unused and undocumented kind keyword from read_excel | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 4e6ac7240512c..c879d2a030d74 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -203,6 +203,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Refactor of ``_get_numeric_data/_get_bool_data`` to core/generic.py, allowing... | Pops kwarg and warns if you pass it (rather than passing on).
Fixes #4712
| https://api.github.com/repos/pandas-dev/pandas/pulls/4713 | 2013-08-30T22:19:44Z | 2013-09-01T21:03:40Z | 2013-09-01T21:03:40Z | 2014-06-13T16:05:16Z |
BUG: (GH4708) A zero length series written to HDF cannot be read back. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index ccd5f2ae53294..3b34a5321d899 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -209,6 +209,7 @@ API Changes
- ``HDFStore``
+ - A zero length series written to HDF cannot be read back. (:issue:`4708`)
- ``append_to_multip... | closes #4708 by spotting when the sentinel single value has been written. This was not being done for the index which resulted in a values/index length miss-match.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4709 | 2013-08-30T15:12:15Z | 2013-10-15T12:42:36Z | 2013-10-15T12:42:35Z | 2014-06-23T14:43:41Z |
ENH: Ability to tz localize when index is implicility in tz | diff --git a/doc/source/api.rst b/doc/source/api.rst
index f74f5f0d28a58..5ad36b3c8b45c 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -868,3 +868,149 @@ Serialization / IO / Conversion
Panel.to_frame
Panel.to_clipboard
+.. currentmodule:: pandas.core.index
+
+.. _api.index
+
+Index
+-----
+
+**M... | Fix to issue #4230 which allows to localize an index which is
implicitly in a tz (e.g., reading from a file) by passing imply_dst to
tz_localize.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4706 | 2013-08-29T12:40:13Z | 2013-10-02T20:59:51Z | 2013-10-02T20:59:51Z | 2014-06-20T11:17:26Z |
HDFStore.append_to_multiple doesn't write rows that are all np.nan | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 92042b6fe58c5..67cbe35144461 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2170,29 +2170,38 @@ multiple tables at once. The idea is to have one table (call it the
selector table) that you index most/all of the columns, and perform your
queries. The... | Hi,
Using HDFStore.append_to_multiple, if an entire row written to any one table consists entirely of np.nan, the row is not written to the table, but is written to the other tables. The following code reproduces and fixes the issue.
I would prefer that append_to_multiple maintain synchronized rows across tables, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4698 | 2013-08-27T23:52:04Z | 2013-09-03T11:08:14Z | 2013-09-03T11:08:14Z | 2014-06-13T04:34:46Z |
ENH: Series.str.extract returns regex matches more conveniently | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index d0156a6e92f0a..fad62c1a17deb 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -975,6 +975,42 @@ Methods like ``replace`` and ``findall`` take regular expressions, too:
s3
s3.str.replace('^.a|dog', 'XX-XX ', case=False)
+The meth... | Closes #4685
| https://api.github.com/repos/pandas-dev/pandas/pulls/4696 | 2013-08-27T19:54:13Z | 2013-09-20T14:37:40Z | 2013-09-20T14:37:39Z | 2014-06-19T09:46:22Z |
ENH: Add dateutil timezone support (GH4688) | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index cd12cc65dcd43..c37b2bb2084e0 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -1048,7 +1048,8 @@ Time Zone Handling
------------------
Using ``pytz``, pandas provides rich support for working with timestamps in
-differ... | This adds `dateutil` time zone support as a compliment to `pytz`. The tests are designed to demonstrate that the same result is obtained using either library except where the libraries themselves differ (at the onset of DST).
There is a fair amount of tricky coding here in `tslib.pyx` as it is accessing private member... | https://api.github.com/repos/pandas-dev/pandas/pulls/4689 | 2013-08-27T16:31:45Z | 2014-02-16T12:08:19Z | null | 2014-06-18T23:18:32Z |
ENH: GH3371 support timedelta fillna | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 930f100fd86dc..c24ff6ab0ab30 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -67,6 +67,9 @@ pandas 0.13
- A Series of dtype ``timedelta64[ns]`` can now be divided by another
``timedelta64[ns]`` object to yield a ``float64`` d... | closes #3371
- ENH: GH3371 support timedelta fillna
- BUG: add support for datetime64 ffill/bfill
- INT: add TimeDeltaBlock support in internals
```
In [3]: s = Series([Timestamp('20130101'),Timestamp('20130101'),
Timestamp('20130102'),Timestamp('20130103 9:01:01')])
In [4]: td = s.diff()
In [5]: t... | https://api.github.com/repos/pandas-dev/pandas/pulls/4684 | 2013-08-27T01:48:45Z | 2013-09-08T19:46:53Z | 2013-09-08T19:46:53Z | 2014-09-05T14:39:46Z |
ENH: add PostgreSQL and MySQL support for pandas.io.sql.get_schema | diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt
index ac77449b2df02..a61aeaefa8a26 100644
--- a/ci/requirements-2.6.txt
+++ b/ci/requirements-2.6.txt
@@ -4,3 +4,4 @@ python-dateutil==2.1
pytz==2013b
http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsoup4-4.2.0.tar.gz
html5lib==1.0... | Simple changes to add PostgreSQL syntax to pandas.io.sql.get_schema. Added data type cases for get_sqltype() and a columns "flavor" for get_schema().
The logic of `get_schema` seems simple enough at the moment (though it still doesn't support Oracle). Should it be replaced by SQLAlchemy integration?
ref: https://git... | https://api.github.com/repos/pandas-dev/pandas/pulls/4680 | 2013-08-26T22:22:14Z | 2014-02-16T22:09:22Z | null | 2014-06-12T12:36:30Z |
BUG: preserve empty dtype if possible when creating an empty BlockManager | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index fde9421e4a3f9..4344b2542ffd6 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -1582,7 +1582,10 @@ def make_empty(self, axes=None):
""" return an empty BlockManager with the items axis of len 0 """
if axes is ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4677 | 2013-08-26T19:24:58Z | 2013-08-26T19:42:24Z | 2013-08-26T19:42:24Z | 2014-07-16T08:25:08Z | |
BUG: GH 4667 setitem error/dtype wrong with Series/Frame when setting with None | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 721276dd383e8..16179cdeca052 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -285,6 +285,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Fix an issue with CacheableOffset not properly being used by many DateOffse... | closes #4667
| https://api.github.com/repos/pandas-dev/pandas/pulls/4676 | 2013-08-26T15:03:13Z | 2013-08-26T15:18:22Z | 2013-08-26T15:18:22Z | 2014-06-23T23:12:27Z |
CLN/API: Refactor of _get_numeric_data/_get_bool_data to core/generic.py, allowing Series/Panel functionaility | diff --git a/doc/source/release.rst b/doc/source/release.rst
index c572aa91c18bb..721276dd383e8 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -193,6 +193,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Refactor ``rename`` methods to core/generic.py; fixes ``Series.rename`` for (... | https://api.github.com/repos/pandas-dev/pandas/pulls/4675 | 2013-08-26T14:02:38Z | 2013-08-26T14:42:20Z | 2013-08-26T14:42:20Z | 2014-07-16T08:25:04Z | |
get_effective_cell for getting the contents of Excel cell when the cell is merged | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a2b525a737879..2340ff7495551 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -44,6 +44,8 @@ pandas 0.13
- Text parser now treats anything that reads like inf ("inf", "Inf", "-Inf",
"iNf", etc.) to infinity. (:issue:`4220`, :i... | Closes #4672
| https://api.github.com/repos/pandas-dev/pandas/pulls/4673 | 2013-08-26T03:11:14Z | 2013-08-26T22:46:35Z | null | 2013-08-28T03:21:48Z |
Groupby as index | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 14ed2cab10eac..4d810e834b2a8 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -217,6 +217,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
of a duplicate index (:issue:`4359`)
- In ``to_json``, fix date handling... | closes #4648
closes #3417
closes #4649 (pr)
```
In [1]: df = pd.DataFrame([[1, 2], [2, 3], [1, 4], [1, 5], [2, 6]], index=list('abcde'))
In [2]: g = df.groupby(0, as_index=False)
In [3]: g.apply(lambda x: x)
Out[3]:
0 1
a 1 2
b 2 3
c 1 4
d 1 5
e 2 6
In [4]: g.head(2)
Out[4]:
0 1
a 1 2
c 1 4
... | https://api.github.com/repos/pandas-dev/pandas/pulls/4670 | 2013-08-25T19:42:22Z | 2013-08-27T00:20:23Z | 2013-08-27T00:20:23Z | 2014-06-24T02:01:04Z |
ENH: In HDFStore, handle a passed Series in table format (GH4330) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 159deaabb943f..64888e2c6a00c 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -83,6 +83,7 @@ pandas 0.13
- ``HDFStore``
+ - handle a passed ``Series`` in table format (:issue:`4330`)
- added an ``is_open`` property to i... | closes #4330
| https://api.github.com/repos/pandas-dev/pandas/pulls/4664 | 2013-08-23T22:02:42Z | 2013-08-24T00:12:34Z | 2013-08-24T00:12:33Z | 2014-06-27T09:10:17Z |
Added Stata 13 support | diff --git a/doc/source/io.rst b/doc/source/io.rst
index e2f114a1ffff5..546925cc8c063 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2754,7 +2754,7 @@ Writing to STATA format
.. _io.stata_writer:
The method :func:`~pandas.core.frame.DataFrame.to_stata` will write a DataFrame
-into a .dta file. The forma... | Added initial Stata 13 .dta file format support. Newly added string features ("strls") and writing are not supported. Fixes #4291.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4662 | 2013-08-23T20:01:27Z | 2013-09-21T23:29:27Z | 2013-09-21T23:29:27Z | 2014-06-25T22:52:46Z |
BUG: GH4273, appending a 0-len table to HDFStore was raising | diff --git a/doc/source/release.rst b/doc/source/release.rst
index c90d10e5907f4..14ed2cab10eac 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -197,7 +197,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- raising an invalid ``TypeError`` rather than ``ValueError`` when appendin... | closes #4273
| https://api.github.com/repos/pandas-dev/pandas/pulls/4660 | 2013-08-23T14:00:48Z | 2013-08-23T14:33:19Z | 2013-08-23T14:33:19Z | 2014-06-20T17:03:22Z |
BUG: Series.reshape to own shape raises TypeError | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 66c3dcd203a6a..eeaa9595252a8 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -498,6 +498,8 @@ Bug Fixes
- ``Timestamp`` objects can now appear in the left hand side of a comparison
operation with a ``Series`` or ``DataFrame``... | closes #4554
I just fixed the call to ndarray.reshape with order as a positional argument, which is wrong. Please note that I had to remove a test.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4659 | 2013-08-23T13:39:07Z | 2013-09-29T22:07:33Z | 2013-09-29T22:07:33Z | 2014-06-20T13:45:34Z |
Boolean indexing on an empty series loses index names (rebase of 4236) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 745876e8c448e..b3436fd4e088f 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -258,6 +258,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Fix bug in ``pd.read_clipboard`` on windows with PY3 (:issue:`4561`); not d... | Fixes #4235.
This just adds a release note to #4236: Boolean indexing on an empty series loses index names.
Actually that commit really just adds tests for this, since they now already pass in master. It also, fixes behaviour of `infer_dtype` with empty arrays.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4658 | 2013-08-23T13:00:50Z | 2013-08-23T13:03:32Z | 2013-08-23T13:03:32Z | 2014-06-18T16:11:49Z |
API: GH4633, bool(obj) behavior, raise on __nonzero__ always | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 760e6a614fd92..96f9fd912b664 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -269,7 +269,6 @@ A ``where`` operation for getting.
df[df > 0]
-
Setting
~~~~~~~
@@ -708,3 +707,20 @@ Reading from an excel file
:suppress:
os... | closes #4633
this is a revert to #1073/#1069
now a call to `__nonzero__` raises `ValueError` ALWAYS
The following is the behavior
```
In [17]: s = Series(randn(4))
In [18]: df = DataFrame(randn(10,2))
In [19]: s_empty = Series()
In [20]: df_empty = DataFrame()
In [5]: bool(s)
Out[5]: ValueError: The truth value... | https://api.github.com/repos/pandas-dev/pandas/pulls/4657 | 2013-08-23T12:42:55Z | 2013-08-31T17:51:58Z | 2013-08-31T17:51:58Z | 2014-06-12T13:11:07Z |
fix generation of short revision hashes in test_perf | diff --git a/vb_suite/test_perf.py b/vb_suite/test_perf.py
index b39dfdcaae94b..c1a91786ab6d0 100755
--- a/vb_suite/test_perf.py
+++ b/vb_suite/test_perf.py
@@ -70,7 +70,7 @@
class RevParseAction(argparse.Action):
def __call__(self, parser, namespace, values, option_string=None):
import subprocess
- ... | This PR fixes the broken generation of short revision hashes of test_perf.py described in #4654.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4655 | 2013-08-23T09:17:59Z | 2013-08-23T19:54:52Z | null | 2013-08-23T20:34:07Z |
BUG: allow as_index=False for non aggregating groupby methods | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 159deaabb943f..937df6eb7cf3a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -275,6 +275,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
have internal setitem_with_indexer in core/indexing to use Block.setitem
... | closes #4648
closes #3417
| https://api.github.com/repos/pandas-dev/pandas/pulls/4649 | 2013-08-23T01:32:16Z | 2013-08-27T00:20:23Z | null | 2014-06-22T10:18:48Z |
API: remove the table keyword, replaced by fmt='s|t' | diff --git a/doc/source/io.rst b/doc/source/io.rst
index f09ae1563f71b..73a7c2d1e1121 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1803,6 +1803,7 @@ The examples above show storing using ``put``, which write the HDF5 to ``PyTable
the ``storer`` format. These types of stores are are **not** appendable onc... | - API: the `fmt` keyword now replaces the table keyword; allowed values are `s|t`
the same defaults as prior < 0.13.0 remain, e.g. `put` implies 's' (Storer) format
and `append` imples 't' (Table) format
closes #4584 as well
| https://api.github.com/repos/pandas-dev/pandas/pulls/4645 | 2013-08-22T22:05:30Z | 2013-08-26T12:43:52Z | 2013-08-26T12:43:52Z | 2014-06-13T00:06:16Z |
test_perf fixes, restore clobbered pickle compare cmdargs, restore back_compat | diff --git a/vb_suite/test_perf.py b/vb_suite/test_perf.py
index ca98b94e4fbbd..b39dfdcaae94b 100755
--- a/vb_suite/test_perf.py
+++ b/vb_suite/test_perf.py
@@ -26,6 +26,21 @@
"""
+# IMPORTANT NOTE
+#
+# This script should run on pandas versions at least as far back as 0.9.1.
+# devs should be able to use the late... | https://api.github.com/repos/pandas-dev/pandas/pulls/4644 | 2013-08-22T19:36:36Z | 2013-08-22T19:36:42Z | 2013-08-22T19:36:42Z | 2014-06-26T11:55:38Z | |
BUG: (GH4626) Fix decoding based on a passed in non-default encoding in pd.read_stata | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 16179cdeca052..929c167cd1340 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -286,6 +286,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
the DateOffset from being cached (:issue:`4609`)
- Fix boolean compariso... | closes #4626
| https://api.github.com/repos/pandas-dev/pandas/pulls/4643 | 2013-08-22T17:41:00Z | 2013-08-26T15:21:56Z | 2013-08-26T15:21:56Z | 2014-06-24T15:12:52Z |
BUG/ER: Stricter testing of 'monotocity' when reindexing with ffill (GH4483) | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index a0818831fb988..a7daf48b97b5e 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -724,6 +724,8 @@ We illustrate these fill methods on a simple TimeSeries:
ts2.reindex(ts.index, method='ffill')
ts2.reindex(ts.index, method='bfill')
... | This fixes up an earlier pull request and closes #4484.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4642 | 2013-08-22T16:55:45Z | 2013-09-15T12:00:10Z | null | 2014-07-16T08:24:23Z |
ENH: (GH4629) Support for using a DatetimeIndex/PeriodsIndex directly in a datelike calculation | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 578e235b0f88b..dbfd5bf717cbe 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -61,6 +61,8 @@ pandas 0.13
is frequency conversion.
- Performance improvements with ``__getitem__`` on ``DataFrames`` with
when the key is a co... | closes #4629
```
In [1]: s = Series(date_range('20130101',periods=5),index=date_range('20130102',periods=5))
In [2]: s
Out[2]:
2013-01-02 2013-01-01 00:00:00
2013-01-03 2013-01-02 00:00:00
2013-01-04 2013-01-03 00:00:00
2013-01-05 2013-01-04 00:00:00
2013-01-06 2013-01-05 00:00:00
Freq: D, dtype: datetime6... | https://api.github.com/repos/pandas-dev/pandas/pulls/4641 | 2013-08-22T15:23:10Z | 2013-08-24T00:15:30Z | 2013-08-24T00:15:29Z | 2014-07-16T08:24:21Z |
PERF: optimize __getitem__ in DataFrame for columns lookup | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 745876e8c448e..578e235b0f88b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -59,6 +59,8 @@ pandas 0.13
- A Series of dtype ``timedelta64[ns]`` can now be divided by another
``timedelta64[ns]`` object to yield a ``float64`` d... | ```
In [1]: df2 = DataFrame(randn(3000,1),columns=['A'])
In [2]: df3 = DataFrame(randn(3000,1))
In [3]: def h():
...: for i in xrange(10000):
...: df2['A']
...:
In [4]: def j():
...: for i in xrange(10000):
...: df3[0]
...:
```
0.12
`... | https://api.github.com/repos/pandas-dev/pandas/pulls/4639 | 2013-08-22T12:28:40Z | 2013-08-23T01:43:33Z | 2013-08-23T01:43:33Z | 2014-07-14T11:47:18Z |
now sectionwise: excel / date_parser #4332 | diff --git a/pandas/io/date_converters.py b/pandas/io/date_converters.py
index 2be477f49e28b..3aa9955a6affe 100644
--- a/pandas/io/date_converters.py
+++ b/pandas/io/date_converters.py
@@ -1,4 +1,6 @@
"""This module is designed for community supported date conversion functions"""
+from datetime import datetime, timede... | This is the second part of the fix.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4634 | 2013-08-22T01:55:08Z | 2013-09-28T19:31:48Z | null | 2013-09-28T19:31:48Z |
now sectionwise: date_converter: delta / time | diff --git a/pandas/io/date_converters.py b/pandas/io/date_converters.py
index 2be477f49e28b..3aa9955a6affe 100644
--- a/pandas/io/date_converters.py
+++ b/pandas/io/date_converters.py
@@ -1,4 +1,6 @@
"""This module is designed for community supported date conversion functions"""
+from datetime import datetime, timede... | Date converters used for testing the resolution of #4332
See also: #4631
| https://api.github.com/repos/pandas-dev/pandas/pulls/4632 | 2013-08-22T01:32:19Z | 2014-01-01T03:41:02Z | null | 2014-07-30T21:47:46Z |
excel reader & skip row between data & header & docs | the merge conflict chaos was too hard ;-(
This is a continuation of:
https://github.com/pydata/pandas/pull/4404
Because:
- we hit aparently a GitHub bug
- the branches diverged too much.
I shall fix:
- in the excel.py there is a fix enabling reading xlsx files with both
datemodes: (see #4332)
- in the parsers.py t... | https://api.github.com/repos/pandas-dev/pandas/pulls/4631 | 2013-08-21T23:44:51Z | 2013-09-25T17:12:44Z | 2013-09-25T17:12:44Z | 2013-10-08T16:27:17Z | |
API/CLN: make rename and copy consistent across NDFrame | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 7e863a4429487..a377fa3960d4c 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -730,6 +730,7 @@ Reindexing / Selection / Label manipulation
Panel.reindex
Panel.reindex_axis
Panel.reindex_like
+ Panel.rename
Panel.select
Panel.tak... | verifies #2721, #4039
closes #4605
TST: add tests/test_generic.py
API/CLN: Refactor rename methods to core/generic.py; fixes Series.rename for (GH4605), and adds rename
with the same signature for `Panel`
API/CLN: Refactor Series.copy to core/generic.py; removes the order argument from Series.copy (inconsistent)
| https://api.github.com/repos/pandas-dev/pandas/pulls/4627 | 2013-08-21T22:53:40Z | 2013-08-21T23:46:11Z | 2013-08-21T23:46:11Z | 2014-06-12T11:52:22Z |
API/CLN: setitem in Series now consistent with DataFrame | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 9be9a03b0346e..b69c6aefd07d3 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -265,6 +265,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Fixed issue where ``DataFrame.apply`` was reraising exceptions incorrectly
... | closes #4312
setitem in a frame that can change dtype
setitem_with_indexer now uses the Block.setitem machinery
| https://api.github.com/repos/pandas-dev/pandas/pulls/4624 | 2013-08-21T20:40:34Z | 2013-08-21T23:15:01Z | 2013-08-21T23:15:01Z | 2014-06-16T23:53:39Z |
BUG: Fix selection with ``ix/loc`` and non_unique selectors (GH4619) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 8fba8618fd860..9be9a03b0346e 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -264,6 +264,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
to a possible lazay frequency inference issue (:issue:`3317`)
- Fixed is... | closes #4619
```
In [7]: df = DataFrame({"A": [0, 1, 2]})
In [8]: df
Out[8]:
A
0 0
1 1
2 2
In [9]: df.ix[[0,8,0]]
Out[9]:
A
0 0
8 NaN
0 0
In [10]: df = DataFrame({"A": list('abc')})
In [12]: df
Out[12]:
A
0 a
1 b
2 c
In [11]: df.ix[[0,8,0]]
Out[11]:
A
0 a
8 NaN
0 a
```
and th... | https://api.github.com/repos/pandas-dev/pandas/pulls/4622 | 2013-08-21T16:00:40Z | 2013-08-21T18:22:24Z | 2013-08-21T18:22:24Z | 2014-06-23T06:54:56Z |
Fixes usage of CacheableOffset | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a2b525a737879..c779a4fd3dfea 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -98,6 +98,8 @@ pandas 0.13
with the usecols parameter (:issue: `3192`)
- Fix an issue in merging blocks where the resulting DataFrame had partially
... | `CacheableOffset` should be first parent class when sub-classing both `CacheableOffset` and `DateOffset`
Closes #4609
| https://api.github.com/repos/pandas-dev/pandas/pulls/4614 | 2013-08-20T04:07:57Z | 2013-08-24T00:11:41Z | 2013-08-24T00:11:41Z | 2014-06-21T13:19:40Z |
CLN: Refactor series datetime arithmetic | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 87688612294a8..6e5ff20b294ea 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -200,6 +200,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
with the same signature for ``Panel``
- Series (for index) / Panel (for item... | This is a prelude to the larger refactoring of arithmetic into core/ops,
etc. It doesn't change any external behavior (and I'm relatively confident that
the test suite covers all the branches).
The complexity of the time arithmetic code was making it hard to tweak,
so I decided to change it up. It's not that complicat... | https://api.github.com/repos/pandas-dev/pandas/pulls/4613 | 2013-08-20T03:15:21Z | 2013-08-27T13:39:59Z | 2013-08-27T13:39:59Z | 2014-06-12T13:19:05Z |
CLN: refactor Series.reindex to core/generic | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 390c6e857ba32..932b93a634051 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -115,6 +115,8 @@ pandas 0.13
- ``MultiIndex.astype()`` now only allows ``np.object_``-like dtypes and
now returns a ``MultiIndex`` rather than a... | closes #4604, #3317, #4618
Incorrect results
```
In [1]: s = pd.Series([1,2,3,4,5], index=['a', 'b', 'c', 'd', 'e'])
In [2]: s.reindex(['a', 'g', 'c', 'f'], method='ffill')
Out[2]:
a 1
g 5
c NaN
f 5
dtype: float64
```
Fixed (and happens to automatically cast as well back to the original dtype)
(this w... | https://api.github.com/repos/pandas-dev/pandas/pulls/4610 | 2013-08-19T22:16:17Z | 2013-08-21T12:44:43Z | 2013-08-21T12:44:43Z | 2014-06-18T12:22:45Z |
Fixes issue with TextFileReader using python engine and thousands != "," | diff --git a/doc/source/release.rst b/doc/source/release.rst
index d747505593c94..4224880d3fde0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -429,7 +429,9 @@ Bug Fixes
``ascending`` was being interpreted as ``True`` (:issue:`4839`,
:issue:`4846`)
- Fixed ``Panel.tshift`` not working.... | Fixes #4596
| https://api.github.com/repos/pandas-dev/pandas/pulls/4602 | 2013-08-18T18:03:34Z | 2013-09-19T12:24:50Z | 2013-09-19T12:24:50Z | 2014-06-13T17:28:42Z |
csv_import: Thousands separator works in floating point numbers | diff --git a/doc/source/io.rst b/doc/source/io.rst
index ba68943f1324a..f09ae1563f71b 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -118,9 +118,11 @@ They can take a number of arguments:
date_converters.py
- ``dayfirst``: if True then uses the DD/MM international/European date format
(This is F... | Closes issue #4322
Adds support for the thousands character in csv parser for floats.
Previously, the thousands separator character did not pass into the core floating point number parsing algorithm:
https://github.com/pydata/pandas/blob/master/pandas/src/parser/tokenizer.c#L1861
I added an argument to this function... | https://api.github.com/repos/pandas-dev/pandas/pulls/4598 | 2013-08-18T15:13:06Z | 2013-08-23T17:51:35Z | 2013-08-23T17:51:35Z | 2014-06-22T08:32:53Z |
BUG: ujson labels are encoded twice | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 390c6e857ba32..009b5183c5632 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -212,6 +212,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- In ``to_json``, fix date handling so milliseconds are the default timestamp... | With its current handling ujson ends up encoding labels twice, which can cause problems if they contain escapable characters:
``` python
In [16]: df = DataFrame([['a', 'b'], ['c', 'd']], index=['index " 1', 'index / 2'], columns=['a \\ b', 'y / z'])
In [17]: df
Out[17]:
a \ b y / z
index " 1 a b
in... | https://api.github.com/repos/pandas-dev/pandas/pulls/4593 | 2013-08-17T13:52:57Z | 2013-08-21T02:01:54Z | 2013-08-21T02:01:54Z | 2014-06-22T10:10:15Z |
TST: fix ujson's intermittently failing date unit test | diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py
index 3b9c89e098740..4d6218d3dbc35 100644
--- a/pandas/io/tests/test_json/test_ujson.py
+++ b/pandas/io/tests/test_json/test_ujson.py
@@ -356,20 +356,19 @@ def test_npy_nat(self):
assert ujson.encode(input) == 'null'... | Fixes #4575.
As you surmised @jreback it looks like unnecessary float arithmetic was causing the test failure. I fixed this up and in the interest of consistency removed the dependence on `datetime.now()`
Example
``` python
In [8]: val = 1376774232215504000
In [9]: val / 1000
Out[9]: 1376774232215504
In [10]: val ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4592 | 2013-08-17T11:28:32Z | 2013-08-17T14:10:00Z | 2013-08-17T14:10:00Z | 2014-07-01T09:00:09Z |
ENH Factored out excel_value_to_python_value from ExcelFile::_parse_exce... | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a2b525a737879..275717ef984ea 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -44,7 +44,8 @@ pandas 0.13
- Text parser now treats anything that reads like inf ("inf", "Inf", "-Inf",
"iNf", etc.) to infinity. (:issue:`4220`, :i... | ...l (GH4589)
closes #4589
| https://api.github.com/repos/pandas-dev/pandas/pulls/4590 | 2013-08-17T00:03:41Z | 2013-08-26T12:36:36Z | 2013-08-26T12:36:36Z | 2013-08-26T23:00:09Z |
BUG: fix erroneous call to prrint_thing -> pprint_thing | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 4f9c1e430d154..2e2026dfdb8ae 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1264,7 +1264,7 @@ def _repr_footer(self):
else:
freqstr = u('')
- namestr = u("Name: %s, ") % com.prrint_thing(
+ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4586 | 2013-08-16T21:26:57Z | 2013-08-16T21:41:25Z | 2013-08-16T21:41:25Z | 2014-06-21T02:58:13Z | |
BUG: Fix boolean comparison with a DataFrame on the lhs, and a list/tuple on the rhs GH4576 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 9504b7165aa4a..c572aa91c18bb 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -283,6 +283,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
in csv_import (:issue:`4322`)
- Fix an issue with CacheableOffset not pr... | closes #4576
```
In [1]: df = DataFrame(np.arange(6).reshape((3,2)))
In [2]: b = np.array([2, 2])
In [3]: b_r = np.atleast_2d([2,2])
In [4]: b_c = b_r.T
In [5]: df>b
Out[5]:
0 1
0 False False
1 False True
2 True True
In [6]: df.values>b
Out[6]:
array([[False, False],
[False, True... | https://api.github.com/repos/pandas-dev/pandas/pulls/4585 | 2013-08-16T20:58:01Z | 2013-08-26T12:45:17Z | 2013-08-26T12:45:17Z | 2014-07-16T08:23:30Z |
TST: win32 paths cannot be turned into URLs by prefixing them with "file://" | diff --git a/doc/source/release.rst b/doc/source/release.rst
index cd8a62664fac1..e586f29816aac 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -39,6 +39,8 @@ pandas 0.13
**Bug Fixes**
+ - Fixed html tests on win32. (:issue:`4580`)
+
pandas 0.12
===========
diff --git a/pandas/io/common.py... | see http://stackoverflow.com/questions/11687478/convert-a-filename-to-a-file-url
| https://api.github.com/repos/pandas-dev/pandas/pulls/4580 | 2013-08-16T12:25:00Z | 2013-10-03T19:57:36Z | null | 2014-06-13T16:31:23Z |
ENH: Remove the hardcoded border=1 in the to_html dataframe export. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b1dfff6988cc3..27e6b2e5bbb5e 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -59,6 +59,8 @@ pandas 0.13
- A Series of dtype ``timedelta64[ns]`` can now be divided by another
``timedelta64[ns]`` object to yield a ``float64`` d... | The border is impossible to overwrite at later stage, therefore using no
border gives the user the possibility to style the table, using CSS Classes.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4578 | 2013-08-16T10:03:29Z | 2014-01-01T03:27:35Z | null | 2014-06-16T07:25:15Z |
BUG: DatetimeIndex uses the wrong union if the operands overlap | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 12787c5d04b45..1ee6571c41a52 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -462,6 +462,7 @@ Bug Fixes
- Fixed ``copy()`` to shallow copy axes/indices as well and thereby keep
separate metadata. (:issue:`4202`, :issue:`4830`... | This pretty much boils down to this line: https://github.com/pydata/pandas/blob/master/pandas/tseries/index.py#L987
You can easily reproduce the error using the following code:
```
r = pd.date_range("2013-01-01", "2013-02-01")
r2 = r + pd.DateOffset(minutes=15)
r | r2 # Results in the index r having "2013-01-31 00:15... | https://api.github.com/repos/pandas-dev/pandas/pulls/4564 | 2013-08-15T08:12:10Z | 2013-09-26T00:49:44Z | 2013-09-26T00:49:44Z | 2015-01-06T14:43:46Z |
ENH: add PostgreSQL support for pandas.io.sql.get_schema | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index b65c35e6b352a..c88cf0a7b605d 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -267,28 +267,34 @@ def table_exists(name, con, flavor):
def get_sqltype(pytype, flavor):
sqltype = {'mysql': 'VARCHAR (63)',
- 'sqlite': 'TEXT'}
+ ... | Simple changes to add PostgreSQL syntax to `pandas.io.sql.get_schema`. Added data type cases for `get_sqltype()` and a columns "flavor" for `get_schema()`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4574 | 2013-08-15T01:14:41Z | 2013-08-26T21:35:47Z | null | 2014-06-24T17:22:47Z |
BUG: Fix incorrect urlparse in _is_s3_url | diff --git a/pandas/io/common.py b/pandas/io/common.py
index a2cf057c8f531..f4a4ef789510c 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -61,7 +61,7 @@ def _is_url(url):
def _is_s3_url(url):
"""Check for an s3 url"""
try:
- return urlparse.urlparse(url).scheme == 's3'
+ return pa... | Guess this got reverted/messed up during rebasing, but needs to be
changed - urlparse is no longer imported in io/common (in favor of py2/3
compatible methods).
I added a dumb test case so it at least gets called going forward.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4573 | 2013-08-14T22:45:08Z | 2013-08-14T23:54:39Z | 2013-08-14T23:54:39Z | 2014-07-02T21:24:33Z |
BUG: Fix bug in pd.read_clipboard on windows with PY3 (GH4561); not decoding properly | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e0532b6be136f..584cc0c8d2b7a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -175,6 +175,7 @@ pandas 0.13
with datetimes (:issue:`4532`)
- Fix arithmetic with series/datetimeindex and ``np.timedelta64`` not working the same (... | closes #4561
| https://api.github.com/repos/pandas-dev/pandas/pulls/4571 | 2013-08-14T20:16:11Z | 2013-08-15T11:50:48Z | 2013-08-15T11:50:48Z | 2014-06-23T13:06:27Z |
Fixes check in _can_fast_union. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e0532b6be136f..b72e1c0f80b82 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -175,6 +175,7 @@ pandas 0.13
with datetimes (:issue:`4532`)
- Fix arithmetic with series/datetimeindex and ``np.timedelta64`` not working the same (... | Fixes #4564.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4566 | 2013-08-14T14:19:06Z | 2013-08-15T07:55:02Z | null | 2014-07-18T15:00:07Z |
BUG: Fix Segfault with pd.tslib.get_period_field (GH4519, GH4520) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 153b4c4f464be..d761f1f008754 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -184,6 +184,8 @@ pandas 0.13
- Fix arithmetic with series/datetimeindex and ``np.timedelta64`` not working the same (:issue:`4134`)
and buggy timede... | Fixes the following problem (issues #4519, #4520):
``` python
>>> import pandas as pd
>>> pd.tslib.get_period_field(11, 1, 1)
Exception ValueError: ValueError('Unrecognized code: 11',) in 'pandas.tslib._get_accessor_func' ignored
Segmentation fault
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/4562 | 2013-08-14T11:09:00Z | 2013-08-15T17:23:31Z | 2013-08-15T17:23:31Z | 2014-07-02T22:36:41Z |
CLN/ENH: Provide full suite of arithmetic (and flex) methods to all NDFrame objects. | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 7e863a4429487..5e7f7cf1004be 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -248,12 +248,30 @@ Binary operator functions
:toctree: generated/
Series.add
- Series.div
- Series.mul
Series.sub
+ Series.mul
+ Series.div
+ Series... | Resolves #3765, #4331, #4334, #4051.
This goes on top of @jreback's Series refactoring (#3482). If you want to review, I suggest looking [at the PR on top of jreback/series2](https://github.com/jreback/pandas/pull/6), so you only see the diffs specific to this PR.
This does a few things:
1. Normalizes the arithmetic ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4560 | 2013-08-14T01:17:18Z | 2013-08-15T02:42:02Z | null | 2014-06-19T16:42:59Z |
ENH/API: Keep original traceback in DataFrame.apply | diff --git a/doc/source/release.rst b/doc/source/release.rst
index bb82a055dcd8d..8fba8618fd860 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -262,6 +262,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
if code argument out of range (:issue:`4519`, :issue:`4520`)
- Fix reind... | When "raise <exception instance>" is used inside a try/except block, the
original stacktrace (containing the code path that raised the original
exception). This makes debugging difficult since all we know is that an error
occured when `frame._apply_standard` attempted to call the provided function.
Preserve the origin... | https://api.github.com/repos/pandas-dev/pandas/pulls/4549 | 2013-08-13T12:49:27Z | 2013-08-21T13:42:36Z | 2013-08-21T13:42:36Z | 2014-06-19T20:26:24Z |
BUG/API: Fix operating with timedelta64/pd.offsets on rhs of a datelike series/index | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 0bcdd2276a94c..e0532b6be136f 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -53,6 +53,11 @@ pandas 0.13
- Add ``rename`` and ``set_names`` methods to ``Index`` as well as
``set_names``, ``set_levels``, ``set_labels`` to ``Mu... | closes #4532
closes #4134
closes #4135
closes #4521
Timedeltas can be converted to other ‘frequencies’ by dividing by another timedelta.
```
In [210]: td = Series(date_range('20130101',periods=4))-Series(date_range('20121201',periods=4))
In [211]: td[2] += np.timedelta64(timedelta(minutes=5,seconds=3))
In [212]: t... | https://api.github.com/repos/pandas-dev/pandas/pulls/4534 | 2013-08-10T14:40:02Z | 2013-08-13T22:19:43Z | 2013-08-13T22:19:43Z | 2014-06-16T17:04:14Z |
DOC/BLD: Update version support in docs and setup.py. | diff --git a/doc/source/install.rst b/doc/source/install.rst
index 4d9864b272c2a..4472d844c1871 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -16,11 +16,10 @@ compiler (MinGW or Visual Studio) installed. `How-to install MinGW on Windows
Python version support
~~~~~~~~~~~~~~~~~~~~~~
-Officially... | Fixes #4412.
Changes install.rst to explicitly reference that pandas supports 2.6,
2.7, and 3.2+. (and removes line that Python 3 support is less
well-tested). Also adds 2.6, 2.7, 3.2, and 3.3 in classifiers in
setup.py
| https://api.github.com/repos/pandas-dev/pandas/pulls/4530 | 2013-08-10T02:06:38Z | 2013-08-10T12:07:18Z | 2013-08-10T12:07:18Z | 2014-07-16T08:22:55Z |
ENH: avoid unnecessary ga mgmt calls if given profile_id upfront | diff --git a/ci/print_versions.py b/ci/print_versions.py
index 0df8bb7e28786..58f232775d461 100755
--- a/ci/print_versions.py
+++ b/ci/print_versions.py
@@ -129,4 +129,22 @@
except:
print("html5lib: Not installed")
+try:
+ import apiclient
+ print("apiclient: %s" % apiclient.__version__)
+except:
+ pri... | `profile_id` is ultimately what's needed to make a call to the reporting api. If it is specified in the parameter list it seems wasteful to call the management api 3 times.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4529 | 2013-08-10T01:52:44Z | 2014-07-06T19:09:26Z | null | 2014-07-06T19:09:26Z |
BUG: GH4516 Fixed issue with sorting a duplicate multi-index that has multiple dtypes | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 95ce03a858570..769b47b18db08 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -135,6 +135,7 @@ pandas 0.13
- Raise on set indexing with a Panel and a Panel as a value which needs alignment (:issue:`3777`)
- frozenset objects now... | closes #4516
| https://api.github.com/repos/pandas-dev/pandas/pulls/4522 | 2013-08-09T13:42:27Z | 2013-08-09T14:36:39Z | 2013-08-09T14:36:39Z | 2020-11-06T03:13:44Z |
Segfault with pd.tslib.get_period_field FIX | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index c37776b3a3cd8..c3657100a1eaa 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -724,6 +724,8 @@ We illustrate these fill methods on a simple TimeSeries:
ts2.reindex(ts.index, method='ffill')
ts2.reindex(ts.index, method='bfill')
... | closes #4519
| https://api.github.com/repos/pandas-dev/pandas/pulls/4520 | 2013-08-09T08:43:30Z | 2013-08-14T11:02:44Z | null | 2014-06-13T09:16:39Z |
DOC: added google finance as a data source to the DataReader doc | diff --git a/pandas/io/data.py b/pandas/io/data.py
index e6d19aee4a9d6..cb9f096a1d07a 100644
--- a/pandas/io/data.py
+++ b/pandas/io/data.py
@@ -36,15 +36,15 @@ def DataReader(name, data_source=None, start=None, end=None,
"""
Imports data from a number of online sources.
- Currently supports Yahoo! finan... | Google Finance is already a supported data source in the source code of DataReader, but it is not reflected in the docstring.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4518 | 2013-08-09T04:12:37Z | 2013-08-09T14:26:17Z | 2013-08-09T14:26:17Z | 2014-07-02T21:24:28Z |
ENH/API: GH2578, allow ix and friends to partially set when the key is not contained in the object | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 902a51ab03022..e3a069960ab6b 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -412,6 +412,41 @@ Pandas will detect this and raise ``IndexError``, rather than return an empty st
>>> df.iloc[:,3:6]
IndexError: out-of-bound... | closes #2578
On a series, this is kind of like an inplace append operation (note the dtype change - on purpose)
```
In [6]: s = Series([1,2,3])
In [7]: s[4] = 5.
In [3]: s
Out[3]:
0 1
1 2
2 3
4 5
dtype: float64
```
This is now allowed: (previously would `KeyError`), you first have to create the column ... | https://api.github.com/repos/pandas-dev/pandas/pulls/4515 | 2013-08-08T18:52:15Z | 2013-09-05T17:23:51Z | 2013-09-05T17:23:51Z | 2014-06-12T09:17:05Z |
BUG: read_hdf was not respecting a passed mode (GH4504) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 95ce03a858570..01d27cc113e51 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -87,8 +87,11 @@ pandas 0.13
**Bug Fixes**
- - ``HDFStore`` raising an invalid ``TypeError`` rather than ``ValueError`` when appending
- with a diff... | closes #4504
| https://api.github.com/repos/pandas-dev/pandas/pulls/4513 | 2013-08-08T12:02:53Z | 2013-08-12T13:23:49Z | 2013-08-12T13:23:49Z | 2014-07-14T08:39:02Z |
TST: tests for GH4502, consistency in ix assignments, but ok in master | diff --git a/pandas/tests/test_indexing.py b/pandas/tests/test_indexing.py
index 385e762af424f..101cbd9d6baf8 100644
--- a/pandas/tests/test_indexing.py
+++ b/pandas/tests/test_indexing.py
@@ -2,6 +2,7 @@
import unittest
import nose
import itertools
+import warnings
from pandas.compat import range, lrange, String... | closes #4508 (is ok in master though), this are just tests
| https://api.github.com/repos/pandas-dev/pandas/pulls/4509 | 2013-08-07T23:20:07Z | 2013-08-07T23:35:30Z | 2013-08-07T23:35:29Z | 2014-07-16T08:22:35Z |
BUG/ER: various panel indexing fixes | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 9af04a8d703cf..00309b7a3dc0d 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -129,6 +129,10 @@ pandas 0.13
(:issue:`4486`)
- Fixed an issue where cumsum and cumprod didn't work with bool dtypes
(:issue:`4170`, :issue:`44... | - ER: #3777, raise a `NotImplementedError` for `Panel` -> `Panel` setting with alignment (issue will still be open though)
- BUG: closes #3830, panel assignment using loc with a transpose frame did not work
- BUG: closes #4016 fix panel slicing issue that was returning an object that should not have be a reduction in n... | https://api.github.com/repos/pandas-dev/pandas/pulls/4507 | 2013-08-07T19:18:42Z | 2013-08-07T20:20:41Z | 2013-08-07T20:20:41Z | 2014-06-25T04:37:54Z |
ENH/BUG: ignore line comments in CSV files GH2685 | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 3b132be800cb1..a620363a4ae17 100644
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -991,7 +991,6 @@ def __init__(self, src, **kwds):
self._name_processed = True
(index_names, self.names,
self.ind... | closes #2685
I have added the ability for both the C and Python CSV parsers to ignore commented lines (i.e., lines beginning with a comment character). Currently the C parser preserves commented lines as empty lines (all NaN), while the Python parser ignores them all together.
In addition, I fixed a small related pr... | https://api.github.com/repos/pandas-dev/pandas/pulls/4505 | 2013-08-07T18:44:45Z | 2014-06-16T16:49:55Z | null | 2014-12-28T02:30:19Z |
TST: provide tests for memory_cycles | diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
index 43fe96dbd8c12..bed1ccd710cc6 100644
--- a/pandas/tests/test_series.py
+++ b/pandas/tests/test_series.py
@@ -2561,6 +2561,50 @@ def test_copy(self):
# Did not modify original Series
self.assertFalse(np.isnan(self.ts[0]))
+ ... | related to #4491
provides an assert_memory_is_clean to test a function for leaking memory
provides a test that the current series does not leak memory
and properly cleans up
tests that an index generally populates the engine mapping (but not always
e.g. asof)
| https://api.github.com/repos/pandas-dev/pandas/pulls/4503 | 2013-08-07T15:54:39Z | 2013-08-22T15:27:30Z | null | 2014-06-14T06:24:45Z |
ENH add bins argument to value_counts | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b301dcb80445a..dc8b05a97b75a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -41,6 +41,8 @@ pandas 0.13
- ``read_excel`` now supports an integer in its ``sheetname`` argument giving
the index of the sheet to read in (:issue:`... | fixes #3945
Also, adds arguments present in top-level function to the Series
method (sort and ascending).
Note: this only works with numeric data (it raises a TypeError if there was a TypeError problem in cut, however perhaps cut should raise a more descirptive error...)
```
In [1]: s = pd.Series(np.random.randn(100... | https://api.github.com/repos/pandas-dev/pandas/pulls/4502 | 2013-08-07T15:34:27Z | 2013-08-27T00:07:49Z | 2013-08-27T00:07:49Z | 2014-07-07T06:28:32Z |
DOC: fix conflicting ewma documentation | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index eca5bf902aa39..207e2796c468d 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -450,7 +450,7 @@ average as
.. math::
- y_t = \alpha y_{t-1} + (1 - \alpha) x_t
+ y_t = (1 - \alpha) y_{t-1} + \alpha x_t
One ... | The information in the docs, in the parameter description and in the body of the docstring is conflicting. This should hopefully make them consistent amongst themselves (and with the code).
| https://api.github.com/repos/pandas-dev/pandas/pulls/4499 | 2013-08-07T13:10:33Z | 2013-08-22T10:16:05Z | 2013-08-22T10:16:05Z | 2014-07-02T21:24:28Z |
JSON native support for datetime encoding | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 4cee1f7d9510b..ba68943f1324a 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1034,11 +1034,12 @@ with optional parameters:
``columns``; dict like {column -> {index -> value}}
``values``; just the values array
-- ``date_format`` : type of ... | This adds support at the C level for encoding datetime values in JSON. I added a new parameter `date_unit` which controls the precision of the encoding, options are seconds, milliseconds, microseconds and nanoseconds. It defaults to milliseconds which should fix #4362.
I also added support for NaTs and tried to detect... | https://api.github.com/repos/pandas-dev/pandas/pulls/4498 | 2013-08-07T12:43:08Z | 2013-08-15T01:14:12Z | 2013-08-15T01:14:12Z | 2014-06-14T10:38:30Z |
Fix issue #4496: tslib.tz_convert(vals, tz1, tz2) may raise an IndexErro... | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 578e235b0f88b..e679fa320e1db 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -197,6 +197,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- raising an invalid ``TypeError`` rather than ``ValueError`` when appendin... | Bug-fix for Issue #4496 Bug: tslib.tz_convert(vals, tz1, tz2) may raise an IndexError exception.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4497 | 2013-08-07T11:32:59Z | 2013-08-23T13:26:18Z | 2013-08-23T13:26:18Z | 2014-07-16T08:22:12Z |
BLD/TST: correct pytz version for tox | diff --git a/tox.ini b/tox.ini
index 2a9c454a29435..51480832284b9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ deps =
cython
numpy >= 1.6.1
nose
- pytz
+ pytz >= 2011k
six
# cd to anything but the default {toxinidir} which
| Tox fails to build pandas without a specific version of pytz.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4495 | 2013-08-07T03:11:53Z | 2013-08-07T14:51:16Z | 2013-08-07T14:51:16Z | 2014-07-16T08:22:10Z |
FIX: resample to single group with custom function | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 97150cbeb53a2..a0e04156bbb64 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -380,6 +380,7 @@ Bug Fixes
(:issue:`4170`, :issue:`4440`)
- Fixed Panel slicing issued in ``xs`` that was returning an incorrect dimmed object
... | Using master code, when re-sampling to a frequency that would result in a single group the use of custom aggregation functions do not work as expected. The included changes fix this, and should fix #3849 too.
``` python
In [17]: import pandas as pd
In [18]: import numpy as np
In [19]: mysum = lambda x: x.sum()
In [... | https://api.github.com/repos/pandas-dev/pandas/pulls/4494 | 2013-08-07T02:46:53Z | 2013-09-25T12:31:36Z | 2013-09-25T12:31:36Z | 2014-06-13T23:41:52Z |
BUG: fix plotting of dup indexed objects | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 35f422ccad9dc..92822e3038545 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -125,6 +125,8 @@ pandas 0.13
(:issue:`4455`)
- Fixed Panel attribute naming conflict if item is named 'a'
(:issue:`3440`)
+ - Fixed an issue w... | closes #4486.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4492 | 2013-08-07T02:12:03Z | 2013-08-07T17:22:27Z | 2013-08-07T17:22:27Z | 2014-06-23T05:29:07Z |
TST: reverse hdf_fix | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index 9034007be2f6e..4295139965f81 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -332,11 +332,12 @@ def __len__(self):
def __unicode__(self):
output = '%s\nFile path: %s\n' % (type(self), pprint_thing(self._path))
if s... | https://api.github.com/repos/pandas-dev/pandas/pulls/4490 | 2013-08-07T01:04:42Z | 2013-08-07T01:17:10Z | 2013-08-07T01:17:10Z | 2014-07-16T08:22:05Z | |
TST: test for breaking test in pytables on travis | diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py
index ec2dce753c6b5..4ccbbb7e18cb2 100644
--- a/pandas/io/tests/test_pytables.py
+++ b/pandas/io/tests/test_pytables.py
@@ -2421,8 +2421,13 @@ def test_string_select(self):
expected = df[df.x == 'none']
assert_fra... | https://api.github.com/repos/pandas-dev/pandas/pulls/4489 | 2013-08-07T00:42:40Z | 2013-08-07T00:42:51Z | 2013-08-07T00:42:51Z | 2014-06-18T10:03:26Z | |
BUG: off-by-one when doing network test repeats | diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py
index 34b2811876f30..f7a018f5152ca 100644
--- a/pandas/io/tests/test_data.py
+++ b/pandas/io/tests/test_data.py
@@ -368,12 +368,13 @@ def test_fred(self):
Throws an exception when DataReader can't get a 200 response from
FRED.
... | Imagine num_runs is two, then runs will take on the values [0, 1] and runs <
num_uns will always be False. Hence any genuine Exception the code might
raise will be silently ignored and just printed.
| https://api.github.com/repos/pandas-dev/pandas/pulls/4485 | 2013-08-06T19:32:15Z | 2013-09-20T02:57:56Z | null | 2014-07-16T08:22:01Z |
BUG/ER: Stricter testing of 'monotocity' when reindexing with ffill or bfill. | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index c37776b3a3cd8..c3657100a1eaa 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -724,6 +724,8 @@ We illustrate these fill methods on a simple TimeSeries:
ts2.reindex(ts.index, method='ffill')
ts2.reindex(ts.index, method='bfill')
... | closes #4484
Reversing an index and forward filling succeeds but produces misleading data:
``` python
>>> dr = pd.date_range('2013-08-01', periods=6, freq='B')
>>> df = pd.DataFrame(np.random.randn(6,1), index=dr, columns=list('A'))
>>> df['A'][3] = np.nan
>>> df.reindex(df.index[::-1], method='ffill')
... | https://api.github.com/repos/pandas-dev/pandas/pulls/4483 | 2013-08-06T16:48:03Z | 2013-08-22T17:12:13Z | null | 2014-06-14T19:56:36Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.