title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
updated_at
stringlengths
20
20
CLN: removes cython implementation of groupby count
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index cb237b93c70ba..e81aaebe77807 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4562,7 +4562,7 @@ def _count_level(self, level, axis=0, numeric_only=False): level_index = count_axis.levels[level] labels = com._ensure_int64(...
https://api.github.com/repos/pandas-dev/pandas/pulls/11013
2015-09-05T22:48:36Z
2015-09-07T20:30:05Z
2015-09-07T20:30:05Z
2015-09-08T01:37:28Z
DOC: Docstring Redesign to fix the problem of unexpected keyword arg (issue10888)
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 38c5593e5911a..edf03db309120 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -1033,7 +1033,7 @@ Bug Fixes - Bug in vectorised setting of timestamp columns with python ``datetime.date`` and numpy `...
Fixed issue #10888
https://api.github.com/repos/pandas-dev/pandas/pulls/11011
2015-09-05T21:24:50Z
2015-09-09T14:55:53Z
2015-09-09T14:55:53Z
2015-09-09T15:04:00Z
TST: corrected URL for newly added Excel test data file
diff --git a/pandas/io/tests/test_excel.py b/pandas/io/tests/test_excel.py index 073fc55357df7..d8ef68b78b581 100644 --- a/pandas/io/tests/test_excel.py +++ b/pandas/io/tests/test_excel.py @@ -415,11 +415,8 @@ def test_read_xlrd_Book(self): @tm.network def test_read_from_http_url(self): - # TODO: rem...
There was one small thing overlooked when merging PR #10964: the url of the renamed test file was still pointing to my repo instead of pydata/pandas.
https://api.github.com/repos/pandas-dev/pandas/pulls/11009
2015-09-05T20:12:55Z
2015-09-05T20:20:06Z
null
2015-09-05T20:20:06Z
BUG: Bug in pickling of a non-regular freq DatetimeIndex #11002
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 68d3861599cbd..1a31f38b585cf 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -894,7 +894,7 @@ Bug Fixes - Bug in clearing the cache on ``DataFrame.pop`` and a subsequent inplace op (:issue:`10912`...
closes #11002
https://api.github.com/repos/pandas-dev/pandas/pulls/11006
2015-09-05T18:27:44Z
2015-09-05T23:22:57Z
2015-09-05T23:22:57Z
2015-09-05T23:22:57Z
DOC: consistent doc-string with function declaration, added missing param doc-string for sql.py
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index c0b69e435f494..2ed0126505c41 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -143,8 +143,8 @@ def execute(sql, con, cur=None, params=None): Using SQLAlchemy makes it possible to use any DB supported by that library. If a DBAPI2 ob...
Added default values for params in doc-string and added missing param doc-string that are needed for new users.
https://api.github.com/repos/pandas-dev/pandas/pulls/11004
2015-09-05T18:15:57Z
2015-09-05T18:38:17Z
2015-09-05T18:38:17Z
2015-09-05T18:39:41Z
ENH: add Series.astype with the new tz dtype
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index dd13e8fabf0e9..7e96fdad29193 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -1753,22 +1753,56 @@ TZ aware Dtypes .. versionadded:: 0.17.0 -``Series/DatetimeIndex`` with a timezone naive value are represented with a ...
add ability to astype using the new dtype
https://api.github.com/repos/pandas-dev/pandas/pulls/11003
2015-09-05T18:15:55Z
2015-09-07T20:20:50Z
2015-09-07T20:20:50Z
2015-09-07T20:20:50Z
ENH: Reduce for loops in df.corr(method='kendall')
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index c5c0f9e82fa94..355d03ae43c15 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -116,14 +116,14 @@ copy : boolean, default True If False, do not copy data unnecessarily indicator : boolean or string, default False - If True, adds a co...
Reduce `for` loops in `df.corr(method='kendall')` Don't need to loop through lower triangle of the matrix.
https://api.github.com/repos/pandas-dev/pandas/pulls/11000
2015-09-05T12:44:43Z
2015-10-18T14:04:11Z
null
2017-08-25T04:52:52Z
DOC: fix NaNs in categories
diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst index 534ab0e343398..ddd4fb81ed1f1 100644 --- a/doc/source/categorical.rst +++ b/doc/source/categorical.rst @@ -149,8 +149,8 @@ Using ``.describe()`` on categorical data will produce similar output to a `Seri .. ipython:: python - cat = pd.Cat...
Fix warning + error in the categorical docs
https://api.github.com/repos/pandas-dev/pandas/pulls/10999
2015-09-05T11:43:32Z
2015-09-05T14:17:28Z
2015-09-05T14:17:28Z
2015-09-05T14:17:28Z
asv bench cleanup - groupby
diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py index f1ac09b8b2516..138977a29463e 100644 --- a/asv_bench/benchmarks/groupby.py +++ b/asv_bench/benchmarks/groupby.py @@ -3,7 +3,7 @@ from itertools import product -class groupby_agg_builtins1(object): +class groupby_agg_builtins(object...
Clean-up of the groupby benchmarks. This is an example of how they can be cleaned up (grouping benchmarks with the same setup in common classes, removing a lot of the setup functions in this way)
https://api.github.com/repos/pandas-dev/pandas/pulls/10998
2015-09-05T11:37:01Z
2015-09-12T23:46:46Z
2015-09-12T23:46:46Z
2015-09-13T00:29:16Z
DOC: Update pip reference links
diff --git a/README.md b/README.md index 947dfc5928249..fbac24a34bfd2 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ cloning the git repo), execute: python setup.py install ``` -or for installing in [development mode](http://www.pip-installer.org/en/latest/usage.html): +or for installing in [development...
Change to link to https://pip.pypa.io/en/latest/reference/pip_install.html#editable-installs
https://api.github.com/repos/pandas-dev/pandas/pulls/10997
2015-09-05T03:21:30Z
2015-09-05T10:09:02Z
2015-09-05T10:09:02Z
2017-08-25T04:52:33Z
DOC: Improve reindex examples and docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d3a63f9f5d851..f2a724361df4a 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1775,7 +1775,9 @@ def sort_index(self, axis=0, level=None, ascending=True, inplace=False, New labels / index to conform to. Preferably an Inde...
Fixes https://github.com/pydata/pandas/issues/10995 Done/waiting for feedback.
https://api.github.com/repos/pandas-dev/pandas/pulls/10996
2015-09-04T22:09:10Z
2015-10-26T12:04:00Z
2015-10-26T12:04:00Z
2015-10-26T12:04:04Z
BUG: pivot_table with margins=True fails for categorical dtype, #10989
diff --git a/pandas/tools/pivot.py b/pandas/tools/pivot.py index 89fe9463282b6..a4a175fb75716 100644 --- a/pandas/tools/pivot.py +++ b/pandas/tools/pivot.py @@ -159,6 +159,20 @@ def _add_margins(table, data, values, rows, cols, aggfunc): grand_margin = _compute_grand_margin(data, values, aggfunc) + # catego...
This is a fix for the issue reported in #10989. I suspect this is an example of "fixing the symptom" rather than "fixing the problem", but I think it makes clear what the source of the problem is: to compute margins, the pivot table must add a row and/or column to the result. If the index or column is categorical, a ne...
https://api.github.com/repos/pandas-dev/pandas/pulls/10993
2015-09-04T20:00:17Z
2015-10-20T17:29:50Z
null
2015-10-20T17:29:50Z
Revising the HDF5 docs a bit, added another level to the toc
diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template index fb63d0c6d66f1..f4469482ec290 100644 --- a/doc/source/index.rst.template +++ b/doc/source/index.rst.template @@ -107,7 +107,7 @@ See the package overview for more detail about what's in the library. .. toctree:: - :maxdepth: 3 + ...
- makes the toc 4 levels - increases the width of the side bar a bit - increases the overall width just a bit ![io tools text csv hdf5 pandas 0 16 2 557 g23b9715 documentation](https://cloud.githubusercontent.com/assets/953992/9696820/5bbb9528-5346-11e5-8e52-15759d02257a.png) ![io tools text csv hdf5 pandas 0 16 2 557...
https://api.github.com/repos/pandas-dev/pandas/pulls/10992
2015-09-04T19:16:02Z
2015-09-05T14:19:49Z
2015-09-05T14:19:49Z
2015-09-05T14:19:49Z
ENH: Added warning when excel file contains duplicate column names
diff --git a/pandas/io/excel.py b/pandas/io/excel.py index d5258cb32e6e0..8f1025ff59b1d 100644 --- a/pandas/io/excel.py +++ b/pandas/io/excel.py @@ -309,6 +309,9 @@ def _excel2num(x): cols.append(_excel2num(rng)) return cols + if len(parse_cols) != len(set(parse_cols)): + ...
See #10970 and #10982. Users face bugs but no informative errors are given. This should warn them and inform them what might be wrong.
https://api.github.com/repos/pandas-dev/pandas/pulls/10991
2015-09-04T17:40:16Z
2015-09-05T17:59:11Z
null
2015-09-05T18:24:05Z
COMPAT/TST: fix group_info dtype issues, xref #10981
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index f42825a11933b..7a5770d3968ec 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -1793,13 +1793,13 @@ def indices(self): @cache_readonly def group_info(self): ngroups = self.ngroups - obs_group_ids = np.arange(n...
closes #10981
https://api.github.com/repos/pandas-dev/pandas/pulls/10988
2015-09-04T14:09:13Z
2015-09-04T15:34:30Z
2015-09-04T15:34:30Z
2015-09-13T20:00:25Z
TST: test_nanops turns off bottneck for all tests after
diff --git a/pandas/stats/tests/test_moments.py b/pandas/stats/tests/test_moments.py index bb6cb5a444dd9..3615cc3dc8ad8 100644 --- a/pandas/stats/tests/test_moments.py +++ b/pandas/stats/tests/test_moments.py @@ -842,6 +842,44 @@ def no_nans(x): _consistency_data = _create_consistency_data() class TestMomentsConsis...
xref #9422
https://api.github.com/repos/pandas-dev/pandas/pulls/10986
2015-09-04T03:26:51Z
2015-09-04T12:57:48Z
2015-09-04T12:57:48Z
2015-09-04T12:57:48Z
ENH: Added skipcols option for CParser
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index 9ad992c434984..103ab2e06b115 100755 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -157,6 +157,8 @@ class ParserWarning(Warning): usecols : array-like Return a subset of the columns. Results in much faster parsing time and lower memory ...
See #10882 But I am having trouble testing this change. When I run `nosetests pandas/io/tests/test_parsers.py`, it says `Segmentation fault: 11` and this pops up `Python quit unexpectedly while using the parser.so plug-in.` Any ideas of how to deal with this?
https://api.github.com/repos/pandas-dev/pandas/pulls/10985
2015-09-04T03:01:12Z
2015-10-18T14:03:47Z
null
2015-10-18T14:03:47Z
TST/DOC #10846 Test and document use of SQLAlchemy expressions in read_sql()
diff --git a/doc/source/io.rst b/doc/source/io.rst index 5ad9af310225d..c05b2555dfeda 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3918,6 +3918,42 @@ connecting to. For more information see the examples the SQLAlchemy `documentation <http://docs.sqlalchemy.org/en/rel_0_9/core/engines.html>`__ +Advanc...
This provides 2 tests using SQLALchemy expressions to read SQL data into a dataframe and accompanying documentation. It attempts to address #10846 by explaining how this feature is already supported by pandas. Closes #10846
https://api.github.com/repos/pandas-dev/pandas/pulls/10983
2015-09-03T16:18:35Z
2015-09-22T12:45:07Z
2015-09-22T12:45:07Z
2015-09-22T12:45:07Z
DOC: Examples for Series.apply docstring
diff --git a/pandas/core/series.py b/pandas/core/series.py index 2890730956c75..116ae9f31b5a4 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2064,13 +2064,84 @@ def apply(self, func, convert_dtype=True, args=(), **kwds): Positional arguments to pass to function in addition to the value ...
I thought it might be nice to have some examples showing how to pass custom functions and functions with additional keywords.
https://api.github.com/repos/pandas-dev/pandas/pulls/10977
2015-09-03T00:07:23Z
2015-09-04T22:18:42Z
2015-09-04T22:18:42Z
2015-09-04T22:18:51Z
CLN: removes BinGrouper kind of cython methods
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 534117b8e9249..caa5d83da6b87 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -1793,17 +1793,25 @@ def indices(self): def group_info(self): ngroups = self.ngroups obs_group_ids = np.arange(ngroups) - comp...
https://api.github.com/repos/pandas-dev/pandas/pulls/10976
2015-09-02T23:55:08Z
2015-09-03T13:02:09Z
2015-09-03T13:02:09Z
2015-09-04T18:40:03Z
BUG: DataFrame constructor should not promote complex64 dtypes (GH10952)
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 31b6bb0d5575d..270d365e19570 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -866,3 +866,4 @@ Bug Fixes - Bug in plotting functions may raise ``IndexError`` when plotted on ``GridSpec`` (:issue:`1...
Addresses [GH10952](https://github.com/pydata/pandas/issues/10952). When passing an array with complex64 dtype to the DataFrame constructor, that array will no longer be automatically promoted to the complex128 dtype (different complex dtypes are now allowed).
https://api.github.com/repos/pandas-dev/pandas/pulls/10975
2015-09-02T22:47:14Z
2015-09-03T13:25:23Z
null
2015-09-03T18:16:19Z
BUG: repr of Periods in a Series is broken
diff --git a/pandas/core/format.py b/pandas/core/format.py index d463c02dd41a2..818391d6eec23 100644 --- a/pandas/core/format.py +++ b/pandas/core/format.py @@ -2106,7 +2106,7 @@ def _format_strings(self): class PeriodArrayFormatter(IntArrayFormatter): def _format_strings(self): - values = np.array(self....
Closes #10971. It is caused by #10718.
https://api.github.com/repos/pandas-dev/pandas/pulls/10974
2015-09-02T21:57:36Z
2015-09-03T15:18:09Z
2015-09-03T15:18:09Z
2015-09-03T20:39:24Z
COMPAT: remove SettingWithCopy warning, and use copy-on-write, #10954
diff --git a/pandas/core/common.py b/pandas/core/common.py index 77536fb391f93..492025426f59a 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -26,15 +26,12 @@ class PandasError(Exception): pass - -class SettingWithCopyError(ValueError): +class SettingImmutableError(ValueError): pass - -...
closes #10954 - deprecates the option `mode.chained_assignment` as its now unused (it shows the deprecation if you are explicity using it, more friendly this way). - deprecate `NDFrame.is_copy` property - remove `SettingWithCopyWarning` entirely TODO: - [ ] some systematic testing of the chaining might help (e.g. iter...
https://api.github.com/repos/pandas-dev/pandas/pulls/10973
2015-09-02T20:56:46Z
2015-11-02T12:05:08Z
null
2020-09-06T18:46:29Z
DOC: Consistent variable names (sheetname vs sheet_name, issue 10559)
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index 359ec76533520..1057cfc4745e6 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -774,7 +774,7 @@ Writing to an excel file .. ipython:: python - df.to_excel('foo.xlsx', sheet_name='Sheet1') + df.to_excel('foo.xlsx', sheetname='Sheet1') ...
See issue #10559. Done testing after the changes.
https://api.github.com/repos/pandas-dev/pandas/pulls/10969
2015-09-02T03:25:15Z
2015-09-04T03:07:52Z
null
2015-09-04T03:07:57Z
DOC: Added default values in parsers.py doc-string
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index 9ad992c434984..6801e8935e079 100755 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -54,7 +54,7 @@ class ParserWarning(Warning): Skip spaces after delimiter escapechar : string (length 1), default None One-character string used to escape...
Function declaration contains default values for many of the parameters but the default values are not specified in the doc.
https://api.github.com/repos/pandas-dev/pandas/pulls/10968
2015-09-02T01:19:44Z
2015-09-02T08:51:21Z
2015-09-02T08:51:21Z
2015-09-02T13:09:57Z
ENH: read_excel MultiIndex #4679
diff --git a/doc/source/io.rst b/doc/source/io.rst index 31d0be6151ba4..f3d14b78bbf54 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1989,6 +1989,46 @@ advanced strategies Reading Excel Files ''''''''''''''''''' +.. versionadded:: 0.17 + +``read_excel`` can read a ``MultiIndex`` index, by passing a list...
closes #4679 xref #10564 Output of `to_excel` should now be fully round-trippable with `read_excel` with the right combination of `index_col` and `header`. To make the semantics match `read_csv`, an index column name (`has_index_names=True`) is always assumed if something is passed to `index_col` - this should be non...
https://api.github.com/repos/pandas-dev/pandas/pulls/10967
2015-09-02T00:25:28Z
2015-09-09T12:06:09Z
2015-09-09T12:06:09Z
2016-09-15T13:39:47Z
DOC: Add note regarding 0-len string to default NA values in IO docs
diff --git a/doc/source/io.rst b/doc/source/io.rst index 70e7154493ccf..ded314229225c 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -731,7 +731,9 @@ the corresponding equivalent values will also imply a missing value (in this cas To completely override the default values that are recognized as missing, s...
Fixes https://github.com/pydata/pandas/issues/10700
https://api.github.com/repos/pandas-dev/pandas/pulls/10965
2015-09-01T20:49:25Z
2015-09-02T08:52:40Z
2015-09-02T08:52:40Z
2015-09-02T08:52:40Z
TST: refactored Excel reader tests
diff --git a/pandas/io/tests/data/blank.xlsm b/pandas/io/tests/data/blank.xlsm new file mode 100755 index 0000000000000..c3c2074276d12 Binary files /dev/null and b/pandas/io/tests/data/blank.xlsm differ diff --git a/pandas/io/tests/data/blank_with_header.xlsm b/pandas/io/tests/data/blank_with_header.xlsm new file mode ...
This PR implements more flexible Excel (spreadsheet) reader tests. The work was originally part of the larger but unsuccessful PR #9070. This PR includes: - Excel reader base class tests to facilitate adding the similar tests for other readers - not all Excel file formats (xls, xlsm, xlsx) had a corresponding test fi...
https://api.github.com/repos/pandas-dev/pandas/pulls/10964
2015-09-01T20:32:15Z
2015-09-05T17:22:03Z
null
2015-09-05T20:24:26Z
BUG: DataFrame subplot with duplicated columns output incorrect result
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 3eed3f7ddada2..86c8aa488a7df 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -922,3 +922,4 @@ Bug Fixes - Bug in ``groupby`` incorrect computation for aggregation on ``DataFrame`` with ``NaT`` (E....
When `DataFrame` has duplicated column name, each subplot will contain all the lines with same name. ``` import pandas as pd import numpy as np df = pd.DataFrame(np.random.rand(5, 5), columns=list('aaaaa')) df.plot(subplots=True) ``` ![figure_1](https://cloud.githubusercontent.com/assets/1696302/9609047/7acba4d0-510c...
https://api.github.com/repos/pandas-dev/pandas/pulls/10962
2015-09-01T15:52:12Z
2015-09-05T02:14:54Z
2015-09-05T02:14:54Z
2015-09-05T02:14:56Z
BUG: Fixed bug that Timedelta raises error when slicing from 0s (issue #10583)
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index eae33bc80be32..fc5777ddea3f1 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -821,6 +821,7 @@ Bug Fixes - Bug in ``pd.DataFrame`` when constructing an empty DataFrame with a string dtype (:issue:`...
closes #10583
https://api.github.com/repos/pandas-dev/pandas/pulls/10960
2015-09-01T12:46:37Z
2015-09-01T19:38:53Z
2015-09-01T19:38:53Z
2015-09-01T19:39:57Z
TST: Changed pythonxs link to alternative link and mofidifed test_html (issue: 10906)
diff --git a/pandas/io/tests/test_html.py b/pandas/io/tests/test_html.py index ebdfbe5af299d..fb7ffbc6dd621 100644 --- a/pandas/io/tests/test_html.py +++ b/pandas/io/tests/test_html.py @@ -358,20 +358,16 @@ def test_negative_skiprows(self): @network def test_multiple_matches(self): - raise nose.SkipT...
See issue #10906
https://api.github.com/repos/pandas-dev/pandas/pulls/10958
2015-09-01T02:53:10Z
2015-09-01T11:03:07Z
2015-09-01T11:03:07Z
2015-09-01T13:23:33Z
BUG: Fixed bug that Timedelta raises error when slicing from 0s (issue #10583)
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 88f491ecc0bb0..65d079703e243 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -130,11 +130,10 @@ Other enhancements ^^^^^^^^^^^^^^^^^^ - `read_sql` and `to_sql` can accept database URI as con pa...
closes #10583
https://api.github.com/repos/pandas-dev/pandas/pulls/10957
2015-09-01T01:52:22Z
2015-09-01T12:47:11Z
null
2015-09-01T13:22:24Z
Add support for math functions in eval()
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 749512890d86b..d52c1d55a6c66 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -38,6 +38,7 @@ Highlights include: - Development installed versions of pandas will now have ``PEP440`` compliant versio...
closes #4893 Extends the eval parser to accept calling math functions.
https://api.github.com/repos/pandas-dev/pandas/pulls/10953
2015-08-31T17:20:37Z
2015-09-05T22:26:10Z
2015-09-05T22:26:10Z
2015-09-05T22:26:15Z
DEPR: Deprecate legacy offsets
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 6f30ff3f51ad5..4394981abb8c3 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -656,7 +656,7 @@ apply the offset to each element. rng + DateOffset(months=2) s + DateOffset(months=2) s - DateOffset(months=2) - ...
Closes #10878.
https://api.github.com/repos/pandas-dev/pandas/pulls/10951
2015-08-31T14:29:06Z
2015-09-01T11:05:56Z
2015-09-01T11:05:56Z
2015-09-01T12:22:24Z
PERF: improves performance in SeriesGroupBy.count
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 42752112a64f7..7f56b27f0eab3 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -814,6 +814,8 @@ Bug Fixes - Bug in ``BinGrouper.group_info`` where returned values are not compatible with base class ...
BUG: closes bug in Series.count when index has nulls ``` python In [4]: ts Out[4]: a 1 0 2 1 b 2 2 NaN 3 c 1 4 2 5 dtype: int64 In [5]: ts.count(level=1) Out[5]: 1 2 2 4 # <<< BUG! dtype: int64 In [6]: from string import ascii_lowercase In [7]: np.random.seed(2...
https://api.github.com/repos/pandas-dev/pandas/pulls/10946
2015-08-31T02:11:16Z
2015-09-05T16:36:53Z
null
2015-09-05T16:46:12Z
BUG: Index name lost in conv #10875
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 3e81a923a114c..834514b603a80 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -770,7 +770,7 @@ Bug Fixes - Bug in ``filter`` (regression from 0.16.0) and ``transform`` when grouping on multiple key...
Addresses #10875, when `Index` is converted via `to_datetime`, `to_timedelta` part of #9862 master issue
https://api.github.com/repos/pandas-dev/pandas/pulls/10945
2015-08-30T22:43:26Z
2015-08-31T12:18:36Z
2015-08-31T12:18:36Z
2015-08-31T23:37:24Z
Fixing column_format argument passing, #9402
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 3e81a923a114c..f6c06e5e0233f 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -727,6 +727,7 @@ Bug Fixes - Bug in incorrection computation of ``.mean()`` on ``timedelta64[ns]`` because of overflo...
closes #9402
https://api.github.com/repos/pandas-dev/pandas/pulls/10944
2015-08-30T14:48:18Z
2015-08-31T11:07:48Z
null
2015-09-01T09:17:48Z
BUG: passing columns and dict with scalar values should raise error
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index e9d39e0441055..70d70a2b76a81 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -836,3 +836,4 @@ Bug Fixes - Bug in ``to_json`` which was causing segmentation fault when serializing 0-rank ndarray (:...
Fixes [GH10856](https://github.com/pydata/pandas/issues/10856). ``` Python >>> pd.DataFrame({'a':0.1}, columns=['b']) ValueError: If using all scalar values, you must pass an index ``` Trying to raise this error was slightly trickier than I anticipated - this was the only way that didn't break existing tests. If no i...
https://api.github.com/repos/pandas-dev/pandas/pulls/10943
2015-08-30T14:41:37Z
2015-09-02T11:51:18Z
2015-09-02T11:51:18Z
2015-09-02T20:14:50Z
BUG: fixing bug in groupby_indices benchmark
diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py index a84a5373651bb..f1ac09b8b2516 100644 --- a/asv_bench/benchmarks/groupby.py +++ b/asv_bench/benchmarks/groupby.py @@ -212,7 +212,7 @@ class groupby_indices(object): def setup(self): try: self.rng = date_range('...
https://api.github.com/repos/pandas-dev/pandas/pulls/10942
2015-08-30T14:15:09Z
2015-08-31T00:56:45Z
2015-08-31T00:56:45Z
2015-08-31T00:56:49Z
Edit DOC: consistent imports (GH9886) part V
diff --git a/doc/source/merging.rst b/doc/source/merging.rst index d51c2f62b8a0c..c62647010a131 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -6,9 +6,8 @@ import numpy as np np.random.seed(123456) - from numpy import nan - from pandas import * - options.display.max_rows=15 + impo...
Updated - but no idea why this is such a messed up branch.
https://api.github.com/repos/pandas-dev/pandas/pulls/10941
2015-08-30T14:07:24Z
2015-09-01T09:17:33Z
2015-09-01T09:17:33Z
2015-09-01T09:18:15Z
DOC: consistent imports (GH9886) part V Fix of I#10934
diff --git a/doc/source/merging.rst b/doc/source/merging.rst index d51c2f62b8a0c..c62647010a131 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -6,9 +6,8 @@ import numpy as np np.random.seed(123456) - from numpy import nan - from pandas import * - options.display.max_rows=15 + impo...
I fixed my mess up from earlier.
https://api.github.com/repos/pandas-dev/pandas/pulls/10940
2015-08-30T14:01:20Z
2015-08-30T14:02:58Z
null
2015-08-30T14:03:02Z
ENH: Add Series.dt.total_seconds GH #10817
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 3e81a923a114c..b7feec3895f97 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -176,6 +176,10 @@ Other enhancements - ``pandas.tseries.offsets`` larger than the ``Day`` offset can now be used with...
Implements a Series.dt.total_seconds method for timedelta64 Series. closes #10817
https://api.github.com/repos/pandas-dev/pandas/pulls/10939
2015-08-30T12:44:17Z
2015-09-02T11:52:40Z
2015-09-02T11:52:39Z
2015-09-02T20:13:16Z
consistent imports in text.rst
diff --git a/doc/source/release.rst b/doc/source/release.rst index 2b5a5d28c3906..9580f90c29dcd 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -5,21 +5,13 @@ .. ipython:: python :suppress: - import os - import csv - from pandas.compat import StringIO import pandas as pd - ExcelWr...
https://api.github.com/repos/pandas-dev/pandas/pulls/10938
2015-08-30T12:15:18Z
2015-09-01T11:56:01Z
null
2015-09-01T11:56:01Z
updating docs for the new sorting mechanisms - GH #10886
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index 1714e00030026..359ec76533520 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -157,7 +157,7 @@ Sorting by values .. ipython:: python - df.sort(columns='B') + df.sort_values(by='B') Selection --------- @@ -680,7 +680,7 @@ Sorting ...
closes #10886 I didn't notice warnings or errors associated with those modifications when building the docs. No more `FutureWarning` either (except in a the v. 0.13 what's new, which is legit)...
https://api.github.com/repos/pandas-dev/pandas/pulls/10937
2015-08-30T11:17:01Z
2015-08-31T01:03:13Z
2015-08-31T01:03:13Z
2015-08-31T08:18:13Z
BUG: tests that can't fail
diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py index 619de8d6bad3b..950e4fc48c8e1 100644 --- a/pandas/io/tests/test_sql.py +++ b/pandas/io/tests/test_sql.py @@ -260,7 +260,7 @@ def _check_iris_loaded_frame(self, iris_frame): self.assertTrue( issubclass(pytype, np.floating...
tm.equalContent does not raise an exception, it returns a Bool. Therefore these tests need wrapping in self.assertTrue()
https://api.github.com/repos/pandas-dev/pandas/pulls/10936
2015-08-30T11:09:01Z
2015-11-02T12:07:07Z
null
2022-10-13T00:16:47Z
DOC: clarification on -b flag in asv
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index 2c9b6a0a889f4..5d26ca2414690 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -517,7 +517,7 @@ performance regressions. *pandas* is in the process of migrating to the `asv library <https://github.com/spacetelesco...
https://api.github.com/repos/pandas-dev/pandas/pulls/10935
2015-08-30T11:06:37Z
2015-08-31T01:05:17Z
2015-08-31T01:05:17Z
2015-08-31T01:05:22Z
DOC: consistent imports (GH9886) part V
diff --git a/doc/source/merging.rst b/doc/source/merging.rst index d51c2f62b8a0c..ce76d8c3abb37 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -6,9 +6,8 @@ import numpy as np np.random.seed(123456) - from numpy import nan - from pandas import * - options.display.max_rows=15 + impo...
I made a few alterations to the consistent imports in the merging.rst file. Does anyone have any objections to what I did? I notice a few problems with the rebase though first - that's 12 commits rather than one.
https://api.github.com/repos/pandas-dev/pandas/pulls/10934
2015-08-30T10:32:25Z
2015-09-01T08:55:40Z
null
2015-09-01T08:55:40Z
ENH: #10143 Function to walk the group hierarchy of a PyTables HDF5 file
diff --git a/doc/source/io.rst b/doc/source/io.rst index ded314229225c..21a5f13d65d73 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -2677,6 +2677,19 @@ everything in the sub-store and BELOW, so be *careful*. store.remove('food') store +You can walk through the group hierarchy using the ``walk`` me...
closes #10143 This implementation is inspired by os.walk and follows the interface as much as possible.
https://api.github.com/repos/pandas-dev/pandas/pulls/10932
2015-08-30T09:14:49Z
2015-10-18T14:02:48Z
null
2023-05-11T01:13:09Z
Add tests to ensure sort preserved by groupby, add docs
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index acddf1bb3fe30..b5a382ce24342 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -160,6 +160,31 @@ only verifies that you've passed a valid mapping. GroupBy operations (though can't be guaranteed to be the most efficient). You ca...
xref #9651 closes #8588 Adds test to ensure the sort of a target object is preserved within `groupby()` groups, modifies docs to make it clear sort is preserved within groups.
https://api.github.com/repos/pandas-dev/pandas/pulls/10931
2015-08-29T18:16:32Z
2015-09-05T22:20:25Z
2015-09-05T22:20:25Z
2015-09-05T22:20:28Z
fixed bug in DataFrame.diff - issue #10907
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 3e81a923a114c..70a33a6915516 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -811,6 +811,7 @@ Bug Fixes - Bug in ``read_csv`` when using the ``nrows`` or ``chunksize`` parameters if file contains ...
Fixed issue #10907
https://api.github.com/repos/pandas-dev/pandas/pulls/10930
2015-08-29T16:31:30Z
2015-09-01T11:01:58Z
null
2015-09-11T13:15:00Z
[DEPR]: Deprecate setting nans in categories
diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py index a449639f1560e..a0f9383336940 100644 --- a/asv_bench/benchmarks/categoricals.py +++ b/asv_bench/benchmarks/categoricals.py @@ -1,5 +1,5 @@ from .pandas_vb_common import * - +import string class concat_categorical(object): ...
WIP still Closes https://github.com/pydata/pandas/issues/10748 I have to run for now, but will pick this up later today. I think I'm missing a few in the tests, since the warning is showing up in a bunch of places (there's a way to convert those to errors for testing right?) I had to refactor a couple function that ...
https://api.github.com/repos/pandas-dev/pandas/pulls/10929
2015-08-29T13:22:00Z
2015-09-01T19:18:15Z
2015-09-01T19:18:14Z
2017-04-05T02:06:34Z
Updates for asv suite
diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json index 760db2086b125..239f9aa19f769 100644 --- a/asv_bench/asv.conf.json +++ b/asv_bench/asv.conf.json @@ -18,7 +18,7 @@ // If missing or the empty string, the tool will be automatically // determined by looking for tools on the PATH environment ...
@jorisvandenbossche As you requested in #10849, here's the current state of affairs. The changes are: - First patch: - Fix the translation script so that functions defined in the vbench `setup` string get defined as classmethods and called appropriately. This fixes most failing tests. - Some backwards-compatibility...
https://api.github.com/repos/pandas-dev/pandas/pulls/10928
2015-08-29T08:40:42Z
2015-08-29T22:42:36Z
2015-08-29T22:42:36Z
2015-09-01T19:25:40Z
PERF: GH10213 kth_smallest GIL release
diff --git a/asv_bench/benchmarks/gil.py b/asv_bench/benchmarks/gil.py index 556dd2c364cdf..4b82781fc39d9 100644 --- a/asv_bench/benchmarks/gil.py +++ b/asv_bench/benchmarks/gil.py @@ -298,4 +298,25 @@ def take_1d_pg2_int64(self): @test_parallel(num_threads=2) def take_1d_pg2_float64(self): - com.tak...
One tiny part of #10213 ``` import timeit setup_seq = ''' import pandas import numpy numpy.random.seed(1234) x = numpy.random.randn(10000000) a = x.copy() b = x.copy() def f(s): pandas.algos.kth_smallest(s, 500000) def seq(): f(a) f(b) ''' setup_parallel = ''' import pandas import numpy import threadi...
https://api.github.com/repos/pandas-dev/pandas/pulls/10927
2015-08-29T06:37:53Z
2015-09-02T11:49:29Z
2015-09-02T11:49:29Z
2015-09-03T19:14:47Z
BUG: Bug in incorrection computation of .mean() on timedelta64[ns] because of overflow #9442
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 1607d81543946..3e81a923a114c 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -725,6 +725,7 @@ Performance Improvements Bug Fixes ~~~~~~~~~ +- Bug in incorrection computation of ``.mean()`` on `...
closes #9442
https://api.github.com/repos/pandas-dev/pandas/pulls/10926
2015-08-29T02:03:26Z
2015-08-29T13:12:39Z
2015-08-29T13:12:39Z
2015-08-29T13:12:39Z
Revert "Revert "Merge pull request #10727 from jorisvandenbossche/sph…
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index 850f59c2713eb..1888345e1055c 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -661,18 +661,14 @@ values NOT in the categories, similarly to how you can reindex ANY pandas index. Reshaping and Comparision operations on a ``Cate...
Reverts pydata/pandas#10916
https://api.github.com/repos/pandas-dev/pandas/pulls/10925
2015-08-29T00:18:09Z
2016-01-07T01:35:44Z
null
2022-10-13T00:16:46Z
BUG: Bug in clearing the cache on DataFrame.pop and a subsequent inplace op #10912
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 71aac42b17810..0ccfa06fc8844 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -750,7 +750,7 @@ Bug Fixes - Bug in ``DataFrame.reset_index`` when index contains `NaT`. (:issue:`10388`) - Bug in ``E...
closes #10912
https://api.github.com/repos/pandas-dev/pandas/pulls/10922
2015-08-28T18:36:05Z
2015-08-28T23:28:06Z
2015-08-28T23:28:06Z
2015-08-28T23:28:06Z
DEPR: Series.nlargest/nsmallest take_last.
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index c18bedd0cf6eb..8fb738ff7d76d 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -660,6 +660,7 @@ Deprecations - ``Categorical.name`` was deprecated to make ``Categorical`` more ``numpy.ndarray`` li...
Closes #10792. Because using `deprecate_kwargs` hides original impl, used ugly workaround for `GroupBy`...
https://api.github.com/repos/pandas-dev/pandas/pulls/10920
2015-08-28T13:34:45Z
2015-08-29T00:03:43Z
2015-08-29T00:03:43Z
2015-08-29T00:10:30Z
BUG: closes bug in BinGrouper.group_info where returned values are not compatible with base class
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index c18bedd0cf6eb..d3d7fe1637900 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -747,6 +747,7 @@ Bug Fixes - Bug in ``Index`` construction with a mixed list of tuples (:issue:`10697`) - Bug in ``Dat...
closes https://github.com/pydata/pandas/issues/10914
https://api.github.com/repos/pandas-dev/pandas/pulls/10918
2015-08-28T03:24:08Z
2015-08-28T12:22:23Z
2015-08-28T12:22:23Z
2015-08-29T12:39:08Z
PERF: perf improvements in drop_duplicates for integer dtyped arrays
diff --git a/asv_bench/benchmarks/reindex.py b/asv_bench/benchmarks/reindex.py index d6fbd0d31c389..03e654b4886cc 100644 --- a/asv_bench/benchmarks/reindex.py +++ b/asv_bench/benchmarks/reindex.py @@ -61,6 +61,19 @@ def time_frame_drop_duplicates(self): self.df.drop_duplicates(['key1', 'key2']) +class fram...
no need to factorize integers when dropping duplicates. master ``` In [1]: np.random.seed(1234) In [2]: df = DataFrame({'A' : np.random.randint(0,10000,size=1000000)}) In [3]: %timeit df.drop_duplicates() 10 loops, best of 3: 36.9 ms per loop ``` PR ``` In [2]: df = DataFrame({'A' : np.random.rand...
https://api.github.com/repos/pandas-dev/pandas/pulls/10917
2015-08-28T03:14:24Z
2015-08-28T18:18:58Z
2015-08-28T18:18:58Z
2015-08-28T18:18:58Z
Revert "Merge pull request #10727 from jorisvandenbossche/sphinx-traceback
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index 1888345e1055c..850f59c2713eb 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -661,14 +661,18 @@ values NOT in the categories, similarly to how you can reindex ANY pandas index. Reshaping and Comparision operations on a ``Cate...
This reverts commit d40627398cf78347f5a49fa060bad1c40514908a, reversing changes made to bd804aa75ac9b7a55c00101dbea01571cbdfd068. @jorisvandenbossche reverting so that the docs build pls rebsumit when you can
https://api.github.com/repos/pandas-dev/pandas/pulls/10916
2015-08-28T03:06:21Z
2015-08-28T03:08:45Z
2015-08-28T03:08:45Z
2015-08-29T00:17:38Z
ERR between_time and empty pandas.Series
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index bc49e9dd79e6a..e5aab2cb97060 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3339,7 +3339,10 @@ def between_time(self, start_time, end_time, include_start=True, include_end=include_end) return self.take...
Pull request so solve issue #10897
https://api.github.com/repos/pandas-dev/pandas/pulls/10913
2015-08-27T19:09:15Z
2015-09-01T14:40:55Z
null
2015-09-01T14:40:55Z
explain how to skip rows between header & data
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 9e7b9ad0b7582..9760f18dd837a 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -971,6 +971,57 @@ Parsing date components in multi-columns is faster with a format In [36]: %timeit pd.to_datetime(ds) 1 loops, best of 3: 488...
This is the result from https://github.com/pydata/pandas/issues/10898
https://api.github.com/repos/pandas-dev/pandas/pulls/10910
2015-08-27T09:50:17Z
2015-11-10T15:29:21Z
2015-11-10T15:29:21Z
2015-11-10T15:29:29Z
PERF: imporves performance in SeriesGroupBy.value_counts
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 61500bedcdcd4..9049d8de550d0 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -721,7 +721,7 @@ Performance Improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - Added vbench benchmarks for alternative ExcelWrit...
``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- groupby_ngroups_10000_value_counts | 11.4880 | 6698.5627 | 0.00...
https://api.github.com/repos/pandas-dev/pandas/pulls/10909
2015-08-27T02:26:36Z
2015-08-27T03:16:19Z
2015-08-27T03:16:19Z
2015-08-27T11:19:39Z
API: Closes #7879: (drops not nan in panel.to_frame() by default)
diff --git a/doc/source/release.rst b/doc/source/release.rst index 6e74e2c68e44e..06f6b64c93061 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -63,6 +63,7 @@ Highlights include: - Development support for benchmarking with the `Air Speed Velocity library <https://github.com/spacetelescope/asv/>`_ (...
closes #7879 by changing API (filter_observations=True now deprecated and replaced with dropna=False)
https://api.github.com/repos/pandas-dev/pandas/pulls/10908
2015-08-26T20:10:34Z
2015-11-18T20:17:47Z
null
2015-11-18T20:17:47Z
PERF: Cythonize groupby transforms #4095
diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py index 138977a29463e..48480041ed1bd 100644 --- a/asv_bench/benchmarks/groupby.py +++ b/asv_bench/benchmarks/groupby.py @@ -772,3 +772,19 @@ def setup(self): def time_groupby_transform_series2(self): self.df.groupby('id')['val'...
closes - #4095 - adding Cythonized versions of `shift`, `cumprod` and `cumsum`, along with a helper `GroupBy._cython_transform` that other cythonized transform-ops could be added to. I'm using fused types here instead of adding to `generated.pyx` - as far as I can tell that is working well, looking back through the ol...
https://api.github.com/repos/pandas-dev/pandas/pulls/10901
2015-08-25T03:46:14Z
2015-11-16T12:37:55Z
null
2015-12-04T02:32:26Z
updated link to online documentation
diff --git a/pandas/info.py b/pandas/info.py index 754741c117289..57ecd91739eab 100644 --- a/pandas/info.py +++ b/pandas/info.py @@ -2,7 +2,7 @@ pandas - a powerful data analysis and manipulation library for Python ===================================================================== -See http://pandas.sourceforge....
https://api.github.com/repos/pandas-dev/pandas/pulls/10896
2015-08-24T17:13:34Z
2015-08-24T17:19:01Z
2015-08-24T17:19:01Z
2015-08-24T17:20:36Z
PERF: improves SeriesGroupBy.nunique performance
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index d30b7875e44b7..26fcbdca28ce7 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -679,6 +679,7 @@ Performance Improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - Added vbench benchmarks for alternative ExcelWrit...
closes https://github.com/pydata/pandas/issues/10820 on master: ``` ipython In [2]: df = pd.DataFrame({'a': np.random.randint(10000, size=100000), ...: 'b': np.random.randint(10, size=100000)}) In [3]: %timeit df.groupby('a')['b'].nunique() 1 loops, best of 3: 1.66 s per loop In [4]: %timeit d...
https://api.github.com/repos/pandas-dev/pandas/pulls/10894
2015-08-24T00:42:38Z
2015-08-24T18:33:56Z
2015-08-24T18:33:56Z
2015-11-11T16:27:48Z
DEPR: Bunch o deprecation removals part 2
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 19fe4e73f1f4d..fdbb5771aff3f 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -665,6 +665,7 @@ Deprecations ``DataFrame.add(other, fill_value=0)`` and ``DataFrame.mul(other, fill_value=1.)`` (...
- Remove the table keyword in HDFStore.put/append, in favor of using format= #4645 - Remove unused keyword `kind` in `read_excel/ExcelFile` #4712 - Remove `infer_type` keyword from `pd.read_html` as its unused, #4770, #7032 - Remove `offset` and `timeRule` keywords from `Series.tshift/shift`, in favor of `freq`, #4853...
https://api.github.com/repos/pandas-dev/pandas/pulls/10892
2015-08-23T12:44:39Z
2015-08-24T18:24:19Z
2015-08-24T18:24:19Z
2015-08-24T18:24:19Z
DEPR: Bunch o deprecation removals
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index d30b7875e44b7..7415ac01ada7a 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -37,6 +37,7 @@ Highlights include: - Support for ``Series.dt.strftime`` to generate formatted strings for datetime-like...
xref #6581 remove `colSpace` remove auto time series broadcasting, xref #2304 deprecate `TimeSeries` (forgot was not actually deprecated)
https://api.github.com/repos/pandas-dev/pandas/pulls/10890
2015-08-22T21:50:42Z
2015-08-24T18:22:38Z
2015-08-24T18:22:38Z
2015-08-24T18:22:38Z
BUG: encoding of categoricals in hdf serialization
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 9049d8de550d0..c18bedd0cf6eb 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -818,7 +818,7 @@ Bug Fixes - Bug in ``read_csv`` when using the ``nrows`` or ``chunksize`` parameters if file conta...
closes #10366 replaces #10454
https://api.github.com/repos/pandas-dev/pandas/pulls/10889
2015-08-22T20:20:30Z
2015-08-28T02:29:04Z
2015-08-28T02:29:03Z
2015-08-28T02:29:10Z
BUG: GH10885 where an edge case in date_range produces an extra point
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index d30b7875e44b7..cc8f135eb62b0 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -781,6 +781,7 @@ Bug Fixes - Bug in ``DatetimeIndex.take`` and ``TimedeltaIndex.take`` may not raise ``IndexError`` aga...
closes #10885
https://api.github.com/repos/pandas-dev/pandas/pulls/10887
2015-08-22T14:48:11Z
2015-08-24T11:37:59Z
2015-08-24T11:37:58Z
2015-08-24T13:59:27Z
BUG: 10720 - Test error message enhancement
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 6b4bde588469e..7379fc7ff9aa1 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -675,11 +675,19 @@ Performance Improvements Bug Fixes ~~~~~~~~~ - Bug in ``DataFrame.to_html(index=False)`` renders u...
Hi all. This might take a bit more work to get the error messages right, but it's a start. Let me know what you think.
https://api.github.com/repos/pandas-dev/pandas/pulls/10884
2015-08-22T09:43:52Z
2015-08-22T13:00:15Z
null
2015-08-22T13:00:15Z
ERR: better error reporting for failing parsing in timedelta/timeseries #10720
diff --git a/pandas/core/common.py b/pandas/core/common.py index 0d74a4449a5f5..090fcbdd139b5 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -1718,7 +1718,8 @@ def _interpolate_scipy_wrapper(x, y, new_x, method, fill_value=None, bounds_error=bounds_error) ...
closes #10720
https://api.github.com/repos/pandas-dev/pandas/pulls/10883
2015-08-22T09:29:37Z
2015-08-30T09:05:26Z
null
2015-08-30T09:05:33Z
ERR/DEPR: Fix quantile error message / remove percentile_width
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 6b4bde588469e..f6ce0a0c4d975 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -654,6 +654,7 @@ Removal of prior version deprecations/changes - Remove use of some deprecated numpy comparison opera...
Currently, error is raised from `numpy` and incorrect for `pandas` ``` s = pd.Series([1, 2, 3]) s.quantile(2) # File ".../numpy/lib/function_base.py", line 3078, in _percentile # raise ValueError("Percentiles must be in the range [0,100]") # ValueError: Percentiles must be in the range [0,100] ``` `describe` us...
https://api.github.com/repos/pandas-dev/pandas/pulls/10881
2015-08-21T23:32:35Z
2015-08-23T13:28:33Z
2015-08-23T13:28:33Z
2015-08-23T21:31:56Z
BUG: pd.Series.interpolate(method='spline') Errort Msg, #10633
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 77130343c9d57..0bb2ba3f9b343 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -674,11 +674,18 @@ Performance Improvements Bug Fixes ~~~~~~~~~ +<<<<<<< HEAD - Bug in ``DataFrame.to_html(index=Fa...
closed #10633 This might be able to be merged quicker than the other one.
https://api.github.com/repos/pandas-dev/pandas/pulls/10880
2015-08-21T16:18:12Z
2015-08-21T20:27:39Z
null
2015-08-21T20:27:39Z
BUG: DataFrame.plot may raise IndexError / show unnessesary minor ticklabels
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 9f2ec43cb2ae3..95209ceb5f559 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -824,3 +824,5 @@ Bug Fixes - Bug in ``DataFrame.where`` when handling Series slicing (:issue:`10218`, :issue:`9558`) -...
Closes #10657. Closes #10819. Both are related to the logic how `pandas` detects axes layout. Use current logic as much to support cases like #7457, and added error handing logic for gridspec. Following is an example notebook how the fix works. - https://gist.github.com/sinhrks/2d29e2e8ef26f2757e92 CC @TomAugspurger ...
https://api.github.com/repos/pandas-dev/pandas/pulls/10879
2015-08-21T15:54:55Z
2015-09-01T12:06:24Z
2015-09-01T12:06:24Z
2015-09-01T12:16:17Z
BUG: GH10747 where 'timestamp' is not inferred to be datetime column
diff --git a/doc/source/io.rst b/doc/source/io.rst index 2f2c4c7566413..70e7154493ccf 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1484,7 +1484,13 @@ be set to ``False`` if you need to preserve string-like numbers (e.g. '1', '2') .. note:: - Large integer values may be converted to dates if ``conver...
addresses second point of #10747
https://api.github.com/repos/pandas-dev/pandas/pulls/10876
2015-08-21T08:33:29Z
2015-08-24T11:36:30Z
2015-08-24T11:36:30Z
2015-08-24T11:36:30Z
PERF: uses bincount instead of hash table in categorical value counts
diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py index 34caef221a340..80b277336df7a 100644 --- a/asv_bench/benchmarks/categoricals.py +++ b/asv_bench/benchmarks/categoricals.py @@ -8,4 +8,20 @@ def setup(self): self.s = pd.Series((list('aabbcd') * 1000000)).astype('categ...
closes https://github.com/pydata/pandas/issues/10804 ``` ipython In [1]: np.random.seed(2718281) In [2]: n = 500000 In [3]: u = int(0.1*n) In [4]: arr = ["s%04d" % i for i in np.random.randint(0, u, size=n)] In [5]: ts = pd.Series(arr).astype('category') In [6]: %timeit ts.value_counts() 10 loops, best of 3: 82.7...
https://api.github.com/repos/pandas-dev/pandas/pulls/10874
2015-08-21T00:40:06Z
2015-08-22T20:03:01Z
2015-08-22T20:03:01Z
2015-08-22T20:28:02Z
CLN: Series.asof uses reindex GH10343
diff --git a/pandas/core/index.py b/pandas/core/index.py index 7b5a6b199bc1b..7d6d044b9d5e2 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -1316,22 +1316,6 @@ def asof(self, label): loc = loc.indices(len(self))[-1] return self[loc] - def asof_locs(self, where, mask): ...
closes #10343 as discussed in #10345 , changed `Series.asof` to use `reindex` internally, and remove the unused leftovers from index classes. All existing tests in test_series.py:TestSeries.test_asof pass with the new implementation.
https://api.github.com/repos/pandas-dev/pandas/pulls/10873
2015-08-21T00:34:30Z
2015-10-18T14:04:01Z
null
2023-05-11T01:13:09Z
BUG: import of maybe_convert_indices in pandas.core.index.py, #10610
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index cc8f135eb62b0..4dadc8cd97fa9 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -785,4 +785,5 @@ Bug Fixes - Bug in ``iloc`` allowing memory outside bounds of a Series to be accessed with negative in...
closes #10610 I fixed the import statement and added a test to check for proper behavior when accessing a mixed-integer index with a list of values.
https://api.github.com/repos/pandas-dev/pandas/pulls/10872
2015-08-20T23:35:29Z
2015-09-01T11:49:25Z
null
2015-09-01T11:49:25Z
DEPR: deprecate the data reader package, #10861
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 13764543ec665..fac04552fdb42 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -11,6 +11,10 @@ users upgrade to this version. pandas >= 0.17.0 will no longer support compatibility with Python v...
closed #10861
https://api.github.com/repos/pandas-dev/pandas/pulls/10870
2015-08-20T22:05:05Z
2015-08-23T10:26:43Z
null
2015-08-23T22:15:01Z
DOC: update ipython sphinxext for IPython 4.0
diff --git a/doc/sphinxext/ipython_sphinxext/ipython_directive.py b/doc/sphinxext/ipython_sphinxext/ipython_directive.py index 3f9be95609874..ad7ada8e4eea3 100644 --- a/doc/sphinxext/ipython_sphinxext/ipython_directive.py +++ b/doc/sphinxext/ipython_sphinxext/ipython_directive.py @@ -127,7 +127,11 @@ from sphinx.util....
https://api.github.com/repos/pandas-dev/pandas/pulls/10868
2015-08-20T20:55:58Z
2015-08-23T10:35:40Z
2015-08-23T10:35:40Z
2015-09-07T17:51:10Z
DEPR: iterkv change Deprecation to FutureWarning
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 1656d52c35eeb..610c5a0da2cff 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -701,7 +701,7 @@ def iterkv(self, *args, **kwargs): "iteritems alias used to get around 2to3. Deprecated" warnings.warn("iterkv is depreca...
So this is visible to the users (already long time deprecated in the docs)
https://api.github.com/repos/pandas-dev/pandas/pulls/10867
2015-08-20T20:18:52Z
2015-08-21T07:31:13Z
2015-08-21T07:31:13Z
2015-08-21T07:31:13Z
ENH: Period pickle
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 039772f68ee85..0c3af5c4bd64f 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -198,6 +198,8 @@ Other enhancements ``tolerance`` is also exposed by the lower level ``Index.get_indexer`` and ``In...
closes #10439 closes #10441
https://api.github.com/repos/pandas-dev/pandas/pulls/10866
2015-08-20T16:23:48Z
2015-08-20T17:32:21Z
2015-08-20T17:32:21Z
2015-08-20T17:32:21Z
Tests for ABC Types
diff --git a/pandas/tests/test_common.py b/pandas/tests/test_common.py index 94f151efbe2a6..b234773359f8c 100644 --- a/pandas/tests/test_common.py +++ b/pandas/tests/test_common.py @@ -6,6 +6,7 @@ import nose from nose.tools import assert_equal, assert_true import numpy as np +import pandas as pd from pandas.tslib ...
closes #10828 I used self.assertIsInstance(obj, type) and inlined as many of the expressions as I could while staying PEP8 compliant. I added in the two tests that I took out, that was an accident. Let me know if this looks okay!
https://api.github.com/repos/pandas-dev/pandas/pulls/10859
2015-08-20T07:22:33Z
2015-08-20T17:39:19Z
null
2015-08-20T17:39:19Z
removes categories & ordered from CategoricalIndex attributes
diff --git a/pandas/core/index.py b/pandas/core/index.py index 135195d90ffdb..7b5a6b199bc1b 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -2910,7 +2910,7 @@ class CategoricalIndex(Index, PandasDelegate): _typ = 'categoricalindex' _engine_type = _index.Int64Engine - _attributes = ['name'...
`categories` and `ordered` are properties not attributes ([index.py#L3085-L3091](https://github.com/pydata/pandas/blob/3e35c842f37265ac7339908869d4cc7bdef784d9/pandas/core/index.py#L3085-L3091)). The side effect is that the categories are rehashed too often: on master: ``` ipython In [1]: from pandas.core.index impor...
https://api.github.com/repos/pandas-dev/pandas/pulls/10858
2015-08-20T00:10:29Z
2015-08-20T12:48:09Z
2015-08-20T12:48:09Z
2015-08-20T23:32:06Z
ENH: #8325 Add ability to create tables using the gbq module.
diff --git a/ci/requirements-2.7.pip b/ci/requirements-2.7.pip index cf8e6b8b3d3a6..ff1978a8d45ed 100644 --- a/ci/requirements-2.7.pip +++ b/ci/requirements-2.7.pip @@ -1 +1,3 @@ blosc +httplib2 +google-api-python-client == 1.2 diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt index 951c8798bef15..d6a1e2d...
closes #8325 closes #10652 - Added ability to automatically create a table using the gbq.to_gbq function if destination table does not exist - Added `gbq.gbq_table_exists()` function to the gbq module - Added `gbq.create_gbq_table()` function to the gbq module
https://api.github.com/repos/pandas-dev/pandas/pulls/10857
2015-08-19T21:29:11Z
2015-09-13T20:20:52Z
2015-09-13T20:20:52Z
2015-09-14T03:28:03Z
ABC Tests
diff --git a/pandas/tests/test_common.py b/pandas/tests/test_common.py index 94f151efbe2a6..df1e30817adbc 100644 --- a/pandas/tests/test_common.py +++ b/pandas/tests/test_common.py @@ -6,8 +6,9 @@ import nose from nose.tools import assert_equal, assert_true import numpy as np +import pandas as pd from pandas.tslib ...
closes #10828 I created tests for this issue here: https://github.com/pydata/pandas/issues/10828. This is my first time working on Pandas, so please let me know if there is anything wrong with the way I have coded these tests. I haven't updated the documentation, I was unsure of what version I should update and wheth...
https://api.github.com/repos/pandas-dev/pandas/pulls/10855
2015-08-19T10:17:06Z
2015-08-20T12:34:11Z
null
2015-08-20T12:34:11Z
DOC: fix Panel4D docstring
diff --git a/pandas/core/panel4d.py b/pandas/core/panel4d.py index 3d480464388c8..7fafbd0eaa2b5 100644 --- a/pandas/core/panel4d.py +++ b/pandas/core/panel4d.py @@ -12,7 +12,9 @@ aliases={'major': 'major_axis', 'minor': 'minor_axis'}, stat_axis=2, ns=dict(__doc__=""" - Represents a 4 dimensional struc...
Just took this from https://github.com/pydata/pandas/blob/master/doc/source/dsintro.rst#panel4d-experimental
https://api.github.com/repos/pandas-dev/pandas/pulls/10854
2015-08-19T08:55:31Z
2015-08-19T09:21:38Z
2015-08-19T09:21:38Z
2015-08-19T09:47:11Z
TST: GH10837 remove test_ujson.py reliance on dict iteration order
diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py index 43e1c5c89dd5e..af0a1da830c83 100644 --- a/pandas/io/tests/test_json/test_ujson.py +++ b/pandas/io/tests/test_json/test_ujson.py @@ -1131,22 +1131,20 @@ def testArrayNumpyLabelled(self): self.assertTrue(output[1...
closes #10837
https://api.github.com/repos/pandas-dev/pandas/pulls/10853
2015-08-19T03:59:44Z
2015-08-19T10:53:27Z
2015-08-19T10:53:27Z
2015-08-19T10:53:32Z
DOC: Excel formatting and searchsorted cookbook examples
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 49ff987ca3549..9e7b9ad0b7582 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -834,6 +834,9 @@ ignore_index is needed in pandas < v0.13, and depending on df construction `Join with a criteria based on the values <http://stackove...
Also added the missing `HTML` header for the one link in that section.
https://api.github.com/repos/pandas-dev/pandas/pulls/10852
2015-08-19T02:55:45Z
2015-08-19T09:12:07Z
2015-08-19T09:12:07Z
2015-09-07T17:15:03Z
[DOCS][10MINS] Fix method for the 'where' operation example
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index 1714e00030026..472c875a4ee3f 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -289,7 +289,7 @@ A ``where`` operation for getting. .. ipython:: python - df[df > 0] + df.where(df > 0) Using the :func:`~Series.isin` method for filter...
Fix method of the 'where' operation for getting.
https://api.github.com/repos/pandas-dev/pandas/pulls/10851
2015-08-19T02:52:41Z
2015-08-20T03:15:59Z
null
2023-05-11T01:13:08Z
DOC: Update CONTRIBUTING.md
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 284ac2fc5b169..86b0e890fb94a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -288,7 +288,7 @@ Some other important things to know about the docs: #### Requirements To build the *pandas* docs there are some extra requirements: you will -need to have `sphinx`...
Add `ipython-notebook` as dependency. I had to install it otherwise sphinx was failing the build.
https://api.github.com/repos/pandas-dev/pandas/pulls/10847
2015-08-18T22:07:20Z
2015-08-20T22:21:03Z
null
2023-05-11T01:13:08Z
BUG: Error while saving DataFrame with TimedeltaIndex to .csv #10833
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 1079ec52338b9..e41fe592a57ae 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -678,3 +678,4 @@ Bug Fixes - Bug in ``iloc`` allowing memory outside bounds of a Series to be accessed with negative in...
Fix in accordance with https://github.com/pydata/pandas/issues/10833
https://api.github.com/repos/pandas-dev/pandas/pulls/10845
2015-08-18T19:55:42Z
2015-08-21T14:09:48Z
2015-08-21T14:09:48Z
2015-08-21T14:10:00Z
DataFrame to dict with index orientation.
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 0c3af5c4bd64f..ea116278e1eb2 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -174,6 +174,8 @@ Other enhancements - ``msgpack`` submodule has been updated to 0.4.6 with backward compatibility (:i...
The method `DataFrame.to_dict` didn't have an option for index orientation unlike its cousin `to_json`, which does have.
https://api.github.com/repos/pandas-dev/pandas/pulls/10844
2015-08-18T18:38:21Z
2015-08-21T14:21:21Z
null
2015-08-21T14:21:21Z
DOC: Fix for #10823, updating min_periods docstring
diff --git a/pandas/stats/ols.py b/pandas/stats/ols.py index e1951135914e9..d1d74442d8961 100644 --- a/pandas/stats/ols.py +++ b/pandas/stats/ols.py @@ -614,7 +614,8 @@ class MovingOLS(OLS): size of window (for rolling/expanding OLS) min_periods : int Threshold of non-null data points to require....
closes #10823
https://api.github.com/repos/pandas-dev/pandas/pulls/10841
2015-08-18T02:15:46Z
2015-08-18T10:47:43Z
2015-08-18T10:47:43Z
2015-08-18T10:47:48Z
PERF: value_counts_float64 #10821
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 7e69a8044a305..8ae2aa1659077 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -585,7 +585,7 @@ Performance Improvements - Improved performance of ``Series.isin`` for datetimelike/integer Series (:i...
Adresses #10821 - I get a doubling of performance for `value_counts` for a `Series` with a float dtype. Couldn't think of any new tests needed not covered by existing [here](https://github.com/pydata/pandas/blob/master/pandas/tests/test_algos.py#L416) ``` In [1]: f = np.hstack([np.hstack(np.linspace(0,1,1000) for _ ...
https://api.github.com/repos/pandas-dev/pandas/pulls/10840
2015-08-18T02:13:15Z
2015-08-18T23:37:09Z
2015-08-18T23:37:09Z
2015-08-19T00:53:03Z
BUG: Panel setitem with a multiindex #10360 (partial)
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt index 7e69a8044a305..3e611d00a8757 100644 --- a/doc/source/whatsnew/v0.17.0.txt +++ b/doc/source/whatsnew/v0.17.0.txt @@ -606,7 +606,7 @@ Bug Fixes - Bug in ``offsets.generate_range`` where ``start`` and ``end`` have finer precision than ``...
partial on #10360
https://api.github.com/repos/pandas-dev/pandas/pulls/10838
2015-08-18T00:03:35Z
2015-08-18T10:44:03Z
2015-08-18T10:44:03Z
2019-08-10T19:45:05Z
skipped failing test on non-engish locales
diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py index 0bb385b756eb8..e02973136863d 100644 --- a/pandas/tseries/tests/test_timeseries.py +++ b/pandas/tseries/tests/test_timeseries.py @@ -4325,6 +4325,8 @@ def test_to_datetime_format_time(self): self.assertEqual...
Should fix https://github.com/pydata/pandas/issues/10834
https://api.github.com/repos/pandas-dev/pandas/pulls/10836
2015-08-17T17:36:22Z
2015-08-17T20:50:10Z
2015-08-17T20:50:10Z
2015-08-17T20:50:15Z
Minor fix to error messages ('See the the caveats in the documentatio…
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 2ced2aafe2f1c..2fc288de438b3 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1300,7 +1300,7 @@ def _check_setitem_copy(self, stacklevel=4, t='setting', force=False): t = ("\n" "A value is tryin...
…n...')
https://api.github.com/repos/pandas-dev/pandas/pulls/10829
2015-08-16T08:37:18Z
2015-08-16T09:54:59Z
2015-08-16T09:54:59Z
2015-08-16T10:46:38Z