title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
⌀
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
⌀
updated_at
stringlengths
20
20
BUG: barplot with NaNs
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index bfd484b363dd2..aa6d1dff2c547 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -670,3 +670,4 @@ Bug Fixes - Bug with kde plot and NaNs (:issue:`8182`) - Bug in ``GroupBy.count`` with float32 data type were nan values were not exclu...
Closes https://github.com/pydata/pandas/issues/8175 This makes barplot more consistent with how NaN's are handled in AreaPlots and PiePlots.
https://api.github.com/repos/pandas-dev/pandas/pulls/8177
2014-09-04T18:36:23Z
2014-09-07T00:30:07Z
2014-09-07T00:30:07Z
2016-11-03T12:38:09Z
BUG/API: Previously an enlargement with a mixed-dtype frame would act unlike append (related GH2578)
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 4caf22357b1d3..4fbb97d11b5fa 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -296,6 +296,19 @@ API changes To insert a NaN, you must explicitly use ``np.nan``. See the :ref:`docs <missing.inserting>`. +- Previously an enlargem...
related #2578 from [SO](http://stackoverflow.com/questions/25670760/copying-a-row-screws-up-pandas-column-data-types-how-to-avoid)
https://api.github.com/repos/pandas-dev/pandas/pulls/8176
2014-09-04T18:11:29Z
2014-09-04T18:58:17Z
2014-09-04T18:58:17Z
2014-09-04T18:58:18Z
counting sort instead of np.argsort in left outer join
diff --git a/pandas/src/join.pyx b/pandas/src/join.pyx index 4c32aa902d64d..f8eef55a86361 100644 --- a/pandas/src/join.pyx +++ b/pandas/src/join.pyx @@ -106,7 +106,7 @@ def left_outer_join(ndarray[int64_t] left, ndarray[int64_t] right, if not sort: # if not asked to sort, revert to original order if len(...
Previously I had submitted https://github.com/pydata/pandas/pull/7853. Given that we are sorting indexers, for performance reasons I should have used `groupsort_indexer` instead of `np.argsort`. on master: ``` In [7]: np.random.seed(2718281) In [8]: n = 50000 In [9]: left = DataFrame(np.random.randint(1, n/500, (n,...
https://api.github.com/repos/pandas-dev/pandas/pulls/8172
2014-09-04T00:24:19Z
2014-09-06T20:45:00Z
2014-09-06T20:45:00Z
2014-09-06T20:50:14Z
BUG: GroupBy.count() with float32 data type does not exclude nan
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 71f39d9621bee..bfd484b363dd2 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -669,3 +669,4 @@ Bug Fixes was a tuple (:issue:`8121`). - Bug with kde plot and NaNs (:issue:`8182`) +- Bug in ``GroupBy.count`` with float32 data typ...
closes https://github.com/pydata/pandas/issues/8169
https://api.github.com/repos/pandas-dev/pandas/pulls/8171
2014-09-03T23:54:36Z
2014-09-06T19:13:41Z
2014-09-06T19:13:41Z
2014-09-06T19:50:01Z
BUG: not raising error on Newey-West corrections when clustering
closes #5884, OLS does not correctly apply Newey-West corrections when clustering is being used. Add an assertion to check for this.
https://api.github.com/repos/pandas-dev/pandas/pulls/8170
2014-09-03T18:47:48Z
2014-09-13T19:27:40Z
2014-09-13T19:27:40Z
2014-09-22T16:36:11Z
BUG: add 'import warnings' statement in panel.py (GH8152)
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 17fcac26f4231..609df8e2d9641 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -648,3 +648,4 @@ Bug Fixes was a tuple (:issue:`8121`). +- Bug in ``panel.py`` where Panel uses ``warnings`` module without importing (:issue:`8152`)...
closes #8152.
https://api.github.com/repos/pandas-dev/pandas/pulls/8157
2014-09-01T23:12:42Z
2014-09-04T00:29:43Z
2014-09-04T00:29:43Z
2014-09-04T00:32:04Z
Fixups for categoricals
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index 3a3b3d5e36977..6320be3920730 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -652,11 +652,11 @@ Since version 0.15, pandas can include categorical data in a ``DataFrame``. For # Alternative: df["grade"] = df["raw_grade"].astype("categor...
This PR will collect the various fixups for Categorical. See #8078 for the ToDos. Closes: #8077 -> API/FIX: wrap result cut/qut in Series and make it ordered Closes: #8074 -> Discussion Closes: #8078 -> Todos This has a (passing) unittest for #8138 but no code changes. Not sure what was the change which fixed the bu...
https://api.github.com/repos/pandas-dev/pandas/pulls/8153
2014-09-01T12:42:26Z
2014-09-25T22:14:33Z
2014-09-25T22:14:33Z
2014-09-25T22:17:05Z
DOC: add some links in install.rst
diff --git a/doc/source/install.rst b/doc/source/install.rst index 1e3ca9a385ee1..1994bdf8c8d50 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -299,9 +299,10 @@ Optional Dependencies :func:`~pandas.io.clipboard.read_clipboard`. Most package managers on Linux distributions will have xclip and/...
A documentation PR closes #8135.
https://api.github.com/repos/pandas-dev/pandas/pulls/8149
2014-08-30T07:46:45Z
2014-08-30T12:17:50Z
2014-08-30T12:17:50Z
2014-08-30T17:07:39Z
BUG: use stable sort for group_index in groupby
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 512f66ce37dd9..3a26fdbdb59b9 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -3431,13 +3431,7 @@ def _indexer_from_factorized(labels, shape, compress=True): comp_ids = group_index max_group = com._long_prod(shape) ...
Following on https://github.com/pydata/pandas/pull/8128, for certain `groupby` operations such as, ``` df.groupby(key)[col].transfrom('first') ``` it is necessary to use stable sort for group indices. As a result, `numpy.argsort` should be called with argument `kind='mergesort'`.
https://api.github.com/repos/pandas-dev/pandas/pulls/8148
2014-08-30T02:31:57Z
2014-09-04T00:57:15Z
2014-09-04T00:57:15Z
2014-09-06T16:55:50Z
BUG: comparison of category vs np dtypes buggy (GH8143)
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 6e2d1d974429b..4f4f0211f130c 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -347,7 +347,8 @@ Categoricals in Series/DataFrame :class:`~pandas.Categorical` can now be included in `Series` and `DataFrames` and gained new methods t...
closes #8143
https://api.github.com/repos/pandas-dev/pandas/pulls/8146
2014-08-29T19:49:11Z
2014-08-29T20:44:25Z
2014-08-29T20:44:25Z
2014-08-29T20:44:25Z
ENH: let get_dummies take a DataFrame
diff --git a/doc/source/reshaping.rst b/doc/source/reshaping.rst index bcdb9ada15bb3..60342f1b6cba5 100644 --- a/doc/source/reshaping.rst +++ b/doc/source/reshaping.rst @@ -480,6 +480,49 @@ This function is often used along with discretization functions like ``cut``: See also :func:`Series.str.get_dummies <pandas.co...
Closes https://github.com/pydata/pandas/issues/8133 Thoughts? I encode every column with `object` dtype. You can control the ones that get encoded with `categorical_variables`. The encoded columns are `concat`ed to the columns that don't need encoding. `prefix` and `prefix_sep` can be passed as a string, list, or dic...
https://api.github.com/repos/pandas-dev/pandas/pulls/8140
2014-08-29T14:18:52Z
2014-09-01T01:27:13Z
2014-09-01T01:27:13Z
2016-11-03T12:38:06Z
BUG: Bug in multi-index slicing with various edge cases (GH8132)
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 5152e6d8eaf63..e6a09a37e929f 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -532,6 +532,7 @@ Bug Fixes - Bug in adding and subtracting ``PeriodIndex`` with ``PeriodIndex`` raise ``TypeError`` (:issue:`7741`) - Bug in ``combine_fir...
closes #8132 ``` # A1 - Works - Get all values under "A0" and "A1" df1.loc[(slice('A1')),:] VALUES A B DATE A0 B0 2013-06-11 22 2013-07-02 35 B1 2013-07-09 14 2013-07-30 9 B2 2013-08-06 4 A1 B0 2013-06-11 40 2013-07-02 18 ...
https://api.github.com/repos/pandas-dev/pandas/pulls/8134
2014-08-28T14:21:03Z
2014-08-28T15:04:07Z
2014-08-28T15:04:07Z
2014-08-28T15:04:07Z
PERF: speed up multi-key groupby
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 4a39dd73da7d0..d4cec74cc8d51 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -486,7 +486,7 @@ Performance - Improvements in Series.transform for significant performance gains (revised) (:issue:`6496`) - Performance improvements in ...
Improves multi-key `groupby` speed; On master: ``` In [3]: pd.__version__ Out[3]: '0.14.1-276-g995f91c' In [4]: np.random.seed(2718281) In [5]: n = 20000 In [6]: df = pd.DataFrame(np.random.randint(1, n, (n, 3)), ...: columns=['jim', 'joe', 'jolie']) In [7]: %timeit df.groupby(['jim', 'joe'])['jolie'].t...
https://api.github.com/repos/pandas-dev/pandas/pulls/8128
2014-08-28T02:47:09Z
2014-08-29T19:16:53Z
2014-08-29T19:16:53Z
2014-08-30T02:31:57Z
BUG: Fix bad axis limits when boxplotting with 'by' (#7528)
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 4f4f0211f130c..bf959141e29b2 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -640,6 +640,8 @@ Bug Fixes - Bug in ``Float64Index`` where ``iat`` and ``at`` were not testing and were failing (:issue:`8092`). +- Bug in ``DataFrame...
closes #5517 The original bug involved the y-limits for boxplots being wrong when using `'by': turns out it has to do with the dummy axis that gets created when the plots don't fill the axis layout, e.g. when we're plotting 3 columns in a 2 by 2 layout. The fix for this basically involves not setting the `sharey`/`sh...
https://api.github.com/repos/pandas-dev/pandas/pulls/8126
2014-08-27T22:19:58Z
2014-08-30T14:10:48Z
2014-08-30T14:10:48Z
2014-09-14T07:24:58Z
DOC: Link to Python standard encodings from read_csv documentation
diff --git a/doc/source/io.rst b/doc/source/io.rst index ad0a5bb3b67c9..0930dad19958d 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -165,7 +165,9 @@ They can take a number of arguments: - ``converters``: a dictionary of functions for converting values in certain columns, where keys are either intege...
Trying to make it easier to access the list of encodings from the documentation. Adding this was suggested on this [SO question](http://stackoverflow.com/questions/25530142/list-of-pandas-read-csv-encoding-list/25530279#25530279).
https://api.github.com/repos/pandas-dev/pandas/pulls/8125
2014-08-27T17:57:51Z
2014-09-11T18:19:06Z
2014-09-11T18:19:06Z
2014-09-11T18:19:11Z
BUG: fix groupby with tuple bug
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 95bf2918f8992..1bfc41fa0bdb5 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -640,6 +640,7 @@ Bug Fixes - +- Bug in accessing groups from a ``GroupBy`` when the original grouper + was a tuple (:issue:`8121`). diff --git a/...
Closes https://github.com/pydata/pandas/issues/8121
https://api.github.com/repos/pandas-dev/pandas/pulls/8123
2014-08-27T15:11:22Z
2014-08-28T01:58:41Z
2014-08-28T01:58:41Z
2016-11-03T12:38:06Z
Made line comments work with delim_whitespace and custom line terminator
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 95bf2918f8992..21e4e0e87473f 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -638,6 +638,8 @@ Bug Fixes - Bug in ``Float64Index`` where ``iat`` and ``at`` were not testing and were failing (:issue:`8092`). +- Bug in ``read_csv`...
This extends the functionality in #7582 to whitespace-delimited and custom line terminated parsing in the C reader (fixes #8115).
https://api.github.com/repos/pandas-dev/pandas/pulls/8122
2014-08-27T15:01:32Z
2014-08-28T17:01:12Z
2014-08-28T17:01:12Z
2014-08-28T17:02:07Z
BUG: broadcasting with numpy scalars (GH8116)
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 4a39dd73da7d0..1a11d253988b4 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -625,7 +625,7 @@ Bug Fixes ``_read`` (:issue:`7927`). - Bug in ``DataFrame.stack()`` when one of the column levels was a datelike (:issue:`8039`) - +-...
closes https://github.com/pydata/pandas/issues/8116
https://api.github.com/repos/pandas-dev/pandas/pulls/8119
2014-08-27T02:10:20Z
2014-08-29T16:19:48Z
2014-08-29T16:19:48Z
2014-08-30T01:52:44Z
BUG: fixed df.info() output missing new line
diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt index 96d9b7c58c41a..72b2cb0da91dc 100644 --- a/doc/source/v0.15.0.txt +++ b/doc/source/v0.15.0.txt @@ -349,6 +349,8 @@ API changes - The Index set operations ``+`` and ``-`` were deprecated in order to provide these for numeric type operations on certain ...
Had this minor bug working with pandas from the command line ``` >>> df.info() <class 'pandas.core.frame.DataFrame'> Int64Index: 891 entries, 0 to 890 Data columns (total 12 columns): PassengerId 891 non-null int64 # ... etc Embarked 889 non-null object dtypes: float64(2), int64(5), object(5)>>> ``` (The int...
https://api.github.com/repos/pandas-dev/pandas/pulls/8114
2014-08-25T20:45:24Z
2014-09-12T13:47:03Z
2014-09-12T13:47:03Z
2014-09-12T13:47:03Z
DOC: fix formatting in dependencies in install.rst
diff --git a/doc/source/install.rst b/doc/source/install.rst index fb22a86096b59..1e3ca9a385ee1 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -247,22 +247,22 @@ installed), make sure you have `nose Dependencies ------------ - * `NumPy <http://www.numpy.org>`__: 1.7.0 or higher - * `python-da...
http://pandas.pydata.org/pandas-docs/stable/install.html#recommended-dependencies: "Needed for gbq" was not formatted correctly in its own sublist. At once removed the unnecessary indentation of the lists in install.rst
https://api.github.com/repos/pandas-dev/pandas/pulls/8111
2014-08-25T14:45:52Z
2014-08-25T14:57:15Z
2014-08-25T14:57:15Z
2014-08-25T14:57:19Z
ER: clarify import error message of BeautifulSoup (read_html)
diff --git a/pandas/io/html.py b/pandas/io/html.py index 1fe86201a8db0..44dcfb6117d72 100644 --- a/pandas/io/html.py +++ b/pandas/io/html.py @@ -645,9 +645,9 @@ def _parser_dispatch(flavor): if flavor in ('bs4', 'html5lib'): if not _HAS_HTML5LIB: - raise ImportError("html5lib not found please...
You still have to install it with pip/conda as BeautifulSoup4 and not bs4, so I think this is a bit more clear. @cpcloud
https://api.github.com/repos/pandas-dev/pandas/pulls/8110
2014-08-25T14:23:08Z
2014-08-25T15:51:59Z
2014-08-25T15:51:59Z
2014-08-25T15:51:59Z
BUG: reindexing a frame fails to pick nan value
diff --git a/pandas/src/klib/khash_python.h b/pandas/src/klib/khash_python.h index d3ef48de0f831..cdd94b5d8522f 100644 --- a/pandas/src/klib/khash_python.h +++ b/pandas/src/klib/khash_python.h @@ -5,7 +5,7 @@ // kludge #define kh_float64_hash_func _Py_HashDouble -#define kh_float64_hash_equal kh_int64_hash_equal +#...
currently ``` >>> df = pd.DataFrame([[1, 2], [3, 5], [7, 11], [9, 23]], ... index=[2, np.nan, 1, 5], columns=['joe', 'jim']) >>> df joe jim 2 1 2 NaN 3 5 1 7 11 5 9 23 >>> df.reindex([2, np.nan, 1]) joe jim 2 1 2 NaN NaN NaN 1 7 11 ``` with this patch: ...
https://api.github.com/repos/pandas-dev/pandas/pulls/8108
2014-08-25T02:48:37Z
2015-03-05T23:43:41Z
2015-03-05T23:43:41Z
2015-03-06T02:51:12Z
TST: Regression test added for Timedelta
diff --git a/pandas/tests/frame/methods/test_iterrows.py b/pandas/tests/frame/methods/test_iterrows.py new file mode 100644 index 0000000000000..0bd0bed76dc9d --- /dev/null +++ b/pandas/tests/frame/methods/test_iterrows.py @@ -0,0 +1,16 @@ +from pandas import ( + DataFrame, + Timedelta, +) + + +def test_no_overfl...
- [x] closes #35665 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/52748
2023-04-18T14:49:42Z
2023-04-19T21:29:51Z
2023-04-19T21:29:51Z
2023-04-19T21:29:56Z
Fixed literal typing in rank and resample methods
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 582a043a8a78a..1d86719b753ed 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8593,10 +8593,10 @@ def resample( self, rule, axis: Axis | lib.NoDefault = lib.no_default, - closed: str | None = None, -...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52745
2023-04-18T14:36:37Z
2023-04-19T12:53:49Z
2023-04-19T12:53:49Z
2023-04-20T07:09:46Z
TST: Add non-regression test for GH-33828
diff --git a/pandas/tests/frame/indexing/test_setitem.py b/pandas/tests/frame/indexing/test_setitem.py index 049874a4dd46f..1b2164ae7ba7b 100644 --- a/pandas/tests/frame/indexing/test_setitem.py +++ b/pandas/tests/frame/indexing/test_setitem.py @@ -1251,3 +1251,12 @@ def test_setitem_column_update_inplace(self, using_c...
- [X] closes #33828 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ]...
https://api.github.com/repos/pandas-dev/pandas/pulls/52744
2023-04-18T14:35:39Z
2023-04-19T16:27:44Z
2023-04-19T16:27:44Z
2023-04-19T16:27:52Z
Using Literal["a"] instead of str in generic.py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index bf8cf831b942a..9a9db0486e4a7 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7524,7 +7524,7 @@ def interpolate( limit: int | None = None, inplace: bool_t = False, limit_direction: Literal["forward", "backw...
Specifies limit_area in interpolate and how in asfreq more precisely. - [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code...
https://api.github.com/repos/pandas-dev/pandas/pulls/52742
2023-04-18T14:34:35Z
2023-04-20T15:03:37Z
2023-04-20T15:03:37Z
2023-04-23T14:13:01Z
Regression tests to cover reset_index issue
diff --git a/pandas/tests/frame/methods/test_reset_index.py b/pandas/tests/frame/methods/test_reset_index.py index 8a11a59cdcb58..a2ab02c5a6038 100644 --- a/pandas/tests/frame/methods/test_reset_index.py +++ b/pandas/tests/frame/methods/test_reset_index.py @@ -773,3 +773,18 @@ def test_errorreset_index_rename(float_fra...
- [x] closes #38147 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ]...
https://api.github.com/repos/pandas-dev/pandas/pulls/52741
2023-04-18T14:32:12Z
2023-04-20T15:15:32Z
2023-04-20T15:15:32Z
2023-04-20T15:15:42Z
GH31581 adding regression test
diff --git a/pandas/tests/frame/indexing/test_setitem.py b/pandas/tests/frame/indexing/test_setitem.py index 7dd23295a4fa0..4c8b93814e277 100644 --- a/pandas/tests/frame/indexing/test_setitem.py +++ b/pandas/tests/frame/indexing/test_setitem.py @@ -1263,6 +1263,17 @@ def test_setitem_column_update_inplace(self, using_c...
- [x] closes #31581 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ...
https://api.github.com/repos/pandas-dev/pandas/pulls/52740
2023-04-18T14:23:51Z
2023-04-20T10:17:38Z
2023-04-20T10:17:38Z
2023-04-20T10:18:21Z
TST .drop() doesn't parse strings for DatetimeIndex
diff --git a/pandas/tests/frame/methods/test_drop.py b/pandas/tests/frame/methods/test_drop.py index ac0b0866c467f..79fd48de91ed5 100644 --- a/pandas/tests/frame/methods/test_drop.py +++ b/pandas/tests/frame/methods/test_drop.py @@ -535,3 +535,13 @@ def test_drop_index_ea_dtype(self, any_numeric_ea_dtype, idx, level): ...
- [X] closes https://github.com/pandas-dev/pandas/issues/5355 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/52739
2023-04-18T14:21:43Z
2023-04-19T09:09:52Z
2023-04-19T09:09:52Z
2023-04-19T09:32:07Z
TST: Test column names underscore
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index 4815fde4d9d6c..7f9a6608f7ad6 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -135,6 +135,24 @@ def test_constructor_from_tzaware_datetimeindex(self): result...
… - [x] closes #23848 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). ...
https://api.github.com/repos/pandas-dev/pandas/pulls/52738
2023-04-18T14:16:10Z
2023-04-20T17:53:40Z
2023-04-20T17:53:40Z
2023-04-24T13:05:53Z
DOC: Remove incorrect indexing doc sentence
diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index e9cc25fb3086a..4a8be77d23ea2 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -1534,9 +1534,7 @@ Index objects ------------- The pandas :class:`~pandas.Index` class and its subclasse...
- [X] closes #46440 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ]...
https://api.github.com/repos/pandas-dev/pandas/pulls/52737
2023-04-18T14:11:53Z
2023-04-19T16:34:34Z
2023-04-19T16:34:34Z
2023-04-19T16:34:45Z
Doc: fixed missing behavior explaination of sort=false for groupby issue #47529
diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst index f74012cf51d4a..88727bc8f9025 100644 --- a/doc/source/user_guide/groupby.rst +++ b/doc/source/user_guide/groupby.rst @@ -196,7 +196,7 @@ only verifies that you've passed a valid mapping. GroupBy sorting ~~~~~~~~~~~~~~~~~~~~~~~~~ ...
- [x] closes #47529 - [x] All code checks passed Changes were made by @hubschne and @raanasn at the python conference 2023 Berlin workshop
https://api.github.com/repos/pandas-dev/pandas/pulls/52736
2023-04-18T14:11:08Z
2023-04-21T02:18:08Z
2023-04-21T02:18:07Z
2023-04-21T02:18:19Z
DOC: Add small userguide example on how to use arrow dtype backend in read_parquet
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index c34d5f3c467a2..103756158d2cf 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -5323,6 +5323,20 @@ Read from a parquet file. result.dtypes +By setting the ``dtype_backend`` argument you can control the d...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52734
2023-04-18T14:05:58Z
2023-04-19T21:35:58Z
2023-04-19T21:35:58Z
2023-04-19T21:36:05Z
Regression test for dt.total_seconds()
diff --git a/pandas/tests/arrays/test_timedeltas.py b/pandas/tests/arrays/test_timedeltas.py index 69d92b1551e14..1043c2ee6c9b6 100644 --- a/pandas/tests/arrays/test_timedeltas.py +++ b/pandas/tests/arrays/test_timedeltas.py @@ -70,6 +70,14 @@ def test_timedelta_array_total_seconds(self): result = pd.array([Ti...
- [x] closes #48521 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ]...
https://api.github.com/repos/pandas-dev/pandas/pulls/52731
2023-04-18T14:01:59Z
2023-04-19T16:41:35Z
2023-04-19T16:41:35Z
2023-04-19T16:41:42Z
Literal typing for indexer methods
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index dfd8840aafa5a..c3bd8f99138c8 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -55,6 +55,7 @@ IndexLabel, JoinHow, Level, + NaPosition, Self, Shape, npt, @@ -1921,7 +1922,7 @@ def so...
- [ ] closes https://github.com/noatamir/pydata-workshop/issues/11 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://p...
https://api.github.com/repos/pandas-dev/pandas/pulls/52729
2023-04-18T13:50:48Z
2023-04-19T11:14:54Z
2023-04-19T11:14:54Z
2023-04-19T12:01:21Z
TST: Added test on dataframe constructor with None
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index 4815fde4d9d6c..87d78f06b6975 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -2639,6 +2639,12 @@ def test_construction_empty_array_multi_column_raises(self): ...
- [x] closes #32218 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x...
https://api.github.com/repos/pandas-dev/pandas/pulls/52727
2023-04-18T13:44:39Z
2023-04-19T16:45:48Z
2023-04-19T16:45:48Z
2023-04-19T16:45:55Z
add: literal type hints for methods in NDFrame
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 582a043a8a78a..dc54a6fa7fc72 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2125,7 +2125,7 @@ def to_excel( index_label: IndexLabel = None, startrow: int = 0, startcol: int = 0, - engine: str | Non...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52724
2023-04-18T13:30:47Z
2023-04-19T18:15:34Z
2023-04-19T18:15:34Z
2023-04-19T18:15:42Z
TYP: Narrow down type of method keyword in Index
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 02ed03a6139b8..7a52630296c27 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -56,6 +56,7 @@ JoinHow, Level, NaPosition, + ReindexMethod, Self, Shape, npt, @@ -208,7 +209,6 @@ _ind...
This PR narrows down the type of the `method` keyword, used in two methods of the class `Index` to exactly the permitted values via the use of `Literal`. - [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_c...
https://api.github.com/repos/pandas-dev/pandas/pulls/52723
2023-04-18T13:29:06Z
2023-05-07T16:35:39Z
2023-05-07T16:35:39Z
2023-05-07T16:35:59Z
add: type hints to sort_values
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 582a043a8a78a..97bb19c83a0a8 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4852,8 +4852,8 @@ def sort_values( axis: Axis = ..., ascending: bool_t | Sequence[bool_t] = ..., inplace: Literal[False] = ..., ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) // there is no existing issue for this currently - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://...
https://api.github.com/repos/pandas-dev/pandas/pulls/52720
2023-04-18T13:13:28Z
2023-04-19T12:59:26Z
2023-04-19T12:59:26Z
2023-04-19T12:59:37Z
DEV: Update .gitpod.yml to build inplace
diff --git a/.gitpod.yml b/.gitpod.yml index 25b0ac103bc34..8b086a589a378 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -13,7 +13,7 @@ tasks: conda activate pandas-dev git pull --unshallow # need to force this else the prebuild fails git fetch --tags - python setup.py build_ext -j 4 + py...
Because of the change in https://github.com/pandas-dev/pandas/commit/de0753e4932d1b4951bc8275610ec4b0b9bdc1e1, we were not actually rebuilding the latest fetched pandas inplace. Going to directly merge this since we are using this in a workshop.
https://api.github.com/repos/pandas-dev/pandas/pulls/52719
2023-04-18T13:13:12Z
2023-04-18T13:16:33Z
2023-04-18T13:16:32Z
2023-04-19T07:33:25Z
PDEP-10: Add pyarrow as a required dependency
diff --git a/web/pandas/pdeps/0010-required-pyarrow-dependency.md b/web/pandas/pdeps/0010-required-pyarrow-dependency.md new file mode 100644 index 0000000000000..4d6e928ce68bd --- /dev/null +++ b/web/pandas/pdeps/0010-required-pyarrow-dependency.md @@ -0,0 +1,215 @@ +# PDEP-10: PyArrow as a required dependency for def...
- [x] closes #52509 (Replace xxxx with the GitHub issue number) I've tried to summarize the motivations and drawbacks from https://github.com/pandas-dev/pandas/issues/52509 in this PDEP. Please let me know if there are any reasons on either side that I am missing. Feel free to continue the discussion in https://g...
https://api.github.com/repos/pandas-dev/pandas/pulls/52711
2023-04-17T21:57:26Z
2023-07-30T15:35:42Z
2023-07-30T15:35:42Z
2023-07-31T16:47:21Z
REF: Styler.applymap -> map
diff --git a/doc/source/reference/style.rst b/doc/source/reference/style.rst index 5144f12fa373a..2256876c93e01 100644 --- a/doc/source/reference/style.rst +++ b/doc/source/reference/style.rst @@ -36,9 +36,9 @@ Style application :toctree: api/ Styler.apply - Styler.applymap + Styler.map Styler.apply_i...
follows recent DataFrame.applymap -> map Note: as a follow up to this PR I will edit the style.ipynb notebook with new links
https://api.github.com/repos/pandas-dev/pandas/pulls/52708
2023-04-17T18:10:20Z
2023-04-27T16:10:20Z
2023-04-27T16:10:20Z
2023-05-01T10:11:03Z
Return dtype with appropriate resolution in DatetimeTZDtype.base
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 147d337abb11a..059dd36567877 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -298,6 +298,7 @@ Timedelta Timezones ^^^^^^^^^ - Bug in :func:`infer_freq` that raises ``TypeError`` for ``Series`` of ti...
- [x] closes https://github.com/pandas-dev/pandas/issues/52705 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://panda...
https://api.github.com/repos/pandas-dev/pandas/pulls/52706
2023-04-17T17:37:56Z
2023-04-17T23:24:29Z
2023-04-17T23:24:29Z
2023-04-17T23:24:37Z
TST: setitem preserving period[D] dtype
diff --git a/pandas/tests/frame/indexing/test_setitem.py b/pandas/tests/frame/indexing/test_setitem.py index 049874a4dd46f..d0f34488f815a 100644 --- a/pandas/tests/frame/indexing/test_setitem.py +++ b/pandas/tests/frame/indexing/test_setitem.py @@ -379,6 +379,17 @@ def test_setitem_complete_column_with_array(self): ...
- [X] closes #39763 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ...
https://api.github.com/repos/pandas-dev/pandas/pulls/52704
2023-04-17T17:15:16Z
2023-04-19T16:49:10Z
2023-04-19T16:49:09Z
2023-04-19T16:56:00Z
DEV: update gitpod to give user cache write permissions (fix pre-commit)
diff --git a/.gitpod.yml b/.gitpod.yml index dd58c4df72965..25b0ac103bc34 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -14,7 +14,6 @@ tasks: git pull --unshallow # need to force this else the prebuild fails git fetch --tags python setup.py build_ext -j 4 - python -m pip install -e . --no-bui...
Currently installing pre-commit hooks gives a permission error, this fixes that. In addition, I moved the `pip install` from the gitpod custom build commands to the docker image, so this is done in advance
https://api.github.com/repos/pandas-dev/pandas/pulls/52700
2023-04-17T15:14:32Z
2023-04-17T22:15:11Z
2023-04-17T22:15:11Z
2023-04-18T16:12:29Z
DEV: update gitpod's dockerhub workspace
diff --git a/.gitpod.yml b/.gitpod.yml index 877c16eefb5d6..dd58c4df72965 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -4,7 +4,7 @@ # ------------------------------------------------------------------------- # assuming we use dockerhub: name of the docker user, docker image, tag, e.g. https://hub.docker.com/r/pand...
Updating the Gitpod dockers to the official pandas docker workspace
https://api.github.com/repos/pandas-dev/pandas/pulls/52698
2023-04-17T11:38:23Z
2023-04-17T13:36:52Z
2023-04-17T13:36:52Z
2023-04-17T13:36:52Z
CLN: Remove unneeded check in BaseMaskedArray.sum
diff --git a/pandas/core/arrays/masked.py b/pandas/core/arrays/masked.py index 576a75de9962c..f426ad98ae148 100644 --- a/pandas/core/arrays/masked.py +++ b/pandas/core/arrays/masked.py @@ -1108,13 +1108,6 @@ def sum( ): nv.validate_sum((), kwargs) - # TODO: do this in validate_sum? - if "o...
The `"out"` kwarg is already checked for in `nv.validate_sum` right above.
https://api.github.com/repos/pandas-dev/pandas/pulls/52695
2023-04-17T04:32:25Z
2023-04-17T16:43:46Z
2023-04-17T16:43:45Z
2023-04-17T17:14:24Z
CI: Combine unit test workflows
diff --git a/.github/workflows/32-bit-linux.yml b/.github/workflows/32-bit-linux.yml deleted file mode 100644 index 95d0d78c7585b..0000000000000 --- a/.github/workflows/32-bit-linux.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: 32 Bit Linux - -on: - push: - branches: - - main - - 2.0.x - pull_request: - b...
Allows all unit tests jobs to be viewable in the same tab instead of 3 different tabs
https://api.github.com/repos/pandas-dev/pandas/pulls/52694
2023-04-17T04:14:18Z
2023-04-23T19:30:20Z
2023-04-23T19:30:20Z
2023-12-04T19:14:05Z
CI: Consolidate more comment command workflows
diff --git a/.github/workflows/asv-bot.yml b/.github/workflows/asv-bot.yml deleted file mode 100644 index d264698e60485..0000000000000 --- a/.github/workflows/asv-bot.yml +++ /dev/null @@ -1,78 +0,0 @@ -name: "ASV Bot" - -on: - issue_comment: # Pull requests are issues - types: - - created - -env: - ENV_FILE:...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/52693
2023-04-17T01:38:27Z
2023-04-20T16:07:40Z
2023-04-20T16:07:40Z
2023-04-20T16:42:37Z
BUG: DataFrame.style displays wrong value for long integers #52272 FIX
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index e860d59f2e5bd..f48bc55e53886 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -303,6 +303,7 @@ Numeric Conversion ^^^^^^^^^^ +- Bug in :func:`DataFrame.style.to_latex` and :func:`DataFrame.style.to_...
- [ ] closes #52272 - [ ] added tests 'test_to_latex_exceeding_float_point_double' to 'test_to_latex.py' and 'test_to_html_float_point_double' to 'test_to_html.py' - [ ] All [code checks passed] - [ ] Added [type annotations] N/A - [ ] Added an entry in the latest `doc/source/whatsnew/v2.1.0.rst` file Fix Descri...
https://api.github.com/repos/pandas-dev/pandas/pulls/52686
2023-04-15T20:21:15Z
2023-04-18T17:59:22Z
2023-04-18T17:59:22Z
2023-04-18T17:59:31Z
PERF: homogeneous concat
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index c3355757350b9..3d72303471fb5 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -91,6 +91,7 @@ Other enhancements - Improved error message when creating a DataFrame with empty data (0 rows), no index and...
- [x] closes #50652 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/52685
2023-04-15T19:04:29Z
2023-04-19T15:47:33Z
2023-04-19T15:47:33Z
2023-06-20T21:28:50Z
CLN: remove unneeded try/except in nanops
diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py index 5a150c34da58b..ddec07c8bf890 100644 --- a/pandas/core/nanops.py +++ b/pandas/core/nanops.py @@ -1067,22 +1067,14 @@ def reduction( axis: AxisInt | None = None, skipna: bool = True, mask: npt.NDArray[np.bool_] | None = None, - ...
Look like this try/except isn't needed, checking in CI if it verifies the result.
https://api.github.com/repos/pandas-dev/pandas/pulls/52684
2023-04-15T10:03:23Z
2023-04-17T17:29:39Z
2023-04-17T17:29:39Z
2023-04-17T17:52:31Z
PERF: dtype checks
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index 410cf7c6cbe3a..032e43bf9c089 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -29,7 +29,6 @@ from pandas.core.dtypes.common import ( is_float_dtype, - is_integer_dtype, is_sequence, is_signed_i...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52682
2023-04-15T03:03:13Z
2023-04-17T17:16:48Z
2023-04-17T17:16:48Z
2023-04-17T19:25:25Z
DEPR: is_bool_dtype special-casing Index[object_all_bools]
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index c3355757350b9..b8c0161d47a0d 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -235,6 +235,7 @@ Deprecations - Deprecated parameter ``convert_type`` in :meth:`Series.apply` (:issue:`52140`) - Deprecate...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52680
2023-04-15T01:23:26Z
2023-04-17T21:58:36Z
2023-04-17T21:58:36Z
2023-04-17T21:59:14Z
BUG: ArrowExtensionArray(temporal).quantile raising for non-round results
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index e860d59f2e5bd..cc83b6c83522e 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -384,6 +384,7 @@ Sparse ExtensionArray ^^^^^^^^^^^^^^ +- Bug in :meth:`Series.quantile` for pyarrow temporal types raisi...
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added [type annotati...
https://api.github.com/repos/pandas-dev/pandas/pulls/52678
2023-04-15T00:59:26Z
2023-04-17T17:09:55Z
2023-04-17T17:09:55Z
2023-04-18T11:03:23Z
BUG: tz_localize with ArrowDtype
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index c64f7a46d3058..9c867544a324b 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -33,6 +33,7 @@ Bug fixes - Bug in :meth:`ArrowDtype.__from_arrow__` not respecting if dtype is explicitly given (:issue:`52...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52677
2023-04-14T23:11:48Z
2023-04-18T16:56:03Z
2023-04-18T16:56:02Z
2023-04-18T17:00:56Z
ENH: ValueError when to_sql() receives empty name param
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 0772cadf6e737..a7c90282e4a9c 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -334,6 +334,7 @@ MultiIndex I/O ^^^ - :meth:`DataFrame.to_orc` now raising ``ValueError`` when non-default :class:`Index`...
- [ x] closes #49413 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [...
https://api.github.com/repos/pandas-dev/pandas/pulls/52675
2023-04-14T20:26:29Z
2023-04-17T17:11:28Z
2023-04-17T17:11:28Z
2023-04-17T17:11:34Z
Fixed import error message when extensions not built
diff --git a/pandas/__init__.py b/pandas/__init__.py index 1a549c09d22f7..6ddfbadcf91d1 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -18,20 +18,18 @@ ) del _hard_dependencies, _dependency, _missing_dependencies -# numpy compat -from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: i...
From a quick glance at the newcomers slack channel this is the question people ask about most often. It looks like pandas.compat indirectly imports the _libs folder via util._dectorators grabbing `cache_readonly`, so our try...except never gets the chance to run. It would be nice to add a test for this, not sure the...
https://api.github.com/repos/pandas-dev/pandas/pulls/52674
2023-04-14T18:47:17Z
2023-04-14T23:15:53Z
2023-04-14T23:15:53Z
2023-04-14T23:15:59Z
Backport PR #52391 on branch 2.0.x (BUG: dt.days for timedelta non-nano overflows int32)
diff --git a/asv_bench/benchmarks/tslibs/fields.py b/asv_bench/benchmarks/tslibs/fields.py index 23ae73811204c..3a2baec54109a 100644 --- a/asv_bench/benchmarks/tslibs/fields.py +++ b/asv_bench/benchmarks/tslibs/fields.py @@ -12,7 +12,7 @@ class TimeGetTimedeltaField: params = [ _sizes, - ["days", ...
Backport PR #52391: BUG: dt.days for timedelta non-nano overflows int32
https://api.github.com/repos/pandas-dev/pandas/pulls/52673
2023-04-14T17:48:51Z
2023-04-15T20:30:11Z
2023-04-15T20:30:11Z
2023-04-15T20:30:11Z
PERF/REF: concat
diff --git a/pandas/_libs/internals.pyi b/pandas/_libs/internals.pyi index 89b5443466d4e..14dfcb2b1e712 100644 --- a/pandas/_libs/internals.pyi +++ b/pandas/_libs/internals.pyi @@ -19,6 +19,9 @@ from pandas.core.arrays._mixins import NDArrayBackedExtensionArray from pandas.core.internals.blocks import Block as B de...
Motivated by #50652, which is a near-worst-case for our current concat implementation. This gets about a 10-15% bump on the case I've been profiling (num_rows=100, num_cols=50_000, num_dfs=7). I'm exploring other approaches that I expect to get much bigger gains from. The big upside here is the refactor. I find t...
https://api.github.com/repos/pandas-dev/pandas/pulls/52672
2023-04-14T17:11:40Z
2023-04-15T00:46:55Z
2023-04-15T00:46:55Z
2023-04-15T01:02:39Z
Backport PR #52638 on branch 2.0.x (CI: Skip testing step in Pypy job)
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 7338c7e450f3d..7bffd066b7e64 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -86,9 +86,6 @@ jobs: TEST_ARGS: ${{ matrix.test_args || '' }} PYTEST_WORKERS: 'auto' PYTEST_TARGET: ${{ matrix....
Backport PR #52638: CI: Skip testing step in Pypy job
https://api.github.com/repos/pandas-dev/pandas/pulls/52671
2023-04-14T16:43:31Z
2023-04-14T20:16:12Z
2023-04-14T20:16:12Z
2023-04-14T20:16:12Z
STYLE Modified pre-commit msg to sorting entries alphabetically
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index de36bf2d441c5..43b3699907325 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -422,7 +422,7 @@ repos: files: ^pandas/tests language: python - id: sort-whatsnew-items - name: sort whatsnew entries by...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52667
2023-04-14T10:15:29Z
2023-04-14T10:29:10Z
2023-04-14T10:29:10Z
2023-05-08T17:11:40Z
DEPS: drop np 1.20
diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index cd99a1e3e805c..460369f45e900 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -81,11 +81,11 @@ jobs: run: | case "${{matrix.python-version}}" in 3.8) - pip install numpy==1.20.3 ;;...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/52661
2023-04-13T19:49:07Z
2023-04-20T15:25:30Z
2023-04-20T15:25:30Z
2023-05-25T00:17:44Z
BLD: remove libreduction
diff --git a/pandas/_libs/reduction.pyi b/pandas/_libs/reduction.pyi deleted file mode 100644 index 525546f26c854..0000000000000 --- a/pandas/_libs/reduction.pyi +++ /dev/null @@ -1,6 +0,0 @@ -from typing import Any - -from pandas._typing import DtypeObj - -def check_result_array(obj: object, dtype: DtypeObj) -> None: ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52660
2023-04-13T19:34:52Z
2023-04-14T16:41:34Z
2023-04-14T16:41:34Z
2023-04-14T16:57:05Z
REF: lazify relativedelta imports
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 35f9f623bf8ef..4d9422143fe6a 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -305,6 +305,8 @@ Datetimelike - Bug in :func:`date_range` when ``freq`` was a :class:`DateOffset` with ``nanoseconds`` (:is...
In most cases we don't need it, so delay importing it until we do. in io.stata it can be replaced with datetime.timedelta. In the plotting code I _think_ it can be replaced with `tot_secs = (dmax-dmin).total_seconds()`, need to track down why that wasn't done in the first place.
https://api.github.com/repos/pandas-dev/pandas/pulls/52659
2023-04-13T19:33:00Z
2023-05-03T15:52:00Z
2023-05-03T15:52:00Z
2023-05-03T17:02:52Z
sort whatsnewnote as on main
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index 939473f132bcb..838fd4fa28442 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -14,35 +14,35 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression for subclasse...
xref https://github.com/pandas-dev/pandas/pull/52598#issuecomment-1507252640
https://api.github.com/repos/pandas-dev/pandas/pulls/52658
2023-04-13T18:22:58Z
2023-04-13T20:41:55Z
2023-04-13T20:41:55Z
2023-04-13T20:42:05Z
PERF: avoid is_datetime64_any_dtype
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index 8660cbc0af1b5..234d26186aab0 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -83,7 +83,6 @@ from pandas.core.dtypes.common import ( is_all_strings, - is_datetime64_any_dtype,...
This was written with numpy dtypes and DatetimeTZDtype in mind, but will now catch 3rd party and ArrowDtype[timestamp] too, so will be a footgun.
https://api.github.com/repos/pandas-dev/pandas/pulls/52651
2023-04-13T14:21:26Z
2023-04-19T20:54:33Z
2023-04-19T20:54:33Z
2023-04-19T23:17:10Z
PERF: avoid com.is_datetime_or_timedelta_dtype
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index 658ffb4669c3c..2132a3dcbf292 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -84,7 +84,6 @@ from pandas.core.dtypes.common import ( is_all_strings, is_datetime64_any_dtype, -...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52649
2023-04-13T14:16:45Z
2023-04-13T21:00:23Z
2023-04-13T21:00:23Z
2023-04-13T21:07:10Z
CLN: clean-up numpy/function.py
diff --git a/pandas/compat/numpy/function.py b/pandas/compat/numpy/function.py index f6e80aba0c34f..a36e25a9df410 100644 --- a/pandas/compat/numpy/function.py +++ b/pandas/compat/numpy/function.py @@ -69,25 +69,27 @@ def __call__( max_fname_arg_count=None, method: str | None = None, ) -> None: - ...
Some simplifications in numpy/functions.py
https://api.github.com/repos/pandas-dev/pandas/pulls/52648
2023-04-13T12:19:27Z
2023-04-13T21:02:15Z
2023-04-13T21:02:15Z
2023-04-14T05:04:12Z
Backport PR #52637 on branch 2.0.x (CI: Remove ArrayManager job)
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 1929b81df4709..7338c7e450f3d 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -59,10 +59,6 @@ jobs: env_file: actions-310.yaml pattern: "not slow and not network and not single_cpu" ...
Backport PR #52637: CI: Remove ArrayManager job
https://api.github.com/repos/pandas-dev/pandas/pulls/52646
2023-04-13T10:18:25Z
2023-04-13T16:05:36Z
2023-04-13T16:05:36Z
2023-04-13T16:05:36Z
TST: crosstab margins with ordered categorical column
diff --git a/pandas/tests/reshape/test_crosstab.py b/pandas/tests/reshape/test_crosstab.py index 2f2ac7b456064..d894a8fe5391d 100644 --- a/pandas/tests/reshape/test_crosstab.py +++ b/pandas/tests/reshape/test_crosstab.py @@ -818,6 +818,27 @@ def test_margin_support_Float(self): ) tm.assert_frame_equal...
- [x] closes #25278 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/52645
2023-04-13T07:00:34Z
2023-04-13T21:06:57Z
2023-04-13T21:06:57Z
2023-04-13T21:07:06Z
DEPR: is_period_dtype, is_sparse
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index c34d5f3c467a2..1405658cb9ba5 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -5226,6 +5226,7 @@ See the `Full Documentation <https://github.com/wesm/feather>`__. Write to a feather file. .. ipython:: pytho...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52642
2023-04-13T02:02:10Z
2023-04-22T10:33:54Z
2023-04-22T10:33:54Z
2023-04-22T14:12:01Z
Backport PR #52556 on branch 2.0.x (BLD: Add DLL hashes to RECORD)
diff --git a/ci/fix_wheels.py b/ci/fix_wheels.py index 525aacf572cd4..76b70fdde9ea0 100644 --- a/ci/fix_wheels.py +++ b/ci/fix_wheels.py @@ -1,5 +1,14 @@ +""" +This file "repairs" our Windows wheels by copying the necessary DLLs for pandas to run +on a barebones Windows installation() into the wheel. + +NOTE: The paths...
Backport PR #52556: BLD: Add DLL hashes to RECORD
https://api.github.com/repos/pandas-dev/pandas/pulls/52641
2023-04-13T01:41:25Z
2023-04-13T10:17:44Z
2023-04-13T10:17:44Z
2023-04-13T10:17:45Z
DOC: Remove notes to old Python/package versions
diff --git a/doc/source/development/extending.rst b/doc/source/development/extending.rst index 1d52a5595472b..b829cfced6962 100644 --- a/doc/source/development/extending.rst +++ b/doc/source/development/extending.rst @@ -450,7 +450,7 @@ Below is an example to define two original properties, "internal_cache" as a tem P...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/52640
2023-04-13T00:50:01Z
2023-04-13T10:19:16Z
2023-04-13T10:19:16Z
2023-04-13T16:05:49Z
CI: Skip testing step in Pypy job
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 97ca346142ec1..e84427a31b64a 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -92,9 +92,6 @@ jobs: TEST_ARGS: ${{ matrix.test_args || '' }} PYTEST_WORKERS: 'auto' PYTEST_TARGET: ${{ matrix....
@lithomas1 during today's dev call, I asked if we still need the Pypy build since it's actively failing (but passing in the CI) and no one is really ensuring we have compat with Pypy. Thought if we can remove it?
https://api.github.com/repos/pandas-dev/pandas/pulls/52638
2023-04-12T22:44:51Z
2023-04-14T16:43:05Z
2023-04-14T16:43:05Z
2023-04-14T16:43:09Z
CI: Remove ArrayManager job
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 97ca346142ec1..ee765d8c01e60 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -60,10 +60,6 @@ jobs: env_file: actions-310.yaml pattern: "not slow and not network and not single_cpu" ...
As discussed during today's dev call, we agreed that it's okay to remove the ArrayManager CI job since it's not under active development
https://api.github.com/repos/pandas-dev/pandas/pulls/52637
2023-04-12T22:16:08Z
2023-04-13T10:18:16Z
2023-04-13T10:18:16Z
2023-04-13T16:05:17Z
Backport PR #52630 on branch 2.0.x (REGR: pivot changing index name of input object)
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index 4380c4c1608c8..939473f132bcb 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -17,6 +17,7 @@ Fixed regressions - Fixed regression in :meth:`Series.describe` showing ``RuntimeWarning`` for extension dty...
Backport PR #52630: REGR: pivot changing index name of input object
https://api.github.com/repos/pandas-dev/pandas/pulls/52636
2023-04-12T21:06:10Z
2023-04-12T23:04:17Z
2023-04-12T23:04:17Z
2023-04-12T23:04:17Z
CLN: Use #pragma once instead of include guards
diff --git a/pandas/_libs/pd_parser.h b/pandas/_libs/pd_parser.h index acdc08bbad484..72254090c0056 100644 --- a/pandas/_libs/pd_parser.h +++ b/pandas/_libs/pd_parser.h @@ -6,8 +6,7 @@ All rights reserved. Distributed under the terms of the BSD Simplified License. */ -#ifndef PANDAS__LIBS_PD_PARSER_H_ -#define PAND...
Shouldn't make any practical difference, but the include guards are a bit annoying and error prone to update if you move files around. https://en.wikipedia.org/wiki/Pragma_once
https://api.github.com/repos/pandas-dev/pandas/pulls/52635
2023-04-12T20:55:10Z
2023-04-12T23:41:32Z
2023-04-12T23:41:32Z
2023-04-12T23:41:46Z
Refactored custom datetime functions
diff --git a/pandas/_libs/tslibs/src/datetime/date_conversions.c b/pandas/_libs/tslibs/src/datetime/date_conversions.c index e2d583470fa51..190713d62d306 100644 --- a/pandas/_libs/tslibs/src/datetime/date_conversions.c +++ b/pandas/_libs/tslibs/src/datetime/date_conversions.c @@ -73,69 +73,6 @@ npy_datetime NpyDateTime...
Takes some of our custom code out of the vendored numpy module and puts it in a capsule. date_conversions.c is custom and could argue it should entirely be put into the capsule, but didn't want to do that here. The main motiviation is to make the work @jbrockmendel started in https://github.com/pandas-dev/pandas/pul...
https://api.github.com/repos/pandas-dev/pandas/pulls/52634
2023-04-12T20:43:30Z
2023-04-13T00:06:40Z
2023-04-13T00:06:40Z
2023-04-13T20:55:39Z
BUG: Logical and comparison ops with ArrowDtype & masked
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index 9c867544a324b..023cb68300433 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -34,6 +34,7 @@ Bug fixes - Bug in :meth:`DataFrame.max` and related casting different :class:`Timestamp` resolutions always...
- [x] closes #52625 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/52633
2023-04-12T20:39:39Z
2023-04-18T19:59:20Z
2023-04-18T19:59:19Z
2023-04-18T20:05:49Z
PERF: read_csv macro updates
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 0772cadf6e737..e860d59f2e5bd 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -88,6 +88,7 @@ Other enhancements - Improve error message when setting :class:`DataFrame` with wrong number of columns thro...
This gives us a few percentage points back in read_csv performance, especially with larger files. Credit to @Dr-Irv for the idea
https://api.github.com/repos/pandas-dev/pandas/pulls/52632
2023-04-12T20:00:36Z
2023-04-14T23:17:11Z
2023-04-14T23:17:11Z
2023-04-17T17:44:53Z
Backport PR #52138 on branch 2.0.x (DOC update contributors)
diff --git a/doc/sphinxext/announce.py b/doc/sphinxext/announce.py index 1c45c03f36d64..89361eb75606c 100755 --- a/doc/sphinxext/announce.py +++ b/doc/sphinxext/announce.py @@ -39,6 +39,9 @@ from git import Repo +# Contributors to be renamed. +CONTRIBUTOR_MAPPING = {"znkjnffrezna": "znetbgcubravk"} + UTF8Writer =...
Backport PR #52138: DOC update contributors
https://api.github.com/repos/pandas-dev/pandas/pulls/52631
2023-04-12T19:10:22Z
2023-04-12T20:45:02Z
2023-04-12T20:45:02Z
2023-04-12T20:45:03Z
REGR: pivot changing index name of input object
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index 4380c4c1608c8..939473f132bcb 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -17,6 +17,7 @@ Fixed regressions - Fixed regression in :meth:`Series.describe` showing ``RuntimeWarning`` for extension dty...
- [x] closes #52629 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/52630
2023-04-12T19:09:05Z
2023-04-12T21:06:01Z
2023-04-12T21:06:00Z
2023-04-12T21:08:24Z
DEPR: unused keywords in DTI/TDI construtors
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index c7b3335a8c774..9b5cba1e1ee05 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -232,6 +232,8 @@ Deprecations - Deprecated :func:`is_int64_dtype`, check ``dtype == np.dtype(np.int64)`` instead (:issue:`5...
- [x] closes #49153 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/52628
2023-04-12T17:45:09Z
2023-04-12T21:07:35Z
2023-04-12T21:07:35Z
2023-04-12T21:08:32Z
CI: Fix spelling errors
diff --git a/doc/source/whatsnew/v0.14.0.rst b/doc/source/whatsnew/v0.14.0.rst index b8e7eae8de841..99fdf8653bd1c 100644 --- a/doc/source/whatsnew/v0.14.0.rst +++ b/doc/source/whatsnew/v0.14.0.rst @@ -506,7 +506,7 @@ See also issues (:issue:`6134`, :issue:`4036`, :issue:`3057`, :issue:`2598`, :is You should speci...
Fix some spelling errors of "multi".
https://api.github.com/repos/pandas-dev/pandas/pulls/52627
2023-04-12T16:22:28Z
2023-04-12T16:57:13Z
2023-04-12T16:57:13Z
2023-04-13T03:49:30Z
ENH: Add support for storage_options in pd.read_html
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index daf4c7b54331b..3dba120c0c64b 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -2490,6 +2490,47 @@ Read a URL with no options: The data from the above URL changes every Monday so the resulting data above m...
- [x] closes #49944 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x]...
https://api.github.com/repos/pandas-dev/pandas/pulls/52620
2023-04-12T11:26:07Z
2023-07-18T23:00:27Z
2023-07-18T23:00:27Z
2023-08-10T07:31:36Z
Backport PR #52566 on branch 2.0.x (BUG: DataFrame reductions casting ts resolution always to nanoseconds)
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index a98c162c37d74..78cf00cff2a6e 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -28,6 +28,7 @@ Bug fixes - Bug in :meth:`Series.describe` not returning :class:`ArrowDtype` with ``pyarrow.float64`` type w...
Backport PR #52566: BUG: DataFrame reductions casting ts resolution always to nanoseconds
https://api.github.com/repos/pandas-dev/pandas/pulls/52618
2023-04-12T08:14:50Z
2023-04-12T15:54:35Z
2023-04-12T15:54:35Z
2023-04-12T15:54:35Z
REGR: DataFrame.resample fails on a frame with no columns
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index 023cb68300433..d1eae1b00bf23 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression for subclassed Series when constructing from a dicti...
- [x] closes #52484 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/52615
2023-04-12T01:18:02Z
2023-04-20T15:20:41Z
2023-04-20T15:20:41Z
2023-04-21T02:22:00Z
ENH: Implement more str accessor methods for ArrowDtype
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index c64f7a46d3058..dfc9b0e265b03 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -44,6 +44,7 @@ Other - :class:`DataFrame` created from empty dicts had :attr:`~DataFrame.columns` of dtype ``object``. It ...
Most of these don't have corresponding pyarrow compute methods
https://api.github.com/repos/pandas-dev/pandas/pulls/52614
2023-04-12T00:50:12Z
2023-04-21T23:41:06Z
2023-04-21T23:41:06Z
2023-04-21T23:46:47Z
DEPR: concat ignoring all-NA columns
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 9dbe450261e54..ec0b04f8b3b77 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -279,11 +279,11 @@ if one of the DataFrames was empty or had all-NA values, its dtype was *sometimes* ignored when finding ...
- [x] closes #40893 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/52613
2023-04-12T00:42:52Z
2023-04-18T18:03:31Z
2023-04-18T18:03:31Z
2023-04-18T18:04:43Z
Backport PR #52606 on branch 2.0.x (BUG: to_numeric(errors='coerce', dtype_backend='pyarrow') with ArrowDtype)
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index a98c162c37d74..13f06f92aa4ff 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -31,6 +31,7 @@ Bug fixes - Bug in :meth:`ArrowDtype.__from_arrow__` not respecting if dtype is explicitly given (:issue:`52...
Backport PR #52606: BUG: to_numeric(errors='coerce', dtype_backend='pyarrow') with ArrowDtype
https://api.github.com/repos/pandas-dev/pandas/pulls/52611
2023-04-11T23:25:06Z
2023-04-12T08:15:31Z
2023-04-12T08:15:31Z
2023-04-12T08:15:31Z
CI: Fix syntax error in comment-commands.yml
diff --git a/.github/workflows/comment-commands.yml b/.github/workflows/comment-commands.yml index 30dfd6acbeb7b..47c3bbc93d46e 100644 --- a/.github/workflows/comment-commands.yml +++ b/.github/workflows/comment-commands.yml @@ -12,7 +12,7 @@ jobs: issue_assign: runs-on: ubuntu-22.04 steps: - - if: !git...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/52610
2023-04-11T23:22:53Z
2023-04-11T23:24:37Z
2023-04-11T23:24:37Z
2023-04-11T23:24:40Z
Backport PR #52555 on branch 2.0.x (BUG: DatetimeArray.unit when constructed from a non-nano ndarray)
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index 46a780befcede..fe8b19aafdfef 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -30,6 +30,7 @@ Bug fixes - Bug in :func:`pandas.testing.assert_series_equal` where ``check_dtype=False`` would still raise ...
Backport PR #52555: BUG: DatetimeArray.unit when constructed from a non-nano ndarray
https://api.github.com/repos/pandas-dev/pandas/pulls/52608
2023-04-11T21:31:02Z
2023-04-11T23:11:55Z
2023-04-11T23:11:55Z
2023-04-11T23:11:56Z
DEPR: is_datetime64tz_dtype, is_interval_dtype
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index fca355069ae74..17bd833cb746f 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -228,6 +228,8 @@ Deprecations - Deprecated ``freq`` parameter in :class:`PeriodArray` constructor, pass ``dtype`` instead (...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/52607
2023-04-11T21:05:59Z
2023-04-12T17:05:42Z
2023-04-12T17:05:42Z
2023-04-12T17:06:13Z
BUG: to_numeric(errors='coerce', dtype_backend='pyarrow') with ArrowDtype
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index a98c162c37d74..13f06f92aa4ff 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -31,6 +31,7 @@ Bug fixes - Bug in :meth:`ArrowDtype.__from_arrow__` not respecting if dtype is explicitly given (:issue:`52...
- [x] closes #52588 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/52606
2023-04-11T20:38:54Z
2023-04-11T23:09:15Z
2023-04-11T23:09:15Z
2023-04-11T23:25:42Z
PERF: remove is_1d_only_ea_obj
diff --git a/pandas/core/array_algos/take.py b/pandas/core/array_algos/take.py index c97891b0a460d..1e2f52a6a9413 100644 --- a/pandas/core/array_algos/take.py +++ b/pandas/core/array_algos/take.py @@ -17,7 +17,7 @@ from pandas.core.dtypes.cast import maybe_promote from pandas.core.dtypes.common import ( ensure_p...
Avoids runtime imports.
https://api.github.com/repos/pandas-dev/pandas/pulls/52605
2023-04-11T20:31:18Z
2023-04-11T22:11:17Z
2023-04-11T22:11:17Z
2023-04-11T23:36:47Z
Backport PR #52499 on branch 2.0.x (ENH: Implement str.r/split for ArrowDtype)
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index 46a780befcede..7b4dc890da3e1 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -36,6 +36,7 @@ Bug fixes Other ~~~~~ +- Implemented :meth:`Series.str.split` and :meth:`Series.str.rsplit` for :class:`A...
Backport PR #52499: ENH: Implement str.r/split for ArrowDtype
https://api.github.com/repos/pandas-dev/pandas/pulls/52603
2023-04-11T18:28:03Z
2023-04-11T21:41:33Z
2023-04-11T21:41:33Z
2023-04-11T21:41:34Z
Backport PR #52572 on branch 2.0.x (REGR: MultiIndex.isin raising TypeError for generator)
diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst index a4a58811e382f..cfe7c587f039f 100644 --- a/doc/source/whatsnew/v2.0.1.rst +++ b/doc/source/whatsnew/v2.0.1.rst @@ -16,6 +16,7 @@ Fixed regressions - Fixed regression for subclassed Series when constructing from a dictionary (:issue:`5244...
Backport PR #52572: REGR: MultiIndex.isin raising TypeError for generator
https://api.github.com/repos/pandas-dev/pandas/pulls/52602
2023-04-11T16:30:56Z
2023-04-11T18:25:28Z
2023-04-11T18:25:28Z
2023-04-11T18:25:29Z
Backport PR #52596 on branch 2.0.x (DOC Added that DatetimeIndex needs to be ordered on first())
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index e549ab7a165fe..0243ec38d3b92 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8905,7 +8905,7 @@ def first(self: NDFrameT, offset) -> NDFrameT: """ Select initial periods of time series data based on a date offset. ...
Backport PR #52596: DOC Added that DatetimeIndex needs to be ordered on first()
https://api.github.com/repos/pandas-dev/pandas/pulls/52600
2023-04-11T16:08:08Z
2023-04-11T18:24:51Z
2023-04-11T18:24:51Z
2023-04-11T18:24:51Z
REF: make ops a directory
diff --git a/pandas/core/ops.py b/pandas/core/ops/__init__.py similarity index 98% rename from pandas/core/ops.py rename to pandas/core/ops/__init__.py index 5c58a1433ba3c..6fd53c4b24471 100644 --- a/pandas/core/ops.py +++ b/pandas/core/ops/__init__.py @@ -51,6 +51,21 @@ import pandas.core.common as com import pandas...
In working on #27130 I'm finding we have a number of kludges where we check for operator names instead of operator identity because we haven't imported ops.radd, ops.rsub, etc. This is in general because of circularity-avoidance. So this PR breaks off those function definitions into roperator.py in a new core.ops dir...
https://api.github.com/repos/pandas-dev/pandas/pulls/27238
2019-07-05T00:08:55Z
2019-07-05T14:28:36Z
2019-07-05T14:28:36Z
2019-07-05T17:57:50Z