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
Fix for #3970 cache invalidation bug
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 97ceddb73a10d..9b1f144eeecbf 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2100,7 +2100,15 @@ def _slice(self, slobj, axis=0, raise_on_error=False): else: mgr_axis = 0 - new_data = self._data.get_slice(slobj...
Also fixed stable sorting test failure that presents on some platforms
https://api.github.com/repos/pandas-dev/pandas/pulls/4077
2013-06-28T17:56:09Z
2013-06-28T18:40:04Z
2013-06-28T18:40:03Z
2013-06-28T18:41:53Z
PERF: optimize insert_columns
diff --git a/pandas/core/internals.py b/pandas/core/internals.py index c2af6e395a7e5..c1379dcc66766 100644 --- a/pandas/core/internals.py +++ b/pandas/core/internals.py @@ -87,7 +87,7 @@ def set_ref_items(self, ref_items, maybe_rename=True): raise AssertionError('block ref_items must be an Index') ...
perf regression introduced in 1585aa4976ee492f05410b70014bad74cb7414b6
https://api.github.com/repos/pandas-dev/pandas/pulls/4075
2013-06-28T16:05:24Z
2013-06-28T17:30:14Z
2013-06-28T17:30:14Z
2014-07-16T08:16:36Z
BUG: fix 1xN mask on 1xN frame
diff --git a/doc/source/release.rst b/doc/source/release.rst index 1edb44502221c..ae76324c0e848 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -293,6 +293,8 @@ pandas 0.12 :issue:`4028`, :issue:`4054`) - ``Series.hist`` will now take the figure from the current environment if one is no...
closes #4071.
https://api.github.com/repos/pandas-dev/pandas/pulls/4073
2013-06-28T14:54:32Z
2013-06-28T18:41:48Z
2013-06-28T18:41:48Z
2014-07-02T22:48:55Z
PERF: optimize iloc for unique case
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 5f1ea00e421a8..97ceddb73a10d 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1981,7 +1981,8 @@ def _ixs(self, i, axis=0, copy=False): if isinstance(label, Index): # a location index by definition - ...
related #4017, #4018 optimize the iloc case (which should be the same for unique and non-unique indicies) ``` In [1]: df = DataFrame({'A' : [0.1] * 30000000, 'B' : [1] * 30000000}) In [6]: idx = np.array(range(30000)) * 99 In [7]: df2 = DataFrame({'A' : [0.1] * 10000000, 'B' : [1] * 10000000}) In [8]: df2 = concat...
https://api.github.com/repos/pandas-dev/pandas/pulls/4070
2013-06-28T13:18:24Z
2013-06-28T15:35:50Z
2013-06-28T15:35:50Z
2014-07-01T20:48:51Z
DOC: read_frame doc enhancement
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 68dff479a5015..f444f55cd0573 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -148,6 +148,9 @@ def read_frame(sql, con, index_col=None, coerce_float=True, params=None): con: DB connection object, optional index_col: string, optional column...
- added doc for parameter 'coerce_float' in io.sql.read_frame
https://api.github.com/repos/pandas-dev/pandas/pulls/4068
2013-06-28T06:20:26Z
2013-07-10T14:50:21Z
2013-07-10T14:50:21Z
2014-07-16T08:16:30Z
TST/BUG: fix 2to3 import rewrite of import pickle
diff --git a/doc/source/release.rst b/doc/source/release.rst index ae76324c0e848..18d5939d909ed 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -294,6 +294,8 @@ pandas 0.12 - ``Series.hist`` will now take the figure from the current environment if one is not passed - Fixed bug where a 1xN...
In pandas.io.pickle the following statement will not allow python to import anything due to the following rewrite by 2to3 import pickle -> from . import pickle This makes the import try to import itself ad infinitum and thus fails. closes #4062
https://api.github.com/repos/pandas-dev/pandas/pulls/4063
2013-06-27T19:53:37Z
2013-06-28T19:47:40Z
2013-06-28T19:47:40Z
2014-06-16T02:42:59Z
PERF: perf regressions on insertion of columns into frame (from GH4032)
diff --git a/pandas/core/internals.py b/pandas/core/internals.py index 0fbadafeca617..c2af6e395a7e5 100644 --- a/pandas/core/internals.py +++ b/pandas/core/internals.py @@ -1788,6 +1788,9 @@ def insert(self, loc, item, value, allow_duplicates=False): # new block self._add_new_block(item, value...
inserting columns at the end was extremely slow
https://api.github.com/repos/pandas-dev/pandas/pulls/4057
2013-06-27T13:53:22Z
2013-06-27T15:09:46Z
2013-06-27T15:09:46Z
2014-07-16T08:16:26Z
TST/BUG: fix failing data.py tests for good
diff --git a/doc/source/release.rst b/doc/source/release.rst index 0fa7b4b2ed5f2..114b5d749c85c 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -286,7 +286,11 @@ pandas 0.12 - Fix ``Series.clip`` for datetime series. NA/NaN threshold values will now throw ValueError (:issue:`3996`) - Fixed ins...
closes #4028, #3982. for good.
https://api.github.com/repos/pandas-dev/pandas/pulls/4054
2013-06-27T13:03:15Z
2013-06-28T14:21:53Z
2013-06-28T14:21:53Z
2014-06-13T01:01:55Z
TST: remove test_yahoo options test skipping
diff --git a/pandas/io/tests/test_yahoo.py b/pandas/io/tests/test_yahoo.py index b85c981ad83fe..f2a55a4231c00 100644 --- a/pandas/io/tests/test_yahoo.py +++ b/pandas/io/tests/test_yahoo.py @@ -104,9 +104,6 @@ def test_options(self): except ImportError: raise nose.SkipTest - ##### FAILING ...
closes #4028 just a reversal of the warnings - seem ok now
https://api.github.com/repos/pandas-dev/pandas/pulls/4048
2013-06-26T18:26:14Z
2013-06-26T19:17:51Z
2013-06-26T19:17:51Z
2014-06-30T12:16:55Z
BUG: (GH4032) Fixed insertion issue into DataFrame, after rename
diff --git a/doc/source/release.rst b/doc/source/release.rst index 7afe53cf33904..80061b6f49aed 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -252,8 +252,7 @@ pandas 0.11.1 - Fix running of bs4 tests when it is not installed (:issue:`3605`) - Fix parsing of html table (:issue:`3606`) - ``...
closes #4032
https://api.github.com/repos/pandas-dev/pandas/pulls/4043
2013-06-26T13:01:35Z
2013-06-26T14:02:11Z
2013-06-26T14:02:11Z
2014-07-16T08:16:15Z
ENH/BUG: Fix names, levels and labels handling in MultiIndex
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index 224925f144147..0cfc954e38f98 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -868,66 +868,6 @@ convert to an integer index: df_new[(df_new['index'] >= 1.0) & (df_new['index'] < 2)] -.. _indexing.class: - -Index objects -...
This PR covers: Fixes: #4202, #3714, #3742 (there are might be some others, but I've blanked on them...) Bug fixes: - `MultiIndex` preserves names as much as possible and it's now harder to overwrite index metadata by making changes down the line. - `set_values` no longer messes up names. External API Changes: - Nam...
https://api.github.com/repos/pandas-dev/pandas/pulls/4039
2013-06-26T01:22:53Z
2013-08-11T20:01:02Z
2013-08-11T20:01:02Z
2017-07-09T02:26:19Z
CLN/DOC: update version numbers
diff --git a/doc/source/faq.rst b/doc/source/faq.rst index 534ad576da0a7..04492210137ee 100644 --- a/doc/source/faq.rst +++ b/doc/source/faq.rst @@ -35,7 +35,7 @@ horizontal scrolling, auto-detection of width/height. To appropriately address all these environments, the display behavior is controlled by several option...
https://api.github.com/repos/pandas-dev/pandas/pulls/4038
2013-06-26T01:21:18Z
2013-06-26T17:00:28Z
2013-06-26T17:00:28Z
2014-07-16T08:16:05Z
ENH: add rmod methods to frame and series
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index bf9d1cd7d30b9..43b4e8c3cf007 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -842,12 +842,14 @@ def __contains__(self, key): sub = _arith_method(operator.sub, 'subtract', '-') div = divide = _arith_method(lambda x, y: x / y, 'divid...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/4035
2013-06-26T00:00:34Z
2013-06-26T14:21:01Z
2013-06-26T14:21:01Z
2014-07-05T03:48:10Z
Add layout keyword to dataframe.hist()
diff --git a/doc/source/release.rst b/doc/source/release.rst index 18d5939d909ed..513540698023f 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -100,6 +100,7 @@ pandas 0.12 (:issue:`3910`, :issue:`3914`) - ``read_csv`` will now throw a more informative error message when a file contains...
closes #4050. The current version defaults to a very sane default, but sometimes for presentation I prefer them all to be all in a row, or all in a column, or some non-balanced mix of the two. This keyword gives the flexibility for all of those options.
https://api.github.com/repos/pandas-dev/pandas/pulls/4031
2013-06-25T18:19:52Z
2013-06-29T14:50:54Z
2013-06-29T14:50:54Z
2014-06-20T04:13:38Z
BUG: Removed import nose on top of testing.py script
diff --git a/pandas/util/testing.py b/pandas/util/testing.py index 5a583ca3ae7d9..19d7c707a0689 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -14,7 +14,6 @@ from distutils.version import LooseVersion import urllib2 -import nose from numpy.random import randn import numpy as np @@ -755,6 +7...
I'm having this error in master branch: > > > import pandas > > > Traceback (most recent call last): > > > File "<stdin>", line 1, in <module> > > > File "pandas/**init**.py", line 33, in <module> > > > from pandas.util.testing import debug > > > File "pandas/util/testing.py", line 17, in <module> > > > ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4030
2013-06-25T14:12:48Z
2013-06-26T02:12:04Z
2013-06-26T02:12:04Z
2014-07-16T08:15:59Z
BUG: Make secondary_y work properly for bar plots GH3598
diff --git a/doc/source/release.rst b/doc/source/release.rst index b2c1e585fd90f..577d3a30c80f0 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -232,6 +232,7 @@ pandas 0.11.1 is a ``list`` or ``tuple``. - Fixed bug where a time-series was being selected in preference to an actual column name...
As far as I'm aware this seems to work properly, but I'm not sure if this was done the previous way for a reason I don't understand. Fixes: https://github.com/pydata/pandas/issues/3598
https://api.github.com/repos/pandas-dev/pandas/pulls/4024
2013-06-25T05:06:27Z
2013-06-26T13:38:27Z
2013-06-26T13:38:27Z
2014-06-25T08:05:07Z
BUG: allow series to use gcf-style figures
diff --git a/doc/source/release.rst b/doc/source/release.rst index 114b5d749c85c..1edb44502221c 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -291,7 +291,8 @@ pandas 0.12 - Fixed failing tests in test_yahoo, test_google where symbols were not retrieved but were being accessed (:issue:`3982...
cc @fonnesbeck here's the original issue: https://github.com/pydata/pandas/commit/51cc9d9d21554701f70ef24392bd78a3da189335#commitcomment-3494266
https://api.github.com/repos/pandas-dev/pandas/pulls/4021
2013-06-25T03:36:39Z
2013-06-28T15:18:57Z
2013-06-28T15:18:57Z
2014-07-16T08:15:54Z
BUG: GH4017, efficiently support non-unique indicies with iloc
diff --git a/doc/source/release.rst b/doc/source/release.rst index 917d91a14441e..817d029417aa1 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -212,6 +212,8 @@ pandas 0.12 - Extend ``reindex`` to correctly deal with non-unique indices (:issue:`3679`) - ``DataFrame.itertuples()`` now works...
closes #4017 This was a bug because the iloc was dealing with a non-unique index (and was reindexing which is not correct in this situation, instead can effectively take) ``` In [1]: df= DataFrame({'A' : [0.1] * 300000, 'B' : [1] * 300000}) In [2]: idx = np.array(range(3000)) * 99 In [3]: expected = df.iloc[idx] I...
https://api.github.com/repos/pandas-dev/pandas/pulls/4018
2013-06-25T00:14:19Z
2013-06-26T18:15:38Z
2013-06-26T18:15:38Z
2014-06-12T13:14:25Z
FIX groupby name without multiindex GH4014
diff --git a/doc/source/release.rst b/doc/source/release.rst index 1525cc02268ae..b2c1e585fd90f 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -214,6 +214,7 @@ pandas 0.11.1 names (:issue:`3873`) - Fixed bug in groupby with empty series referencing a variable before assignment. (:issue:...
Fixes #4014.
https://api.github.com/repos/pandas-dev/pandas/pulls/4015
2013-06-24T20:15:42Z
2013-06-24T22:08:25Z
2013-06-24T22:08:25Z
2014-07-16T08:15:48Z
CLN: Added *.dta to the .gitignore. Fixed typo in comment. Removed import.
diff --git a/.gitignore b/.gitignore index 553d477dfce2a..f12847a80edaf 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ MANIFEST *.so *.pyd *.h5 +*.dta pandas/version.py doc/source/generated doc/source/_static @@ -33,4 +34,4 @@ pandas/io/*.json .idea/libraries/sass_stdlib.xml .idea/pandas.iml -.bui...
CLN: Removed import after flake8 said it wasn't needed.
https://api.github.com/repos/pandas-dev/pandas/pulls/4010
2013-06-24T08:05:56Z
2013-06-26T11:07:32Z
2013-06-26T11:07:32Z
2014-06-21T02:48:33Z
TST: Change test_html to use stored data + mark other
diff --git a/pandas/io/tests/test_html.py b/pandas/io/tests/test_html.py index 0157729044782..eaf06730a84c3 100644 --- a/pandas/io/tests/test_html.py +++ b/pandas/io/tests/test_html.py @@ -91,7 +91,6 @@ def test_to_html_compat(self): assert_frame_equal(res, df) @network - @slow def test_banklist...
Changed double decorated tests previously `network` and `slow` so they actually get run + stored usda_data such that the tests don't fail on network access.
https://api.github.com/repos/pandas-dev/pandas/pulls/4009
2013-06-24T01:52:30Z
2013-07-03T12:50:07Z
2013-07-03T12:50:07Z
2014-06-18T13:38:53Z
Basic JSON normalization/flattening
diff --git a/doc/source/io.rst b/doc/source/io.rst index 9442f59425106..0fabfa7077a95 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1230,6 +1230,37 @@ nanoseconds import os os.remove('test.json') +.. _io.json_normalize: + +Normalization +~~~~~~~~~~~~~ + +.. versionadded:: 0.13.0 + +Pandas provide...
closes #1067. This isn't a fast function but has quite a bit of functionality. Take a look at the unit tests. Comments on the API welcome and this could use a few iterations. Various ad hoc things like concatenating "key paths" to metadata
https://api.github.com/repos/pandas-dev/pandas/pulls/4007
2013-06-23T23:45:57Z
2013-10-03T21:00:21Z
2013-10-03T21:00:21Z
2014-06-15T09:36:14Z
Fix rename for MultiIndex columns DataFrame
diff --git a/doc/source/release.rst b/doc/source/release.rst index 97e9304e7e6b5..1525cc02268ae 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -277,6 +277,7 @@ pandas 0.11.1 specified (:issue:`3967`), python parser failing with ``chunksize=1`` - Fix index name not propogating when using ``sh...
DataFrame rename doesn't rename a MultiIndex column and it flattens the columns. Closes https://github.com/pydata/pandas/issues/3165 which is a fix for index but not columns.
https://api.github.com/repos/pandas-dev/pandas/pulls/4004
2013-06-23T17:26:13Z
2013-06-24T09:57:50Z
2013-06-24T09:57:50Z
2014-06-25T21:40:36Z
CLN: clean up data.py
diff --git a/pandas/io/data.py b/pandas/io/data.py index b0ee77f11a0a7..278fc2fc6dd4d 100644 --- a/pandas/io/data.py +++ b/pandas/io/data.py @@ -10,12 +10,12 @@ import datetime as dt import urllib import time +from collections import defaultdict from contextlib import closing from urllib2 import urlopen from zi...
closes #4001 closes #3982 closes #4028
https://api.github.com/repos/pandas-dev/pandas/pulls/4002
2013-06-23T05:20:26Z
2013-06-28T23:06:17Z
2013-06-28T23:06:17Z
2014-06-27T11:41:37Z
CLN: fix python26 invalid exception
diff --git a/pandas/io/data.py b/pandas/io/data.py index 03ccde6a2fcc1..21f69e2e7daf4 100644 --- a/pandas/io/data.py +++ b/pandas/io/data.py @@ -478,7 +478,7 @@ def get_data_fred(name=None, start=dt.datetime(2010, 1, 1), except KeyError: if data.ix[3].name[7:12] == 'Error': raise Exception("F...
https://api.github.com/repos/pandas-dev/pandas/pulls/4000
2013-06-23T01:06:43Z
2013-06-23T05:25:11Z
2013-06-23T05:25:11Z
2014-07-16T08:15:29Z
BUG: (GH3997) Fix for dropna=False in stack
diff --git a/doc/source/release.rst b/doc/source/release.rst index df09d2f5a50ba..0c413b2b8eafb 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -274,6 +274,7 @@ pandas 0.11.1 - csv parsers would loop infinitely if ``iterator=True`` but no ``chunksize`` was specified (:issue:`3967`), python ...
Fixes #3997
https://api.github.com/repos/pandas-dev/pandas/pulls/3999
2013-06-22T21:31:01Z
2013-06-23T09:20:03Z
2013-06-23T09:20:03Z
2014-06-24T17:55:06Z
BUG: Use Series.where rather than np.where in clip
diff --git a/doc/source/release.rst b/doc/source/release.rst index b2c1e585fd90f..7afe53cf33904 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -279,6 +279,7 @@ pandas 0.11.1 - Fix index name not propogating when using ``shift`` - Fixed dropna=False being ignored with multi-index stack (:issue:...
Closes #3996
https://api.github.com/repos/pandas-dev/pandas/pulls/3998
2013-06-22T20:25:59Z
2013-06-25T20:04:24Z
2013-06-25T20:04:24Z
2014-07-16T08:15:26Z
BUG: invert_xaxis (negative tot_sec) triggers MilliSecondLocator (#3990)
diff --git a/doc/source/release.rst b/doc/source/release.rst index a9e88f1341992..3799b0a8a24d6 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -324,6 +324,8 @@ pandas 0.12 (:issue:`4145`, :issue:`4146`) - Fixed bug in the parsing of microseconds when using the ``format`` argument in `...
Solves issue #3990. Negative timedelta for xaxis range will no longer trigger MilliSecondLocator.
https://api.github.com/repos/pandas-dev/pandas/pulls/3991
2013-06-22T12:13:47Z
2013-07-10T18:39:00Z
2013-07-10T18:39:00Z
2014-06-25T21:40:21Z
TST: coverage for skipped tests in io/formats/test_to_html.py
diff --git a/pandas/tests/io/formats/test_to_html.py b/pandas/tests/io/formats/test_to_html.py index 845fb1ee3dc3a..035b2d4c3347c 100644 --- a/pandas/tests/io/formats/test_to_html.py +++ b/pandas/tests/io/formats/test_to_html.py @@ -1066,14 +1066,10 @@ def test_to_html_regression_GH6098(self): df.pivot_table(i...
- [ N/A] precursor to #22786 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ N/A] whatsnew entry There are currently 3 skipped tests in `io/formats/test_to_html.py`; `test_to_html_truncate`, `test_to_html_truncate_multi_index` and `test_to_html_truncate_multi_in...
https://api.github.com/repos/pandas-dev/pandas/pulls/22888
2018-09-29T18:16:02Z
2018-11-07T14:14:27Z
2018-11-07T14:14:27Z
2018-12-29T09:53:52Z
STYLE: Fix linting of benchmarks
diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py index cccd38ef11251..fc34440ece2ed 100644 --- a/asv_bench/benchmarks/algorithms.py +++ b/asv_bench/benchmarks/algorithms.py @@ -9,7 +9,7 @@ try: hashing = import_module(imp) break - except: + except (Import...
- [x] closes #22884 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Fixed the following: ` asv_bench/benchmarks/algorithms.py:12:5: E722 do not use bare except' asv_bench/benchmarks/timeseries.py:1:1: F401 'warnings' imported but unused as...
https://api.github.com/repos/pandas-dev/pandas/pulls/22886
2018-09-29T16:33:23Z
2018-09-30T06:48:41Z
2018-09-30T06:48:41Z
2018-09-30T06:48:55Z
BLD: Drop nonexistent dependency of _libs/parsers
diff --git a/setup.py b/setup.py index 2aca048dcd4fb..bfd0c50c9e9be 100755 --- a/setup.py +++ b/setup.py @@ -544,8 +544,7 @@ def srcpath(name=None, suffix='.pyx', subdir='src'): '_libs.parsers': { 'pyxfile': '_libs/parsers', 'depends': ['pandas/_libs/src/parser/tokenizer.h', - ...
Title is self-explanatory. Follow-up to #22469. Closes #22831.
https://api.github.com/repos/pandas-dev/pandas/pulls/22883
2018-09-29T09:53:44Z
2018-09-29T19:55:52Z
2018-09-29T19:55:51Z
2018-09-29T19:56:01Z
Use align_method in comp_method_FRAME
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index a05ef67a7238f..6532c9f7f8a96 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -510,6 +510,88 @@ Previous Behavior: 0 0 NaT +.. _whatsnew_0240.api.dataframe_cmp_broadcasting: + +DataF...
Closes #20090 <b>update</b> Since #23000 was merged, some of the discussion is out of date. The bottom line remains unchanged: This PR makes DataFrame _comparison_ ops behave like DataFrame _arithmetic_ ops currently do. Also fixes some bugs e.g. #20090 <b> end update</b> This is a much nicer alternative to th...
https://api.github.com/repos/pandas-dev/pandas/pulls/22880
2018-09-28T18:53:16Z
2018-10-13T07:08:21Z
2018-10-13T07:08:21Z
2020-04-05T17:39:10Z
CLN: remove Index._to_embed
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index b42bbdafcab45..af04a846ed787 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -1114,7 +1114,7 @@ def to_series(self, index=None, name=None): if name is None: name = self.name - return...
`_to_embed`'s dtype keyword was not used, and apart from that it was a trivial return of the `values`, and only used in `to_series`, so doesn't seem worth to have.
https://api.github.com/repos/pandas-dev/pandas/pulls/22879
2018-09-28T17:57:54Z
2018-10-02T15:11:11Z
2018-10-02T15:11:11Z
2018-10-02T15:11:13Z
COMPAT: mpl 3.0
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 481c31d2410a9..3e1711edb0f27 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -193,6 +193,8 @@ Other Enhancements - :meth:`Series.resample` and :meth:`DataFrame.resample` have gained the :meth:`Res...
Closes #22790
https://api.github.com/repos/pandas-dev/pandas/pulls/22870
2018-09-28T13:06:29Z
2018-09-28T15:06:16Z
2018-09-28T15:06:16Z
2018-09-28T17:59:41Z
BUG: astype(Int64) raises AttributeError
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index a4209ba90aaee..40dd48880e0eb 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -784,7 +784,8 @@ Numeric - Bug in :class:`Series` comparison against datetime-like scalars and arrays (:issue:`22074`) ...
- [x] closes #22578 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/22869
2018-09-28T05:56:53Z
2018-10-10T11:43:50Z
2018-10-10T11:43:50Z
2018-10-10T11:43:53Z
Add to_flat_index method to MultiIndex
diff --git a/doc/source/api.rst b/doc/source/api.rst index 665649aead33c..81bb420c47a99 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1724,6 +1724,7 @@ MultiIndex Components MultiIndex.set_levels MultiIndex.set_labels MultiIndex.to_hierarchical + MultiIndex.to_flat_index MultiIndex.to_f...
- [X] closes #19950 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Very simple implementation at the moment. The thought here is to introduce this method and perhaps subsequently extend to allow for string concatenation of the elements. Longer ...
https://api.github.com/repos/pandas-dev/pandas/pulls/22866
2018-09-27T22:39:57Z
2018-11-13T16:57:19Z
2018-11-13T16:57:19Z
2018-11-13T16:58:51Z
Allow passing a mask to NanOps
diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py index 232d030da7f1e..2884bc1a19491 100644 --- a/pandas/core/nanops.py +++ b/pandas/core/nanops.py @@ -1,12 +1,16 @@ -import itertools import functools +import itertools import operator import warnings from distutils.version import LooseVersion import num...
- [x] closes #22764 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] pytest --doctest-modules pandas/core/nanops.py - [TO DO] whatsnew entry Added Docs String and Examples to NanOps
https://api.github.com/repos/pandas-dev/pandas/pulls/22865
2018-09-27T21:32:30Z
2018-10-03T11:23:23Z
2018-10-03T11:23:22Z
2018-10-09T18:44:52Z
STYLE: Fixing and refactoring linting
diff --git a/.pep8speaks.yml b/.pep8speaks.yml index cd610907007eb..c3a85d595eb59 100644 --- a/.pep8speaks.yml +++ b/.pep8speaks.yml @@ -3,9 +3,18 @@ scanner: diff_only: True # If True, errors caused by only the patch are shown +# Opened issue in pep8speaks, so we can directly use the config in setup.cfg +# (a...
- Wrong path `pandas/src` corrected (`.px.in` was not being tested) - Made more compact and readable - Unified the flake8 errors that are being ignored - Moving doctests and check_imports to `lint.sh` - Moving linting from py2.7 to py3.6
https://api.github.com/repos/pandas-dev/pandas/pulls/22863
2018-09-27T21:07:12Z
2018-10-09T19:27:45Z
2018-10-09T19:27:45Z
2018-10-09T19:27:45Z
REF: Make PeriodArray an ExtensionArray
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index e4b31b21b11ac..47fef83d3015d 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -145,11 +145,11 @@ Current Behavior: .. _whatsnew_0240.enhancements.interval: -Storing Interval Data in Series and ...
Closes #22862 Closes #14108 Closes #18053
https://api.github.com/repos/pandas-dev/pandas/pulls/22862
2018-09-27T19:43:06Z
2018-10-25T22:38:55Z
2018-10-25T22:38:54Z
2018-11-20T20:29:30Z
CI: Linting with azure instead of travis
diff --git a/.travis.yml b/.travis.yml index 6bbc44fba864a..03026647d6bb8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,7 +52,7 @@ matrix: - python-gtk2 - dist: trusty env: - - JOB="3.6, lint, coverage" ENV_FILE="ci/deps/travis-36.yaml" PATTERN="not slow and not network" PANDAS_TESTING...
closes #22844 Moving all the linting, other code checks and doctests to azure.
https://api.github.com/repos/pandas-dev/pandas/pulls/22854
2018-09-27T13:28:20Z
2018-12-03T00:05:47Z
2018-12-03T00:05:47Z
2018-12-03T12:12:48Z
BUG: DatetimeIndex slicing with boolean Index raises TypeError
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 149d618c4a621..41ed6130f4077 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -1221,7 +1221,7 @@ Indexing - Bug in `MultiIndex.set_levels` when levels value is not subscriptable (:issue:`23273`) -...
- [x] closes #22533 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22852
2018-09-27T09:02:20Z
2018-11-07T14:08:16Z
2018-11-07T14:08:15Z
2018-11-08T02:08:18Z
DOC: Fix warnings in doc build
diff --git a/doc/source/api.rst b/doc/source/api.rst index e4b055c14ec27..073ed8a082a11 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -2603,3 +2603,12 @@ objects. generated/pandas.Series.ix generated/pandas.Series.imag generated/pandas.Series.real + + +.. Can't convince sphinx to generate toct...
Split from https://github.com/pandas-dev/pandas/pull/22743 This has just the docs changes, not the doc build / CI changes, so I don't have to keep fixing merge conflicts.
https://api.github.com/repos/pandas-dev/pandas/pulls/22838
2018-09-26T14:27:09Z
2018-09-26T19:03:57Z
2018-09-26T19:03:57Z
2018-09-26T19:14:02Z
DOC: remove appveyor badge from readme
diff --git a/README.md b/README.md index bf90f76ae7bd1..f26b9598bb5d3 100644 --- a/README.md +++ b/README.md @@ -53,14 +53,6 @@ </a> </td> </tr> -<tr> - <td></td> - <td> - <a href="https://ci.appveyor.com/project/pandas-dev/pandas"> - <img src="https://ci.appveyor.com/api/projects/status/86vn83mxgnl4xf...
https://api.github.com/repos/pandas-dev/pandas/pulls/22829
2018-09-25T12:48:33Z
2018-09-25T12:48:40Z
2018-09-25T12:48:40Z
2018-09-25T12:48:40Z
Add Azure Pipelines badge to readme
diff --git a/README.md b/README.md index 3dde5e5e2a76e..bf90f76ae7bd1 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,14 @@ </a> </td> </tr> +<tr> + <td></td> + <td> + <a href="https://dev.azure.com/pandas-dev/pandas/_build/latest?definitionId=1&branch=master"> + <img src="https://dev.azure.com/p...
https://api.github.com/repos/pandas-dev/pandas/pulls/22828
2018-09-25T12:39:56Z
2018-09-25T12:46:48Z
2018-09-25T12:46:47Z
2018-09-25T13:55:35Z
DOC: fix a failing doctest in DataFrame.to_dict
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index eced3bf34e7c6..f2188e6bb56b8 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -118,7 +118,7 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then MSG='Doctests frame.py' ; echo $MSG pytest --doctest-modules -v pandas/core/frame.py \ - ...
- [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Based on #22459. Fix the docstring for DataFrame.to_dict. I also updated `ci/doctests.sh`.
https://api.github.com/repos/pandas-dev/pandas/pulls/22827
2018-09-25T02:42:12Z
2018-10-15T15:18:03Z
2018-10-15T15:18:03Z
2018-10-15T17:00:15Z
Loc enhancements
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index 739ad6a3d278b..c5b147b152aa6 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -11,95 +11,110 @@ class NumericSeriesIndexing(object): goal_time = 0.2 - params = [Int64Index, Float64Ind...
- [x] closes #9466 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Improves performance of `IndexEngine.get_indexer_non_unique` by using binary search when: * the index is monotonically increassing, and * the length of the iterable loc key is ...
https://api.github.com/repos/pandas-dev/pandas/pulls/22826
2018-09-25T01:15:56Z
2018-10-01T12:08:59Z
2018-10-01T12:08:59Z
2018-10-02T03:40:30Z
BUG: Merge timezone aware data with DST
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 3e1711edb0f27..4d92de3084be3 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -812,6 +812,7 @@ Reshaping - Bug in :meth:`Series.replace` and meth:`DataFrame.replace` when dict is used as the ``to_r...
- [x] closes #18885 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry When merging timezone aware data using `where`, make the comparison in UTC to avoid relocalizing on an ambiguous time.
https://api.github.com/repos/pandas-dev/pandas/pulls/22825
2018-09-24T23:44:10Z
2018-10-01T12:12:36Z
2018-10-01T12:12:36Z
2018-10-01T16:44:31Z
DOC: fixup spacing in to_csv docstring (GH22475)
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9d19b02c4d1fb..19ac4b49358d4 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -9512,6 +9512,7 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None, path_or_buf : str or file handle, default None ...
Follow-up on https://github.com/pandas-dev/pandas/pull/22475
https://api.github.com/repos/pandas-dev/pandas/pulls/22816
2018-09-24T09:28:51Z
2018-09-24T12:32:08Z
2018-09-24T12:32:08Z
2018-09-24T12:32:12Z
ERR: Clarify location of EOF on unbalanced quotes
diff --git a/pandas/_libs/src/parser/tokenizer.c b/pandas/_libs/src/parser/tokenizer.c index da0a9f7498aa8..2fce241027d56 100644 --- a/pandas/_libs/src/parser/tokenizer.c +++ b/pandas/_libs/src/parser/tokenizer.c @@ -1150,7 +1150,7 @@ static int parser_handle_eof(parser_t *self) { case IN_QUOTED_FIELD: ...
* Clarifies message in the C engine (original issue) * Python's `csv` module no longer fires specific errors for that, so removed it from handling Closes #22789.
https://api.github.com/repos/pandas-dev/pandas/pulls/22814
2018-09-24T00:26:28Z
2018-09-25T16:38:54Z
2018-09-25T16:38:54Z
2018-09-28T08:01:33Z
BUG: Maintain column order with groupby.nth
diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst index d6f9bb66e1e28..02828ec431aac 100644 --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -288,6 +288,7 @@ Other Enhancements - Added :meth:`Interval.overlaps`, :meth:`IntervalArray.overlaps`, and :meth:`Inter...
- [ ] closes #20760 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22811
2018-09-23T10:52:42Z
2018-11-20T01:10:52Z
2018-11-20T01:10:52Z
2018-12-08T13:05:42Z
BUG: DataFrame.to_dict when orient=index data loss
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index a1a0857fe6365..d4be2f60a9e7a 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -373,6 +373,22 @@ is the case with :attr:`Period.end_time`, for example p.end_time +.. _whatsnew_0240.api_breaki...
- [x] closes #22801 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/22810
2018-09-23T01:26:47Z
2018-10-11T13:09:06Z
2018-10-11T13:09:05Z
2018-10-11T13:09:10Z
BUG: Avoid AmbiguousTime or NonExistentTime Error when resampling
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index ed1bf0a4f8394..31ef70703e2ca 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -679,6 +679,7 @@ Timezones - Bug when setting a new value with :meth:`DataFrame.loc` with a :class:`DatetimeIndex` with...
- [x] closes #19375 - [x] closes #10117 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22809
2018-09-22T22:58:48Z
2018-09-23T12:11:02Z
2018-09-23T12:11:02Z
2018-09-23T16:18:45Z
BUG: Hashtable size hint cap
diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst index 5213120b33f06..f2dc4c089c79f 100644 --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -1828,6 +1828,7 @@ Groupby/Resample/Rolling - Calling :meth:`pandas.core.groupby.GroupBy.rank` with empty groups and ``...
- [x] closes #22729 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22805
2018-09-22T13:44:31Z
2019-01-15T12:33:24Z
2019-01-15T12:33:23Z
2019-01-15T12:33:27Z
BUG: Fix json_normalize throwing TypeError when record_path has a sequence of dicts #22706
diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst index 3a01c913ffbd5..c9e01694ef90d 100644 --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -1495,6 +1495,7 @@ Notice how we now instead output ``np.nan`` itself instead of a stringified form - Bug in :meth:`Dat...
- [x] closes #22706 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22804
2018-09-22T02:59:21Z
2018-12-13T20:25:51Z
2018-12-13T20:25:50Z
2018-12-13T20:25:51Z
Fix Timestamp.round errors
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 6c91b6374b8af..fde7c20f7beba 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -646,6 +646,7 @@ Datetimelike - Bug in :class:`DatetimeIndex` subtraction that incorrectly failed to raise ``OverflowEr...
- [x] closes #22591 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry - [x] rebase for the new `ambiguous` kwarg, resolve conflicts.
https://api.github.com/repos/pandas-dev/pandas/pulls/22802
2018-09-21T20:11:57Z
2018-10-01T12:10:50Z
2018-10-01T12:10:50Z
2018-10-01T21:13:50Z
Enforce flake8 E741
diff --git a/.pep8speaks.yml b/.pep8speaks.yml index fda26d87bf7f6..cd610907007eb 100644 --- a/.pep8speaks.yml +++ b/.pep8speaks.yml @@ -8,5 +8,4 @@ pycodestyle: ignore: # Errors and warnings to ignore - E402, # module level import not at top of file - E731, # do not assign a lambda expression...
Enforce flake8 E741 #19496 ( Was added here ) But running `flake8 --select E741` returns nothing Looks like this is a valid flake8 rule: ( unless im looking at the wrong docs ) https://lintlyci.github.io/Flake8Rules/
https://api.github.com/repos/pandas-dev/pandas/pulls/22795
2018-09-20T20:31:10Z
2018-09-20T21:21:10Z
2018-09-20T21:21:10Z
2018-09-21T13:58:09Z
DOC: Updating Series.autocorr docstring
diff --git a/pandas/core/series.py b/pandas/core/series.py index fdb9ef59c1d3e..eef64fe68c360 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2021,7 +2021,10 @@ def diff(self, periods=1): def autocorr(self, lag=1): """ - Lag-N autocorrelation + Compute the lag-N autocorr...
- [ ] closes #xxxx - [ ] tests added / passed - [ X ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22787
2018-09-20T14:26:05Z
2018-09-26T11:50:53Z
2018-09-26T11:50:53Z
2018-09-26T11:50:57Z
BUG: to_html misses truncation indicators (...) when index=False
diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst index 9275357e5ad18..7c98da440e1bf 100644 --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -1319,6 +1319,7 @@ Notice how we now instead output ``np.nan`` itself instead of a stringified form - :func:`read_sas()...
- [x] closes #15019 - [x] closes #22783 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22786
2018-09-20T14:09:21Z
2018-11-15T13:49:18Z
2018-11-15T13:49:17Z
2018-11-17T00:34:25Z
Preserve Extension type on cross section
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 0e591e180e078..707257a35983e 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -500,6 +500,7 @@ ExtensionType Changes - :meth:`Series.combine()` works correctly with :class:`~pandas.api.extensions.E...
closes #22784 Builds on #22780 (first commit). 0197e0c has the relevant changes.
https://api.github.com/repos/pandas-dev/pandas/pulls/22785
2018-09-20T13:50:36Z
2018-09-26T14:27:53Z
2018-09-26T14:27:53Z
2018-09-26T14:27:56Z
ENH: is_homogeneous
diff --git a/pandas/core/base.py b/pandas/core/base.py index d831dc69338bd..26fea89b45ae1 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -663,6 +663,21 @@ def transpose(self, *args, **kwargs): T = property(transpose, doc="return the transpose, which is by " "definiti...
Split https://github.com/pandas-dev/pandas/pull/22325 @jorisvandenbossche suggested moving this off of the BlockManager. Right now, I've made this public. Do we want that? If so I'll add to api.rst, release note, etc. Otherwise, I'll make it private.
https://api.github.com/repos/pandas-dev/pandas/pulls/22780
2018-09-20T11:53:14Z
2018-09-20T16:22:46Z
2018-09-20T16:22:46Z
2018-09-21T07:25:34Z
DOC: Fix outdated default values in util.testing docstrings
diff --git a/pandas/util/testing.py b/pandas/util/testing.py index edd0b0aa82d23..3db251e89842d 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -225,7 +225,7 @@ def assert_almost_equal(left, right, check_dtype="equiv", ---------- left : object right : object - check_dtype : bool / ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22776
2018-09-19T23:28:13Z
2018-09-20T14:31:15Z
2018-09-20T14:31:15Z
2018-09-20T19:54:04Z
DOC: update the DataFrame.reindex_like docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 572bb3668caf8..4a8d40893c9a3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3926,22 +3926,36 @@ def shift(self, periods=1, freq=None, axis=0): def set_index(self, keys, drop=True, append=False, inplace=False, verify...
- [x] The PEP8 style check passes: git diff upstream/master -u -- "*.py" | flake8 --diff - [x] The html version looks good: python doc/make.py --single <your-function-or-method> - [ ] The validation script passes: scripts/validate_docstrings.py <your-function-or-method> Errors due to the fact that this method `.rein...
https://api.github.com/repos/pandas-dev/pandas/pulls/22775
2018-09-19T23:05:50Z
2018-11-26T23:12:14Z
2018-11-26T23:12:13Z
2018-11-26T23:12:26Z
DOC: Reorders DataFrame.any and all docstrings to match function signature
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 3f7334131e146..75baeab402734 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -9671,15 +9671,15 @@ def _doc_parms(cls): original index. * None : reduce all axes, return a scalar. +bool_only : boolean, default None + I...
This PR updates the docstrings for `DataFrame.any` and `DataFrame.all` to match the corresponding function signatures. Specifically, the `bool_only` parameter was moved to be the seconds parameter in the docstring.
https://api.github.com/repos/pandas-dev/pandas/pulls/22774
2018-09-19T22:22:22Z
2018-09-20T14:52:53Z
2018-09-20T14:52:53Z
2018-09-20T15:55:03Z
TST: Fixturize series/test_asof.py
diff --git a/pandas/tests/series/test_asof.py b/pandas/tests/series/test_asof.py index 3104d85601434..e85a0ac42ae1a 100644 --- a/pandas/tests/series/test_asof.py +++ b/pandas/tests/series/test_asof.py @@ -8,10 +8,8 @@ import pandas.util.testing as tm -from .common import TestData - -class TestSeriesAsof(TestData...
This is in reference to issue #22550
https://api.github.com/repos/pandas-dev/pandas/pulls/22772
2018-09-19T18:09:43Z
2018-09-23T12:37:42Z
2018-09-23T12:37:42Z
2018-09-23T21:23:38Z
CI: Publish test summary
diff --git a/ci/azure/macos.yml b/ci/azure/macos.yml index 25b66615dac7e..5bf8d18d6cbb9 100644 --- a/ci/azure/macos.yml +++ b/ci/azure/macos.yml @@ -37,3 +37,7 @@ jobs: - script: | export PATH=$HOME/miniconda3/bin:$PATH source activate pandas && pushd /tmp && python -c "import pandas; pandas.show...
xref #22766
https://api.github.com/repos/pandas-dev/pandas/pulls/22770
2018-09-19T17:53:35Z
2018-09-19T18:31:12Z
2018-09-19T18:31:11Z
2018-09-20T05:28:14Z
TST: Fixturize series/test_apply.py
diff --git a/pandas/tests/series/test_apply.py b/pandas/tests/series/test_apply.py index b717d75d835d0..20215279cf031 100644 --- a/pandas/tests/series/test_apply.py +++ b/pandas/tests/series/test_apply.py @@ -17,18 +17,18 @@ import pandas.util.testing as tm from pandas.conftest import _get_cython_table_params -from...
This is in reference to issue #22550
https://api.github.com/repos/pandas-dev/pandas/pulls/22769
2018-09-19T17:50:14Z
2018-09-23T13:42:15Z
2018-09-23T13:42:15Z
2018-09-23T13:42:19Z
DOC: fix DataFrame.isin docstring and doctests
diff --git a/ci/doctests.sh b/ci/doctests.sh index 48774a1e4d00d..b3d7f6785815a 100755 --- a/ci/doctests.sh +++ b/ci/doctests.sh @@ -21,7 +21,7 @@ if [ "$DOCTEST" ]; then # DataFrame / Series docstrings pytest --doctest-modules -v pandas/core/frame.py \ - -k"-axes -combine -isin -itertuples -join -nl...
- [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Based on #22459. Fix the docstring for DataFrame.isin. I also updated `ci/doctests.sh`.
https://api.github.com/repos/pandas-dev/pandas/pulls/22767
2018-09-19T17:20:24Z
2018-09-25T13:07:52Z
2018-09-25T13:07:52Z
2018-09-25T13:08:02Z
CI: Fix travis CI
diff --git a/.travis.yml b/.travis.yml index a180e83eeec21..40baee2c03ea0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,7 @@ matrix: # Exclude the default Python 3.5 build - python: 3.5 + include: - dist: trusty env: - JOB="3.7" ENV_FILE="ci/travis-37.yaml" TEST_ARGS="-...
I messed up in #22760 and accidentally disabled travis. cc @jreback (going to just merge this though)
https://api.github.com/repos/pandas-dev/pandas/pulls/22765
2018-09-19T15:49:10Z
2018-09-19T15:49:37Z
2018-09-19T15:49:37Z
2018-09-19T16:08:50Z
ENH: add groupby & reduce support to EA
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 3d82dd042da20..29b766e616b3b 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -48,7 +48,7 @@ Pandas has gained the ability to hold integer dtypes with missing values. This l Here is an example of t...
closes #21789 closes #22346 xref #22865
https://api.github.com/repos/pandas-dev/pandas/pulls/22762
2018-09-19T13:31:08Z
2018-10-12T12:19:59Z
2018-10-12T12:19:58Z
2018-10-12T12:31:20Z
DOC: Add cookbook entry using callable method for DataFrame.corr
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index a4dc99383a562..21c8ab4128188 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -1223,6 +1223,42 @@ Computation `Numerical integration (sample-based) of a time series <http://nbviewer.ipython.org/5720498>`__ +Correlation +******...
Provides a cookbook entry using the callable method option for `DataFrame.corr` (PR #22684) to calculate a distance correlation matrix. (Related: issue #22402)
https://api.github.com/repos/pandas-dev/pandas/pulls/22761
2018-09-19T11:19:06Z
2018-10-07T23:24:30Z
2018-10-07T23:24:30Z
2018-10-07T23:38:31Z
Set up CI with Azure Pipelines
diff --git a/.travis.yml b/.travis.yml index 76f4715a4abb2..a180e83eeec21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,11 +30,6 @@ matrix: exclude: # Exclude the default Python 3.5 build - python: 3.5 - include: - - os: osx - language: generic - env: - - JOB="3.5, OSX" ENV...
Closes https://github.com/pandas-dev/pandas/issues/22690
https://api.github.com/repos/pandas-dev/pandas/pulls/22760
2018-09-19T11:14:11Z
2018-09-19T15:42:25Z
2018-09-19T15:42:25Z
2018-09-19T16:07:11Z
ENH: Making header_style a property of ExcelFormatter #22758
diff --git a/pandas/io/formats/excel.py b/pandas/io/formats/excel.py index 0bc268bc18b95..d6fcfb2207cf9 100644 --- a/pandas/io/formats/excel.py +++ b/pandas/io/formats/excel.py @@ -34,15 +34,6 @@ def __init__(self, row, col, val, style=None, mergestart=None, self.mergeend = mergeend -header_style = {"font"...
- [y] closes #22758 - [y] tests added / passed - [y] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/22759
2018-09-19T06:27:03Z
2018-09-20T22:17:21Z
2018-09-20T22:17:21Z
2018-09-20T23:17:44Z
TST: Fixturize series/test_validate.py
diff --git a/pandas/tests/series/test_validate.py b/pandas/tests/series/test_validate.py index a0cde5f81d021..8c4b6ee5b1d75 100644 --- a/pandas/tests/series/test_validate.py +++ b/pandas/tests/series/test_validate.py @@ -1,14 +1,7 @@ -from pandas.core.series import Series - import pytest import pandas.util.testing as...
This is in reference to issue #22550
https://api.github.com/repos/pandas-dev/pandas/pulls/22756
2018-09-18T23:34:26Z
2018-09-25T12:30:34Z
2018-09-25T12:30:34Z
2018-10-03T08:47:40Z
TST: Fixturize series/test_analytics.py
diff --git a/pandas/tests/series/test_analytics.py b/pandas/tests/series/test_analytics.py index 3f14c80e77dd0..cbcfa629c8928 100644 --- a/pandas/tests/series/test_analytics.py +++ b/pandas/tests/series/test_analytics.py @@ -25,10 +25,8 @@ assert_almost_equal, assert_frame_equal, assert_index_equal, assert_se...
- [ ] This is in reference to issue #22550
https://api.github.com/repos/pandas-dev/pandas/pulls/22755
2018-09-18T22:48:49Z
2018-11-02T14:22:47Z
2018-11-02T14:22:47Z
2018-11-02T14:22:52Z
BUG: nlargest/nsmallest gave wrong result (#22752)
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 1819cfa2725db..f911d506b1f4f 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -505,14 +505,21 @@ class NSort(object): param_names = ['keep'] def setup(self, keep)...
- [X] closes #22752 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry When asking for the n largest/smallest rows in a dataframe nlargest/nsmallest sometimes failed to differentiate the correct result. I looked at the nsmallest/nlargest impl...
https://api.github.com/repos/pandas-dev/pandas/pulls/22754
2018-09-18T22:48:48Z
2018-09-25T12:58:21Z
2018-09-25T12:58:21Z
2018-09-25T12:58:36Z
BUG: read_table and read_csv crash (#22748)
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 31ef70703e2ca..9b11ae6c0054d 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -755,6 +755,7 @@ I/O - :func:`read_html()` no longer ignores all-whitespace ``<tr>`` within ``<thead>`` when consider...
A missing null-pointer check made read_table and read_csv prone to crash on badly encoded text. Add null-pointer check. - [X] closes #22748 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22750
2018-09-18T20:35:40Z
2018-09-24T03:53:10Z
2018-09-24T03:53:10Z
2018-09-24T03:53:17Z
DOC: add more links to the API in advanced.rst
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index 611afb3670ebc..835c4cc9d4ab3 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -15,7 +15,8 @@ MultiIndex / Advanced Indexing ****************************** -This section covers indexing with a ``MultiIndex`` and :ref:`more adva...
Links were added to ``advanced.rst`` in #22671, but after reading the docs over agian, there still are some links missing and some are strangely placed. Changes consist mainly of: * add links for first-time encounters for more methods * make fewer links to DataFrame.xs (only keep first link * Moved some links from...
https://api.github.com/repos/pandas-dev/pandas/pulls/22746
2018-09-18T19:37:24Z
2018-09-19T14:39:47Z
2018-09-19T14:39:47Z
2018-09-19T16:41:40Z
Git version
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 649629714c3b1..7fb87d31fb469 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -185,7 +185,7 @@ Other Enhancements - :class:`Resampler` now is iterable like :class:`GroupBy` (:issue:`15314`). - :me...
Finished off the work largely completed in this pull request: #21680 - [y] closes #21295 - [y] tests added / passed - [y] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [y] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22745
2018-09-18T18:57:05Z
2018-09-19T14:23:27Z
2018-09-19T14:23:27Z
2018-10-09T18:43:34Z
CLN: Remove some unused imports in pyx files
diff --git a/pandas/_libs/sparse.pyx b/pandas/_libs/sparse.pyx index 2993114a668bb..d852711d3b707 100644 --- a/pandas/_libs/sparse.pyx +++ b/pandas/_libs/sparse.pyx @@ -1,7 +1,4 @@ # -*- coding: utf-8 -*- -import operator -import sys - import cython import numpy as np diff --git a/pandas/_libs/tslib.pyx b/pandas/_...
Removing some unused imports according to PyCharm.
https://api.github.com/repos/pandas-dev/pandas/pulls/22739
2018-09-18T04:51:44Z
2018-09-18T11:10:57Z
2018-09-18T11:10:57Z
2018-09-18T15:13:57Z
Fixturize tests/frame/test_api and tests/sparse/frame/test_frame
diff --git a/pandas/tests/frame/test_api.py b/pandas/tests/frame/test_api.py index 78a19029db567..35f2f566ef85e 100644 --- a/pandas/tests/frame/test_api.py +++ b/pandas/tests/frame/test_api.py @@ -24,8 +24,6 @@ import pandas.util.testing as tm -from pandas.tests.frame.common import TestData - class SharedWithSp...
- [x] split off from #22730 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` `tests/frame/test_api` was easy enough to fixturize, but I ran into problems because some tests (notably those in `SharedWithSparse`) are also used in `tests/sparse/frame/test_frame`, and th...
https://api.github.com/repos/pandas-dev/pandas/pulls/22738
2018-09-17T23:32:06Z
2018-09-18T14:33:56Z
2018-09-18T14:33:56Z
2018-09-23T15:52:45Z
CLN: Removes module pandas.json
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 649629714c3b1..34eb5d8d7ed0f 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -577,6 +577,7 @@ Removal of prior version deprecations/changes - Removed the ``pandas.formats.style`` shim for :class:`...
- [x] closes #19944 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I'm just not sure about which file should I add my changes in whatsnew, can anyone help me with that?
https://api.github.com/repos/pandas-dev/pandas/pulls/22737
2018-09-17T22:15:15Z
2018-09-18T11:15:25Z
2018-09-18T11:15:25Z
2018-09-18T11:15:59Z
Fixturize tests/frame/test_arithmetic
diff --git a/pandas/tests/frame/conftest.py b/pandas/tests/frame/conftest.py index fdedb93835d75..4a4ce4540b9d5 100644 --- a/pandas/tests/frame/conftest.py +++ b/pandas/tests/frame/conftest.py @@ -70,9 +70,10 @@ def mixed_float_frame(): Columns are ['A', 'B', 'C', 'D']. """ df = DataFrame(tm.getSeriesDat...
Split off from #22730 as per review from @WillAyd The changes in `conftest.py` are due to the following: > In translating the quasi-fixtures from `TestData` to `conftest` in #22236, I sorted the dtypes for the columns of `mixed_float_frame` and `mixed_int_frame`, which turns out to have been a mistake. This is rev...
https://api.github.com/repos/pandas-dev/pandas/pulls/22736
2018-09-17T20:41:00Z
2018-09-26T10:05:38Z
2018-09-26T10:05:37Z
2018-10-05T16:22:15Z
Fixturize tests/frame/test_apply
diff --git a/pandas/tests/frame/test_apply.py b/pandas/tests/frame/test_apply.py index 7b71240a34b5c..e27115cfc255b 100644 --- a/pandas/tests/frame/test_apply.py +++ b/pandas/tests/frame/test_apply.py @@ -23,25 +23,36 @@ assert_frame_equal) import pandas.util.testing as tm from panda...
Split off from #22730 as per review from @WillAyd
https://api.github.com/repos/pandas-dev/pandas/pulls/22735
2018-09-17T20:29:52Z
2018-09-23T18:28:40Z
2018-09-23T18:28:40Z
2018-09-23T21:21:48Z
removing superfluous reference to axis in Series.reorder_levels docst…
diff --git a/pandas/core/series.py b/pandas/core/series.py index a4d403e4bcd94..ba34a3e95e5d3 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2886,7 +2886,6 @@ def reorder_levels(self, order): ---------- order : list of int representing new level order. (reference le...
Hi, I removed the superfluous reference to axis in Series.reorder_levels docstring. - [ ] xref #22627 - [x] tests added / passed (doesn't apply) - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry (doesn't apply, only removed a line in the docstring)
https://api.github.com/repos/pandas-dev/pandas/pulls/22734
2018-09-17T16:17:31Z
2018-09-17T17:10:25Z
2018-09-17T17:10:25Z
2018-09-17T17:10:35Z
TST/CLN: Fixturize frame/test_analytics
diff --git a/pandas/tests/frame/conftest.py b/pandas/tests/frame/conftest.py index 4a4ce4540b9d5..348331fc0ccdf 100644 --- a/pandas/tests/frame/conftest.py +++ b/pandas/tests/frame/conftest.py @@ -17,6 +17,20 @@ def float_frame(): return DataFrame(tm.getSeriesData()) +@pytest.fixture +def float_frame_with_na()...
- [x] 1 step closer towards #22471 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` This module is **much** harder to fixturize than e.g. #22236 or #22730, mainly due to the class methods `_check_stat_op` and `_check_bool_op`, which, despite having an argument for the...
https://api.github.com/repos/pandas-dev/pandas/pulls/22733
2018-09-17T01:03:20Z
2018-10-06T15:50:20Z
2018-10-06T15:50:20Z
2018-10-09T16:26:30Z
DOC: Fix Series nsmallest and nlargest docstring/doctests
diff --git a/ci/doctests.sh b/ci/doctests.sh index 2af5dbd26aeb1..2b5edc5aa1172 100755 --- a/ci/doctests.sh +++ b/ci/doctests.sh @@ -28,7 +28,7 @@ if [ "$DOCTEST" ]; then fi pytest --doctest-modules -v pandas/core/series.py \ - -k"-nlargest -nonzero -nsmallest -reindex -searchsorted -to_dict" + ...
- [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Based on #22459. Fix the docstring for Series.nsmallest and Series.nlargest. I did both together since the same example could be used. I removed both from the skipped doctests in `ci/doctests.sh`. I also found out abo...
https://api.github.com/repos/pandas-dev/pandas/pulls/22731
2018-09-17T00:51:52Z
2018-09-18T13:58:22Z
2018-09-18T13:58:22Z
2018-09-18T15:04:12Z
CLN: res/exp and GH references in frame tests
diff --git a/pandas/tests/frame/test_analytics.py b/pandas/tests/frame/test_analytics.py index 5327e3fcbea76..66bbc1f1a649b 100644 --- a/pandas/tests/frame/test_analytics.py +++ b/pandas/tests/frame/test_analytics.py @@ -340,7 +340,7 @@ def test_corr_cov_independent_index_column(self): assert result.index....
EDIT2: reverted import-related clean-up due to https://github.com/pandas-dev/pandas/pull/22730#issuecomment-423844217 EDIT: after review by @WillAyd, the fixturization was split out to #22735, #22736 and #22738. Now contains only the following clean-ups, also for #22733: * Replace instances of pd. with direct impor...
https://api.github.com/repos/pandas-dev/pandas/pulls/22730
2018-09-17T00:29:23Z
2018-10-08T03:26:01Z
2018-10-08T03:26:01Z
2018-10-08T17:09:21Z
CLN/DOC: Refactor timeseries.rst intro and overview
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 5dfac98d069e7..71bc064ffb0c2 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -21,51 +21,59 @@ Time Series / Date functionality ******************************** -pandas has proven very successful as a tool for working ...
Refactoring `timeseries.rst` introduction and overview to give a better introduction into pandas timeseries functionality: - Introduce a wider range of examples - Overview all scalar and array classes, related data types, and range methods, and `NaT` in the beginning
https://api.github.com/repos/pandas-dev/pandas/pulls/22728
2018-09-16T06:06:56Z
2018-09-17T19:10:56Z
2018-09-17T19:10:56Z
2018-09-17T19:11:15Z
CLN: io/formats/html.py: refactor
diff --git a/pandas/io/formats/html.py b/pandas/io/formats/html.py index 967e5fca5f711..bc2de210df3f4 100644 --- a/pandas/io/formats/html.py +++ b/pandas/io/formats/html.py @@ -78,7 +78,7 @@ def _write_cell(self, s, kind='td', indent=0, tags=None): self.write(u'{start}{rs}</{kind}>' .format...
- [N/A ] follow on from #20341 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [N/A ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22726
2018-09-16T01:04:57Z
2018-11-18T22:32:00Z
2018-11-18T22:32:00Z
2018-11-19T00:14:48Z
CLN/ERR: str.cat internals
diff --git a/pandas/core/strings.py b/pandas/core/strings.py index 5a23951145cb4..4086021bc61a6 100644 --- a/pandas/core/strings.py +++ b/pandas/core/strings.py @@ -3,8 +3,9 @@ from pandas.compat import zip from pandas.core.dtypes.generic import ABCSeries, ABCIndex -from pandas.core.dtypes.missing import isna, notn...
This is mainly a clean-up of internal methods for `str.cat` that I didn't want to touch within #20347. ~~As a side benefit of changing the implementation, this also solves #22721. Finally, I've also added a better message for TypeErrors (closes #22722)~~ ~~closes #22721~~ ~~closes #22722~~ - [x] tests modified ...
https://api.github.com/repos/pandas-dev/pandas/pulls/22725
2018-09-16T00:11:27Z
2018-10-14T21:54:51Z
2018-10-14T21:54:51Z
2018-10-15T18:29:13Z
TST/CLN: remove duplicate data file used in tests (unicode_series.csv)
https://github.com/pandas-dev/pandas/pull/22723.diff
- [N/A ] closes #xxxx - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ N/A] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22723
2018-09-15T17:17:29Z
2018-09-18T11:17:21Z
2018-09-18T11:17:21Z
2018-09-18T14:25:43Z
DOC: Fix broken link in install.rst
diff --git a/doc/source/install.rst b/doc/source/install.rst index 4640da8b8239a..7a846c817aee2 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -270,7 +270,7 @@ Optional Dependencies * For Excel I/O: * `xlrd/xlwt <http://www.python-excel.org/>`__: Excel reading (xlrd) and writing (xlwt) - ...
Firstly, the link was like `http://https://`; secondly, `/en/default/` endpoint now returns "Permission denied" error (not sure whether it was different before).
https://api.github.com/repos/pandas-dev/pandas/pulls/22716
2018-09-14T22:21:57Z
2018-09-15T12:01:10Z
2018-09-15T12:01:10Z
2018-09-15T14:17:08Z
TST: Mock clipboard IO
diff --git a/pandas/tests/io/test_clipboard.py b/pandas/tests/io/test_clipboard.py index a6b331685e72a..bb73c6bc6b38b 100644 --- a/pandas/tests/io/test_clipboard.py +++ b/pandas/tests/io/test_clipboard.py @@ -13,7 +13,6 @@ from pandas.util import testing as tm from pandas.util.testing import makeCustomDataframe as mk...
No idea if this will work on not.
https://api.github.com/repos/pandas-dev/pandas/pulls/22715
2018-09-14T20:51:46Z
2018-09-16T19:39:53Z
2018-09-16T19:39:53Z
2018-09-16T19:39:53Z
BUG: Empty CategoricalIndex fails with boolean categories
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 487d5d0d2accd..6f8646f12cafc 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -616,6 +616,7 @@ Categorical ^^^^^^^^^^^ - Bug in :meth:`Categorical.from_codes` where ``NaN`` values in ``codes`` w...
Fixes #22702. This bug was introduced in [7818486859d1aba53](https://github.com/pandas-dev/pandas/commit/7818486859d1aba53ce359b93cfc772e688958e5); per [my comment](https://github.com/pandas-dev/pandas/issues/22702#issuecomment-421364087), the problem is here: ```python if not is_dtype_equal(values.dtype, ca...
https://api.github.com/repos/pandas-dev/pandas/pulls/22710
2018-09-14T14:02:41Z
2018-09-20T13:40:11Z
2018-09-20T13:40:10Z
2018-09-20T13:40:13Z
Support writing CSV to GCS
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 9b70dd4ba549f..c196169cb82d5 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -174,7 +174,7 @@ Other Enhancements - :func:`to_csv` now supports ``compression`` keyword when a file handle is passed....
- [x] fixes #23094 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This seems to work as-is and doesn't break any of the IO tests; as I mentioned in https://github.com/pandas-dev/pandas/issues/8508#issuecomment-421184687 getting S3 to work is a...
https://api.github.com/repos/pandas-dev/pandas/pulls/22704
2018-09-14T00:08:30Z
2018-10-12T22:23:57Z
2018-10-12T22:23:57Z
2019-08-16T11:23:01Z
TST: Fail on warning
diff --git a/.travis.yml b/.travis.yml index 32e6d2eae90a7..76f4715a4abb2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,7 +64,7 @@ matrix: # In allow_failures - dist: trusty env: - - JOB="3.6, NumPy dev" ENV_FILE="ci/travis-36-numpydev.yaml" TEST_ARGS="--skip-slow --skip-network" PANDAS_TEST...
Sets our pytest config to fail on unhandled warnings. Fixes a bunch of tests to not fail. This still has a few TODOs. Closes https://github.com/pandas-dev/pandas/issues/16481 Closes https://github.com/pandas-dev/pandas/issues/19677 Closes https://github.com/pandas-dev/pandas/issues/13962 Closes https://gith...
https://api.github.com/repos/pandas-dev/pandas/pulls/22699
2018-09-13T20:03:15Z
2018-09-18T16:52:01Z
2018-09-18T16:52:00Z
2018-09-18T16:52:05Z
API/DEPR: 'periods' argument instead of 'n' for DatetimeIndex.shift()
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 9e2c20c78f489..0511688543dc4 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -561,6 +561,7 @@ Deprecations - :meth:`Series.str.cat` has deprecated using arbitrary list-likes *within* list-likes. A...
- [x] closes #22458 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry In order to be consistent with `Index.shift` & `Series.shift`, `n` argument was deprecated in favor of `periods`. ``` In [2]: idx = pd.DatetimeIndex(start='2014-08-01 10:00...
https://api.github.com/repos/pandas-dev/pandas/pulls/22697
2018-09-13T17:47:41Z
2018-09-20T22:18:31Z
2018-09-20T22:18:31Z
2018-09-22T17:55:45Z
BUG: fix DataFrame+DataFrame op with timedelta64 dtype
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 851c1a3fbd6e9..a240f1fd85dd0 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -666,7 +666,7 @@ Timedelta - Bug in :class:`Index` with numeric dtype when multiplying or dividing an array with dtype ...
<s>Needs whatsnew note.</s> This has the benefit of looking a lot like the SparseDataframe._combine_frame implementation. With luck we can de-duplicate those at some point. Likely to be a perf hit for non-td64 dtypes. One option would be to use dispatch_to_series more selectively, but that gets complicated in a...
https://api.github.com/repos/pandas-dev/pandas/pulls/22696
2018-09-13T17:27:58Z
2018-10-02T21:22:53Z
2018-10-02T21:22:53Z
2018-10-12T16:48:29Z
BUG: Incorrect addition of Week(weekday=6) to DatetimeIndex
diff --git a/pandas/tests/arithmetic/test_datetime64.py b/pandas/tests/arithmetic/test_datetime64.py index a3fa4e6b88256..b19cc61a2999e 100644 --- a/pandas/tests/arithmetic/test_datetime64.py +++ b/pandas/tests/arithmetic/test_datetime64.py @@ -1764,6 +1764,7 @@ def test_dt64_with_DateOffsets_relativedelta(klass): ...
- [ ] closes #22465 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/22695
2018-09-13T17:17:07Z
2018-09-14T11:13:50Z
2018-09-14T11:13:50Z
2018-09-15T14:25:45Z
TST: Test for bug fixed during #22534 discussion
diff --git a/pandas/tests/frame/test_arithmetic.py b/pandas/tests/frame/test_arithmetic.py index a6f4e0e38ec5d..9c61f13b944ea 100644 --- a/pandas/tests/frame/test_arithmetic.py +++ b/pandas/tests/frame/test_arithmetic.py @@ -100,6 +100,18 @@ def test_df_flex_cmp_constant_return_types_empty(self, opname): # Arithmetic ...
In the course of profiling #22534 a bug was found, but that PR was made redundant and the bug fixed in master. This just adds a test for that bug.
https://api.github.com/repos/pandas-dev/pandas/pulls/22694
2018-09-13T16:48:39Z
2018-09-15T11:55:18Z
2018-09-15T11:55:18Z
2018-09-15T15:07:52Z