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
Backport PR #38247 on branch 1.2.x (BUG: Limited available colors)
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index af9219bc25931..bc7f5b8174573 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -308,6 +308,7 @@ Other enhancements - Improved error reporting for subsetting columns of a :class:`.DataFrameGroupBy` with ...
Backport PR #38247: BUG: Limited available colors
https://api.github.com/repos/pandas-dev/pandas/pulls/38435
2020-12-12T23:32:26Z
2020-12-13T17:09:57Z
2020-12-13T17:09:57Z
2020-12-13T19:19:45Z
BUG: read_csv raising TypeError for engine=c with names and parse_dates
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index ab9f303bec6aa..30f71201ed3dc 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -147,7 +147,7 @@ MultiIndex I/O ^^^ -- +- Bug in :func:`read_csv` raising ``TypeError`` when ``names`` and ``parse_dates...
- [x] closes #33699 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/38431
2020-12-12T21:04:30Z
2020-12-12T23:03:53Z
2020-12-12T23:03:53Z
2020-12-12T23:09:31Z
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
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
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: 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
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
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
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
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
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
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
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
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
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
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
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 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
Backport PR #42057 on branch 1.3.x (PERF: contiguity, less gil in join algos)
diff --git a/pandas/_libs/algos_take_helper.pxi.in b/pandas/_libs/algos_take_helper.pxi.in index 11679fc432edc..96605fd2009fb 100644 --- a/pandas/_libs/algos_take_helper.pxi.in +++ b/pandas/_libs/algos_take_helper.pxi.in @@ -9,31 +9,6 @@ WARNING: DO NOT edit .pxi FILE directly, .pxi is generated from .pxi.in # -------...
Backport PR #42057: PERF: contiguity, less gil in join algos
https://api.github.com/repos/pandas-dev/pandas/pulls/42075
2021-06-17T13:26:32Z
2021-06-17T14:56:35Z
2021-06-17T14:56:35Z
2021-06-17T14:56:35Z
Backport PR #41897 on branch 1.3.x (BUG: to_hdf append string column to incompatible column)
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index 7159f422e3fd6..6c2fef3808566 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -1080,6 +1080,7 @@ I/O - Bug in the conversion from PyArrow to pandas (e.g. for reading Parquet) with nullable dtypes and a...
Backport PR #41897: BUG: to_hdf append string column to incompatible column
https://api.github.com/repos/pandas-dev/pandas/pulls/42074
2021-06-17T13:16:14Z
2021-06-17T14:56:57Z
2021-06-17T14:56:57Z
2021-06-17T14:56:57Z
CI: pin psycopg2 in Linux_py37_cov on 1.2.x
diff --git a/ci/deps/actions-37-cov.yaml b/ci/deps/actions-37-cov.yaml index fd4c05802ccd3..5d9ba70e37307 100644 --- a/ci/deps/actions-37-cov.yaml +++ b/ci/deps/actions-37-cov.yaml @@ -30,7 +30,7 @@ dependencies: - openpyxl - pandas-gbq - google-cloud-bigquery>=1.27.2 # GH 36436 - - psycopg2 + - psycopg2=2.8...
https://api.github.com/repos/pandas-dev/pandas/pulls/42073
2021-06-17T13:15:24Z
2021-06-17T14:03:28Z
2021-06-17T14:03:28Z
2021-06-17T14:03:32Z
ENH: `Styler.set_sticky` for maintaining index and column headers in HTML frame
diff --git a/doc/source/reference/style.rst b/doc/source/reference/style.rst index ae3647185f93d..aad56aa0c37e8 100644 --- a/doc/source/reference/style.rst +++ b/doc/source/reference/style.rst @@ -40,6 +40,7 @@ Style application Styler.set_table_attributes Styler.set_tooltips Styler.set_caption + Styler.s...
- [x] closes #29072 This allows you to quickly make the index and/or column headers stick in place when scrolling in HTML. Additional args allow the control of subselecting specific multiindex levels and controlling the width /or height of the sticking elements. https://user-images.githubusercontent.com/24256554...
https://api.github.com/repos/pandas-dev/pandas/pulls/42072
2021-06-17T12:32:05Z
2021-06-17T23:59:40Z
2021-06-17T23:59:40Z
2021-06-18T05:09:13Z
Backport PR #41987: TST: Un-xfail tests on numpy-dev
diff --git a/pandas/tests/frame/methods/test_to_records.py b/pandas/tests/frame/methods/test_to_records.py index 0b710d7ebf7d7..e83882be9c680 100644 --- a/pandas/tests/frame/methods/test_to_records.py +++ b/pandas/tests/frame/methods/test_to_records.py @@ -3,8 +3,6 @@ import numpy as np import pytest -from pandas.c...
Backport PR #41987
https://api.github.com/repos/pandas-dev/pandas/pulls/42069
2021-06-17T11:35:29Z
2021-06-17T13:13:22Z
2021-06-17T13:13:22Z
2021-06-17T13:13:27Z
BUG: pd.to_datetime(infer_datetime_format=True) drops timezone
diff --git a/asv_bench/benchmarks/inference.py b/asv_bench/benchmarks/inference.py index 4cbaa184791b8..769889dfbe75d 100644 --- a/asv_bench/benchmarks/inference.py +++ b/asv_bench/benchmarks/inference.py @@ -173,6 +173,7 @@ def setup(self): self.strings_tz_space = [ x.strftime("%Y-%m-%d %H:%M:%S"...
- [x] closes #41047 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry In this PR, I try to fix issue #41047. I would appreciate it if you could review this PR....
https://api.github.com/repos/pandas-dev/pandas/pulls/42068
2021-06-17T11:07:52Z
2021-09-14T12:35:18Z
2021-09-14T12:35:17Z
2021-09-14T12:35:25Z
Backport PR #42023: CI: pin fsspec
diff --git a/ci/deps/actions-37-cov.yaml b/ci/deps/actions-37-cov.yaml index 6bdbfa769f772..fd4c05802ccd3 100644 --- a/ci/deps/actions-37-cov.yaml +++ b/ci/deps/actions-37-cov.yaml @@ -16,7 +16,7 @@ dependencies: - botocore>=1.11 - dask - fastparquet>=0.4.0, <=0.5.0 - - fsspec>=0.7.4 + - fsspec>=0.7.4, <2021...
Backport PR #42023
https://api.github.com/repos/pandas-dev/pandas/pulls/42067
2021-06-17T10:37:20Z
2021-06-17T11:29:51Z
2021-06-17T11:29:51Z
2021-06-17T11:29:55Z
BUG: avoid unnecessary casting in CategoricalIndex.reindex
diff --git a/pandas/core/indexes/category.py b/pandas/core/indexes/category.py index 6500a9c8eef61..760b69c4e88a5 100644 --- a/pandas/core/indexes/category.py +++ b/pandas/core/indexes/category.py @@ -399,9 +399,9 @@ def reindex( indexer = None missing = np.array([], dtype=np.intp) el...
Doesn't appear to be anything user-facing. The only unequivocally wrong bit is on L420 where the current condition is always truthy.
https://api.github.com/repos/pandas-dev/pandas/pulls/42063
2021-06-17T01:10:38Z
2021-07-12T01:34:38Z
2021-07-12T01:34:38Z
2021-07-12T02:12:31Z
Backport PR #41875 on branch 1.3.x (BUG: unstack with object dtype of tzaware timestamps)
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index cadc5615cd654..7159f422e3fd6 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -1161,6 +1161,7 @@ Reshaping - Bug in :func:`to_datetime` raising an error when the input sequence contained unhashable ite...
Backport PR #41875: BUG: unstack with object dtype of tzaware timestamps
https://api.github.com/repos/pandas-dev/pandas/pulls/42062
2021-06-17T00:31:29Z
2021-06-17T10:48:16Z
2021-06-17T10:48:16Z
2021-06-17T10:48:17Z
Backport PR #41844 on branch 1.3.x (DOC: Add .to_xyz to io docs)
diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index 442631de50c7a..82d4ec4950ef1 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -13,6 +13,7 @@ Pickling :toctree: api/ read_pickle + DataFrame.to_pickle Flat file ~~~~~~~~~ @@ -21,6 +22,7 @@ Flat file...
Backport PR #41844: DOC: Add .to_xyz to io docs
https://api.github.com/repos/pandas-dev/pandas/pulls/42060
2021-06-16T23:07:53Z
2021-06-17T00:30:49Z
2021-06-17T00:30:49Z
2021-06-17T00:30:49Z
Backport PR #42052 on branch 1.3.x (DOC: update styler user guide for ref to hiding cols and index and link to to_LaTeX)
diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb index 7d8d8e90dfbda..677e4b10b846b 100644 --- a/doc/source/user_guide/style.ipynb +++ b/doc/source/user_guide/style.ipynb @@ -152,7 +152,7 @@ "\n", "Before adding styles it is useful to show that the [Styler][styler] can distin...
Backport PR #42052: DOC: update styler user guide for ref to hiding cols and index and link to to_LaTeX
https://api.github.com/repos/pandas-dev/pandas/pulls/42059
2021-06-16T22:16:11Z
2021-06-16T23:06:24Z
2021-06-16T23:06:24Z
2021-06-16T23:06:24Z
Backport PR #41952 on branch 1.3.x (BUG: take nans correctly into consideration in complex and tuple)
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index 1a5a9980e5e96..cadc5615cd654 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -1033,6 +1033,7 @@ Missing - Bug in :meth:`DataFrame.fillna` not accepting a dictionary for the ``downcast`` keyword (:issu...
Backport PR #41952: BUG: take nans correctly into consideration in complex and tuple
https://api.github.com/repos/pandas-dev/pandas/pulls/42058
2021-06-16T22:15:46Z
2021-06-16T23:06:33Z
2021-06-16T23:06:33Z
2021-06-16T23:06:33Z
PERF: contiguity, less gil in join algos
diff --git a/pandas/_libs/algos_take_helper.pxi.in b/pandas/_libs/algos_take_helper.pxi.in index 11679fc432edc..96605fd2009fb 100644 --- a/pandas/_libs/algos_take_helper.pxi.in +++ b/pandas/_libs/algos_take_helper.pxi.in @@ -9,31 +9,6 @@ WARNING: DO NOT edit .pxi FILE directly, .pxi is generated from .pxi.in # -------...
Broken off a branch working towards #13745 This doesn't have noticeable user-facing impact on its own since this is a smaller part of the merge operation. Some timings: ``` import numpy as np import pandas._libs.join as libjoin np.random.seed(0) arr1 = np.random.randint(0, 100, 100000) arr2 = np.random.randi...
https://api.github.com/repos/pandas-dev/pandas/pulls/42057
2021-06-16T21:42:31Z
2021-06-17T13:26:23Z
2021-06-17T13:26:23Z
2021-06-17T17:07:44Z
DOC: update styler user guide for ref to hiding cols and index and link to to_LaTeX
diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb index 7d8d8e90dfbda..677e4b10b846b 100644 --- a/doc/source/user_guide/style.ipynb +++ b/doc/source/user_guide/style.ipynb @@ -152,7 +152,7 @@ "\n", "Before adding styles it is useful to show that the [Styler][styler] can distin...
should be backported to 1.3.0 as it references the features add there.
https://api.github.com/repos/pandas-dev/pandas/pulls/42052
2021-06-16T11:12:37Z
2021-06-16T22:16:02Z
2021-06-16T22:16:02Z
2021-06-17T06:22:02Z
Backport PR #42046 on branch 1.3.x (BUG: Don't supply name to Series when using 'size' with agg/apply)
diff --git a/pandas/core/apply.py b/pandas/core/apply.py index 388c1881afed7..9e787555f2b1f 100644 --- a/pandas/core/apply.py +++ b/pandas/core/apply.py @@ -842,7 +842,7 @@ def apply_str(self) -> FrameOrSeriesUnion: # Special-cased because DataFrame.size returns a single scalar obj = self.obj ...
Backport PR #42046: BUG: Don't supply name to Series when using 'size' with agg/apply
https://api.github.com/repos/pandas-dev/pandas/pulls/42051
2021-06-16T11:09:17Z
2021-06-16T12:33:54Z
2021-06-16T12:33:54Z
2021-06-16T12:33:54Z
Backport PR #42048 on branch 1.3.x (CI/TST: fix typo in #41982)
diff --git a/pandas/tests/indexes/numeric/test_numeric.py b/pandas/tests/indexes/numeric/test_numeric.py index de75f1dffde56..9747167296be7 100644 --- a/pandas/tests/indexes/numeric/test_numeric.py +++ b/pandas/tests/indexes/numeric/test_numeric.py @@ -536,7 +536,7 @@ def test_constructor(self, dtype): tm.asse...
Backport PR #42048: CI/TST: fix typo in #41982
https://api.github.com/repos/pandas-dev/pandas/pulls/42050
2021-06-16T08:14:08Z
2021-06-16T09:25:25Z
2021-06-16T09:25:25Z
2021-06-16T09:25:25Z
BUG: hash_pandas_object ignores optional arguments when the input is a DataFrame.
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index 438313f3e58e2..7269a184358b7 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -1205,6 +1205,7 @@ Other - Bug in :class:`Series` backed by :class:`DatetimeArray` or :class:`TimedeltaArray` sometimes fai...
- [x] closes #41404 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry In this PR, I will try to solve issue #41404. I would appreciate it if you could review t...
https://api.github.com/repos/pandas-dev/pandas/pulls/42049
2021-06-16T04:36:31Z
2021-06-18T15:43:42Z
2021-06-18T15:43:41Z
2021-06-18T15:44:18Z
CI/TST: fix typo in #41982
diff --git a/pandas/tests/indexes/numeric/test_numeric.py b/pandas/tests/indexes/numeric/test_numeric.py index de75f1dffde56..9747167296be7 100644 --- a/pandas/tests/indexes/numeric/test_numeric.py +++ b/pandas/tests/indexes/numeric/test_numeric.py @@ -536,7 +536,7 @@ def test_constructor(self, dtype): tm.asse...
fix a typo in #41982, which is causing CI failure.
https://api.github.com/repos/pandas-dev/pandas/pulls/42048
2021-06-16T04:10:32Z
2021-06-16T08:13:43Z
2021-06-16T08:13:43Z
2021-06-18T02:21:01Z
Backport PR #38587 on branch 1.3.x (ENH: Raise ParserWarning when length of names does not match length of data)
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index 414794dd6a56e..1b5f9dd41eaeb 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -246,6 +246,7 @@ Other enhancements - Improved error message when ``usecols`` and ``names`` do not match for :func:`read_cs...
Backport PR #38587: ENH: Raise ParserWarning when length of names does not match length of data
https://api.github.com/repos/pandas-dev/pandas/pulls/42047
2021-06-16T02:14:33Z
2021-06-16T08:03:28Z
2021-06-16T08:03:28Z
2021-06-16T08:03:29Z