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: groupby.nth should be a filter
diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst index dae42dd4f1118..d8a36b1711b6e 100644 --- a/doc/source/user_guide/groupby.rst +++ b/doc/source/user_guide/groupby.rst @@ -1354,9 +1354,14 @@ This shows the first or last n rows from each group. Taking the nth row of each group ~~~~...
- [x] closes #13666 (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/49262
2022-10-23T12:54:15Z
2022-11-11T01:39:41Z
2022-11-11T01:39:41Z
2022-11-11T13:00:00Z
ENH: Add pre-commit check for setup.cfg options.extras_require
diff --git a/ci/deps/actions-38-minimum_versions.yaml b/ci/deps/actions-38-minimum_versions.yaml index 7cf6d777ae607..8e0ccd77b19a6 100644 --- a/ci/deps/actions-38-minimum_versions.yaml +++ b/ci/deps/actions-38-minimum_versions.yaml @@ -36,6 +36,7 @@ dependencies: - numba=0.53.1 - numexpr=2.7.3 - odfpy=1.4.1 +...
Augmented `scripts/validate_min_versions_in_sync.py` to ensure that minimum versions are aligned in other areas where minimum versions are specified (`setup.cfg`). - [x] closes #48949(Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49261
2022-10-23T12:17:43Z
2022-11-07T19:38:43Z
2022-11-07T19:38:43Z
2022-11-07T19:54:18Z
DEPR: enforce deprecation MultiIndex.is_lexsorted and MultiIndex.lexsort_depth
diff --git a/doc/source/whatsnew/v0.15.2.rst b/doc/source/whatsnew/v0.15.2.rst index 2dae76dd6b461..fd4946c9765e1 100644 --- a/doc/source/whatsnew/v0.15.2.rst +++ b/doc/source/whatsnew/v0.15.2.rst @@ -25,6 +25,7 @@ API changes a lexically sorted index will have a better performance. (:issue:`2646`) .. ipython::...
- [x] Added an entry in the latest `doc/source/whatsnew/v2.0.0.rst` file if fixing a bug or adding a new feature. Deprecation introduced in #38701
https://api.github.com/repos/pandas-dev/pandas/pulls/49260
2022-10-23T12:01:40Z
2022-10-23T22:15:40Z
2022-10-23T22:15:40Z
2022-10-26T10:17:55Z
DEPR: disallow non-keyword arguments
diff --git a/asv_bench/benchmarks/io/stata.py b/asv_bench/benchmarks/io/stata.py index 4ae2745af8bff..1ff929d6dbdea 100644 --- a/asv_bench/benchmarks/io/stata.py +++ b/asv_bench/benchmarks/io/stata.py @@ -38,13 +38,13 @@ def setup(self, convert_dates): ) self.df["float32_"] = np.array(np.random.randn(...
- [ ] 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/49259
2022-10-23T03:22:02Z
2022-10-24T20:14:26Z
2022-10-24T20:14:26Z
2022-10-24T20:22:27Z
DEPR: drop setting categorical codes
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0880b8e2cac12..0d6660b4a27f1 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -198,6 +198,7 @@ Removal of prior version deprecations/changes - Removed ``pandas.SparseArray`` in favor of :class:`arrays....
- [ ] 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/49258
2022-10-23T02:08:55Z
2022-10-24T20:30:14Z
2022-10-24T20:30:14Z
2022-10-25T05:03:54Z
DEPR: enforce deprecation of Categorical.replace
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0880b8e2cac12..46fbb41a86d2f 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -187,6 +187,7 @@ Removal of prior version deprecations/changes - Removed :attr:`Rolling.win_type` returning ``"freq"`` (:is...
- [x] Added an entry in the latest `doc/source/whatsnew/v2.0.0.rst` file if fixing a bug or adding a new feature. Deprecation added in #44929
https://api.github.com/repos/pandas-dev/pandas/pulls/49255
2022-10-22T22:55:14Z
2022-10-23T17:27:42Z
2022-10-23T17:27:42Z
2022-10-26T10:17:55Z
DEPR: is_categorical
diff --git a/doc/redirects.csv b/doc/redirects.csv index 8a55c48996e84..35bf56b9b824c 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -101,7 +101,6 @@ generated/pandas.api.types.infer_dtype,../reference/api/pandas.api.types.infer_d generated/pandas.api.types.is_bool_dtype,../reference/api/pandas.api.types.is...
- [ ] 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/49253
2022-10-22T22:46:33Z
2022-10-24T05:49:05Z
2022-10-24T05:49:05Z
2022-10-24T14:31:51Z
DEPR: Enforce deprecation of mad and tshift
diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py index 3007d2d1e126c..97f48a3a6f69f 100644 --- a/asv_bench/benchmarks/groupby.py +++ b/asv_bench/benchmarks/groupby.py @@ -35,7 +35,6 @@ "pct_change", "min", "var", - "mad", "describe", "std...
- [ ] 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/49252
2022-10-22T21:52:25Z
2022-10-23T17:31:33Z
2022-10-23T17:31:33Z
2022-10-23T18:11:58Z
DEPR: DataFrame.median/mean with numeric_only=None and dt64 columns
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index e281e250d608e..87b1e371ab4d8 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -185,6 +185,7 @@ Removal of prior version deprecations/changes - Removed :attr:`Rolling.is_datetimelike` (:issue:`38963`) ...
- [ ] 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/49250
2022-10-22T18:42:16Z
2022-10-30T12:21:10Z
2022-10-30T12:21:10Z
2022-10-30T16:19:50Z
read_json engine keyword and pyarrow integration
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 1c3cdd9f4cffd..d0cd5c300248b 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -2069,6 +2069,8 @@ is ``None``. To explicitly force ``Series`` parsing, pass ``typ=series`` * ``lines`` : reads file as one json ob...
- [ ] closes #48893 - [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/49249
2022-10-22T18:21:12Z
2023-02-10T12:26:44Z
2023-02-10T12:26:44Z
2023-02-10T14:50:15Z
DEPR: to_native_types, set_value, iteritems, union_many, to_perioddelta
diff --git a/doc/redirects.csv b/doc/redirects.csv index 8a55c48996e84..5cf310e062dc3 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -399,10 +399,8 @@ generated/pandas.DataFrame.isna,../reference/api/pandas.DataFrame.isna generated/pandas.DataFrame.isnull,../reference/api/pandas.DataFrame.isnull generated/...
- [ ] 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/49244
2022-10-22T01:26:23Z
2022-10-24T20:42:07Z
2022-10-24T20:42:07Z
2022-10-24T20:47:39Z
STYLE: fix pylint consider-using-dict-items warnings
diff --git a/pandas/conftest.py b/pandas/conftest.py index 074b6068a4518..0282278183dd3 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -653,7 +653,7 @@ def index(request): @pytest.fixture( params=[ - key for key in indices_dict if not isinstance(indices_dict[key], MultiIndex) + key fo...
Related to https://github.com/pandas-dev/pandas/issues/48855 - [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/contr...
https://api.github.com/repos/pandas-dev/pandas/pulls/49243
2022-10-22T00:22:36Z
2022-10-24T20:44:38Z
2022-10-24T20:44:38Z
2022-10-25T11:28:03Z
DEPR: Series(dt64_naive, dtype=dt64tz)
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 1050eed40fbb4..be4a7f6390e37 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -165,6 +165,7 @@ Removal of prior version deprecations/changes - Removed deprecated :meth:`Index.is_mixed`, check ``index.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/49242
2022-10-21T23:42:51Z
2022-10-25T18:37:32Z
2022-10-25T18:37:31Z
2022-10-25T19:28:49Z
CI/TST: pip extras install
diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml new file mode 100644 index 0000000000000..762cb509be136 --- /dev/null +++ b/.github/workflows/package-checks.yml @@ -0,0 +1,56 @@ +name: Package Checks + +on: + push: + branches: + - main + - 1.5.x + pull_request: + ...
- [x] closes #48942 (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 `(c-)blosc` is only available on conda, so removing it from the pip extras https:/...
https://api.github.com/repos/pandas-dev/pandas/pulls/49241
2022-10-21T22:51:16Z
2022-11-16T22:19:13Z
2022-11-16T22:19:13Z
2022-11-18T20:23:19Z
DEPR: categorical.mode
diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index 164dc74836508..48371b7f14b28 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -2353,29 +2353,6 @@ def max(self, *, skipna: bool = True, **kwargs): pointer = self._codes.max() ...
- [ ] 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/49238
2022-10-21T20:28:15Z
2022-10-22T11:42:11Z
2022-10-22T11:42:11Z
2022-10-22T21:45:22Z
STYLE: fix pylint no-else-break warnings
diff --git a/pandas/io/parsers/python_parser.py b/pandas/io/parsers/python_parser.py index daf89319a4520..ddd73375f8871 100644 --- a/pandas/io/parsers/python_parser.py +++ b/pandas/io/parsers/python_parser.py @@ -704,7 +704,7 @@ def _next_line(self) -> list[Scalar]: self._is_line_empty(self.dat...
Related to https://github.com/pandas-dev/pandas/issues/48855 - [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/contr...
https://api.github.com/repos/pandas-dev/pandas/pulls/49237
2022-10-21T19:00:45Z
2022-10-21T23:31:29Z
2022-10-21T23:31:29Z
2022-10-21T23:31:53Z
DEPR: enforce DatetimeArray.astype deprecations
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 4ac737bb6b29a..6f3602b1d0202 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -148,6 +148,8 @@ Removal of prior version deprecations/changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Enforced de...
- [ ] 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/49235
2022-10-21T16:10:18Z
2022-10-21T20:13:34Z
2022-10-21T20:13:34Z
2022-10-21T20:17:24Z
DEPR: PeriodIndex.astype how keyword
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 4ac737bb6b29a..74a50f435de5d 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -156,6 +156,7 @@ Removal of prior version deprecations/changes - Remove arguments ``names`` and ``dtype`` from :meth:`Index...
- [ ] 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/49234
2022-10-21T15:01:21Z
2022-10-21T20:09:58Z
2022-10-21T20:09:58Z
2022-10-21T20:16:57Z
CLN/FIX/PERF: Don't buffer entire Stata file into memory
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 91cd3335d9db6..3c3a655626bb6 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -6033,6 +6033,14 @@ values will have ``object`` data type. ``int64`` for all integer types and ``float64`` for floating point da...
Fixes #48700 Closes #48922 (supersedes it) Refs pandas-dev/pandas#9245 Refs pandas-dev/pandas#37639 Regressed in 6d1541e1782a7b94797d5432922e64a97934cfa4 - [x] closes #48700 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a...
https://api.github.com/repos/pandas-dev/pandas/pulls/49228
2022-10-21T12:50:16Z
2023-02-23T22:09:28Z
2023-02-23T22:09:28Z
2023-02-24T19:25:49Z
DOC: Fixing typos in our community page
diff --git a/doc/source/development/community.rst b/doc/source/development/community.rst index 59689a2cf51d1..c321c9b0cccf6 100644 --- a/doc/source/development/community.rst +++ b/doc/source/development/community.rst @@ -77,10 +77,10 @@ Any community member can open issues to: - Ask questions, e.g. "I noticed the beha...
@Dr-Irv do you mind having a look please?
https://api.github.com/repos/pandas-dev/pandas/pulls/49225
2022-10-21T04:41:31Z
2022-10-21T13:42:05Z
2022-10-21T13:42:05Z
2022-10-21T13:42:06Z
ADM/WEB: Update CoC committee members
diff --git a/web/pandas/config.yml b/web/pandas/config.yml index 16e1357d405a0..7f581a6754642 100644 --- a/web/pandas/config.yml +++ b/web/pandas/config.yml @@ -102,11 +102,10 @@ maintainers: - charlesdong1991 - dsaxton coc: - - Safia Abdalla + - Bijay Regmi + - Wuraola Oyewusi + - Мария Чакчурина - Tom...
Updating members of the CoC committee. CC: @regmibijay @WuraolaOyewusi @chakchurina The list will appear in our [Team](https://pandas.pydata.org/about/team.html) page. We can also add to the config file the github usernames, and instead of just listing the names, we can list the names with links like the inactive...
https://api.github.com/repos/pandas-dev/pandas/pulls/49224
2022-10-21T04:08:55Z
2022-11-15T04:55:37Z
2022-11-15T04:55:37Z
2022-11-15T04:55:37Z
DEPR: is_copy arg from take
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 4ac737bb6b29a..01745ab0736d6 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -157,6 +157,7 @@ Removal of prior version deprecations/changes - Remove argument ``inplace`` from :meth:`MultiIndex.set_lev...
- [x] Added an entry in the latest `doc/source/whatsnew/v2.0.0.rst` file if fixing a bug or adding a new feature. Deprecation introduced in #30615.
https://api.github.com/repos/pandas-dev/pandas/pulls/49221
2022-10-21T00:01:51Z
2022-10-21T20:16:51Z
2022-10-21T20:16:51Z
2022-10-26T10:18:05Z
DEPR: Categorical, Index
diff --git a/doc/redirects.csv b/doc/redirects.csv index 6a79ed5958089..42f91a8b9884f 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -637,7 +637,6 @@ generated/pandas.Index.argmax,../reference/api/pandas.Index.argmax generated/pandas.Index.argmin,../reference/api/pandas.Index.argmin generated/pandas.Index....
- [ ] 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/49220
2022-10-20T23:34:49Z
2022-10-21T20:19:42Z
2022-10-21T20:19:42Z
2022-10-21T20:27:00Z
Fix code triggering superfluous-parens pylint messages
diff --git a/pandas/core/computation/pytables.py b/pandas/core/computation/pytables.py index f0f3e7f19db50..bea3da589d86e 100644 --- a/pandas/core/computation/pytables.py +++ b/pandas/core/computation/pytables.py @@ -470,7 +470,7 @@ def visit_Attribute(self, node, **kwargs): # try to get the value to see i...
- [ ] Contributes to #48855 - [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). There were several locations where superfluous parentheses were being used to clarify the operator precedence in potentially ambiguous situations. Parentheses were...
https://api.github.com/repos/pandas-dev/pandas/pulls/49219
2022-10-20T22:42:11Z
2022-10-24T20:51:20Z
2022-10-24T20:51:20Z
2022-10-24T20:51:27Z
DOC: fixed typo
diff --git a/doc/source/io.rst b/doc/source/io.rst index 17c7653072526..945b738e52480 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -4004,7 +4004,7 @@ and data values from the values and assembles them into a ``data.frame``: name_paths = paste(listing$group[name_nodes], listing$name[name_nodes], sep = "...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14892
2016-12-16T02:17:03Z
2016-12-16T09:18:26Z
2016-12-16T09:18:26Z
2016-12-16T16:17:02Z
DOC: Add documentation about cpplint
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index 38718bc5ca19a..ecc2a5e723c45 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -113,11 +113,12 @@ want to clone your fork to your machine:: This creates the directory `pandas-yourname` and connects your repository ...
1) Minor spelling and command errors. 2) Add that we also use AppVeyor for testing. 3) With the introduction of `cpplint`, document it and how to use. Follow-up to #14814.
https://api.github.com/repos/pandas-dev/pandas/pulls/14890
2016-12-15T21:40:07Z
2016-12-16T11:11:01Z
2016-12-16T11:11:01Z
2016-12-16T15:35:09Z
BUG: regression in DataFrame.combine_first with integer columns (GH14687)
diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt index dabc6036fc9ba..291b0ffde145e 100644 --- a/doc/source/whatsnew/v0.19.2.txt +++ b/doc/source/whatsnew/v0.19.2.txt @@ -78,7 +78,7 @@ Bug Fixes - Bug in clipboard functions on linux with python2 with unicode and separators (:issue:`13747`...
closes #14687
https://api.github.com/repos/pandas-dev/pandas/pulls/14886
2016-12-15T10:53:24Z
2016-12-16T09:43:42Z
2016-12-16T09:43:42Z
2016-12-16T09:43:42Z
TST: Test datetime array assignment with different units (#7492)
diff --git a/pandas/tests/frame/test_timeseries.py b/pandas/tests/frame/test_timeseries.py index 9758c2b9c805e..c6c3b4f43b55a 100644 --- a/pandas/tests/frame/test_timeseries.py +++ b/pandas/tests/frame/test_timeseries.py @@ -366,6 +366,21 @@ def test_operation_on_NaT(self): exp = pd.Series([pd.NaT], index=["fo...
- [x] closes #7492 - [x] tests added / passed - [x] passes ``git diff upstream/master | flake8 --diff`` The example in this issue currently works in master. Added a test to confirm. Based on a quick skim of the recent PRs, doesn't look like it was fixed recently.
https://api.github.com/repos/pandas-dev/pandas/pulls/14884
2016-12-15T06:06:56Z
2016-12-17T23:13:43Z
2016-12-17T23:13:43Z
2016-12-21T04:20:11Z
DOC: add floats and ints missing as acceptable arguments for pandas.t…
diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py index 326bc5be3fd8f..21e1c9744aa88 100644 --- a/pandas/tseries/tools.py +++ b/pandas/tseries/tools.py @@ -183,7 +183,7 @@ def to_datetime(arg, errors='raise', dayfirst=False, yearfirst=False, Parameters ---------- - arg : string, datetime, li...
- [ ] closes #14556 - [ ] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [ ] whatsnew entry …o_datetime
https://api.github.com/repos/pandas-dev/pandas/pulls/14864
2016-12-12T10:21:00Z
2016-12-12T11:10:35Z
2016-12-12T11:10:35Z
2017-03-24T20:14:03Z
TST: Parse dates with empty space (#6428)
diff --git a/doc/source/io.rst b/doc/source/io.rst index 75f36c5274cd2..17c7653072526 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -867,6 +867,12 @@ data columns: index_col=0) #index is the nominal column df +.. note:: + If a column or index contains an unparseable date, the en...
- [x] closes #6428 - [x] tests added / passed - [x] passes ``git diff upstream/master | flake8 --diff`` Parsing a date with an empty space no longer returns today's date on master 0.19.1. Not sure when this was fixed, but it doesn't seem like it occurred recently.
https://api.github.com/repos/pandas-dev/pandas/pulls/14862
2016-12-12T05:07:13Z
2016-12-14T11:07:26Z
2016-12-14T11:07:26Z
2016-12-21T04:19:30Z
TST: Test DatetimeIndex weekend offset
diff --git a/pandas/tests/indexes/test_datetimelike.py b/pandas/tests/indexes/test_datetimelike.py index 68db163be6fde..0017271fe6c97 100644 --- a/pandas/tests/indexes/test_datetimelike.py +++ b/pandas/tests/indexes/test_datetimelike.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from datetime import datetime, timedelt...
closes #5348 closes #5115 closes #5152 The original issues pass on master as of 0.19.1. These related issues might have been fixed part of #5004, but it doesn't look like that any PRs fixed this recently.
https://api.github.com/repos/pandas-dev/pandas/pulls/14853
2016-12-10T21:23:26Z
2016-12-11T14:06:54Z
2016-12-11T14:06:54Z
2016-12-21T04:17:50Z
TST: skip testing on windows for specific formatting which sometimes hang
diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py index 628095a2fcbd3..2dfeb7da07a3d 100644 --- a/pandas/tests/indexes/test_base.py +++ b/pandas/tests/indexes/test_base.py @@ -915,23 +915,12 @@ def test_format(self): self._check_method_works(Index.format) # GH 14626 ...
xref #14626
https://api.github.com/repos/pandas-dev/pandas/pulls/14851
2016-12-10T14:52:35Z
2016-12-10T15:31:53Z
2016-12-10T15:31:53Z
2016-12-10T15:31:53Z
DOC: astype now takes dict mapping col names to datatypes (#14761)
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index e7db814483905..2e8abe0a5c329 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1757,6 +1757,7 @@ then the more *general* one will be used as the result of the operation. # conversion of dtypes df3.astype('float32').dtypes + Con...
- [x] closes https://github.com/pandas-dev/pandas/issues/14761 - [ ] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [x] whatsnew entry Updating documentation to reflect change
https://api.github.com/repos/pandas-dev/pandas/pulls/14837
2016-12-09T12:06:00Z
2016-12-22T13:37:19Z
2016-12-22T13:37:19Z
2016-12-22T15:18:51Z
BF(TST): use = (native) instead of < (little endian) for target data types
diff --git a/pandas/io/tests/parser/common.py b/pandas/io/tests/parser/common.py index 6eb73876c11dd..b6d1d4bb09f56 100644 --- a/pandas/io/tests/parser/common.py +++ b/pandas/io/tests/parser/common.py @@ -1453,7 +1453,7 @@ def test_as_recarray(self): FutureWarning, check_stacklevel=False): ...
- [ ] closes #14830 - [ ] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [ ] whatsnew entry It is still WiP -- just thought to submit a PR to see how travis etc reacts on typical platforms
https://api.github.com/repos/pandas-dev/pandas/pulls/14832
2016-12-08T17:59:51Z
2016-12-09T19:34:32Z
2016-12-09T19:34:32Z
2017-01-12T14:44:57Z
frame_methods benchmarking sum instead of mean
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 3daffb9d3a1cc..8cbf5b8d97b70 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -299,7 +299,7 @@ def time_apply_axis_1(self): self.df.apply((lambda x: (x + 1)), axis=1...
Not sure if the function name or the method call is incorrect, but it looks like this should be benchmarking `mean` instead of `sum`
https://api.github.com/repos/pandas-dev/pandas/pulls/14824
2016-12-08T05:49:12Z
2016-12-10T21:31:12Z
2016-12-10T21:31:12Z
2016-12-21T04:16:25Z
Fixed KDE Plot to drop the missing values
diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt index 231297df3fb8f..caf195afc4966 100644 --- a/doc/source/whatsnew/v0.19.2.txt +++ b/doc/source/whatsnew/v0.19.2.txt @@ -79,4 +79,6 @@ Bug Fixes - Explicit check in ``to_stata`` and ``StataWriter`` for out-of-range values when writing do...
- [x] closes https://github.com/pandas-dev/pandas/issues/14821 - [x] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14820
2016-12-08T01:38:48Z
2016-12-15T15:40:38Z
2016-12-15T15:40:38Z
2016-12-24T02:07:26Z
Changed pandas-qt python2/3 friendly qtpandas.
diff --git a/doc/source/faq.rst b/doc/source/faq.rst index d23e0ca59254d..b96660be97d71 100644 --- a/doc/source/faq.rst +++ b/doc/source/faq.rst @@ -111,5 +111,5 @@ Visualizing Data in Qt applications ----------------------------------- There is no support for such visualization in pandas. However, the external -pa...
Just changed the link to the abandoned repository python 2 only pandas-qt to the new functional Python 2/3 friendly qtpandas.
https://api.github.com/repos/pandas-dev/pandas/pulls/14818
2016-12-07T20:38:44Z
2016-12-29T14:56:29Z
2016-12-29T14:56:29Z
2016-12-29T22:27:38Z
BUG: Prevent addition overflow with TimedeltaIndex
diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py index 20d149493951f..fe657936c403e 100644 --- a/asv_bench/benchmarks/algorithms.py +++ b/asv_bench/benchmarks/algorithms.py @@ -18,7 +18,7 @@ def setup(self): self.float = pd.Float64Index(np.random.randn(N).repeat(5)) ...
Expands checked-add array addition introduced in #14237 to include all other addition cases (i.e. `TimedeltaIndex` and `Timedelta`). Follow-up to #14453.
https://api.github.com/repos/pandas-dev/pandas/pulls/14816
2016-12-07T15:50:04Z
2016-12-17T23:25:08Z
2016-12-17T23:25:08Z
2016-12-24T02:15:57Z
COMPAT: numpy compat with 1-ndim object array compat and broadcasting
diff --git a/pandas/core/ops.py b/pandas/core/ops.py index 96b447cda4bc4..7c5ad04cc90b0 100644 --- a/pandas/core/ops.py +++ b/pandas/core/ops.py @@ -1176,6 +1176,13 @@ def na_op(x, y): yrav = y.ravel() mask = notnull(xrav) & notnull(yrav) xrav = xrav[mask] + + ...
xref #14808
https://api.github.com/repos/pandas-dev/pandas/pulls/14809
2016-12-06T11:58:47Z
2016-12-06T13:00:30Z
2016-12-06T13:00:30Z
2016-12-06T13:00:30Z
BUG: fix hash collisions for from int overflow
diff --git a/pandas/src/hash.pyx b/pandas/src/hash.pyx index a393e0df96954..06ed947808e39 100644 --- a/pandas/src/hash.pyx +++ b/pandas/src/hash.pyx @@ -40,7 +40,8 @@ def hash_object_array(ndarray[object] arr, object key, object encoding='utf8'): Py_ssize_t i, l, n ndarray[uint64_t] result by...
hash collisions brought up: https://github.com/pandas-dev/pandas/issues/14711#issuecomment-264885726 closes #14804
https://api.github.com/repos/pandas-dev/pandas/pulls/14805
2016-12-06T01:18:20Z
2016-12-06T13:15:08Z
2016-12-06T13:15:08Z
2016-12-06T13:15:08Z
DOC: Fix grammar and formatting typos
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 0053135e1fd85..0d4bcd781cf74 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2483,7 +2483,7 @@ def assign(self, **kwargs): Notes ----- Since ``kwargs`` is a dictionary, the order of your - arguments may not...
One grammatical typo, and the rest address small formatting typos when rendering online.
https://api.github.com/repos/pandas-dev/pandas/pulls/14803
2016-12-05T07:00:13Z
2016-12-08T16:41:52Z
2016-12-08T16:41:52Z
2016-12-21T04:15:21Z
DOC: minor format fix
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 3e84d15caf50b..a9d0ab5476b66 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -107,10 +107,8 @@ Splitting df = pd.DataFrame( {'AAA' : [4,5,6,7], 'BBB' : [10,20,30,40],'CCC' : [100,50,-30,-50]}); df - dflow = df[df...
in the original version. dflow is not displayed. see: http://pandas.pydata.org/pandas-docs/stable/cookbook.html#splitting
https://api.github.com/repos/pandas-dev/pandas/pulls/14802
2016-12-05T04:28:29Z
2016-12-05T08:57:01Z
2016-12-05T08:57:01Z
2016-12-05T08:57:14Z
DOC: add section on groupby().rolling/expanding/resample
diff --git a/doc/source/computation.rst b/doc/source/computation.rst index 1414d2dd3c8dc..d727424750be5 100644 --- a/doc/source/computation.rst +++ b/doc/source/computation.rst @@ -214,6 +214,11 @@ computing common *window* or *rolling* statistics. Among these are count, sum, mean, median, correlation, variance, covar...
- [x] closes #14759 This is my first PR here. Not sure about the missing entries in API reference. Need some guidance on that. The same doubt about the best place to put the xref in computation.rst and timeseries.rst Thanks.
https://api.github.com/repos/pandas-dev/pandas/pulls/14801
2016-12-05T02:52:52Z
2016-12-10T11:12:01Z
2016-12-10T11:12:01Z
2016-12-10T11:21:49Z
ENH: add timedelta as valid type for interpolate with method='time'
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index d89103309e990..f534c67273560 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -59,6 +59,7 @@ Other enhancements - ``Series`` provides a ``to_excel`` method to output Excel files (:issue:`8825`) - ...
- [x] closes #6424 - [x] tests added / passed - [x] passes ``git diff upstream/master | flake8 --diff`` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14799
2016-12-05T00:24:22Z
2016-12-10T11:19:49Z
2016-12-10T11:19:49Z
2016-12-10T11:20:03Z
Small typos
diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py index efcde100d1ce7..abb7018b2e25b 100644 --- a/pandas/tseries/offsets.py +++ b/pandas/tseries/offsets.py @@ -155,14 +155,14 @@ class DateOffset(object): DateOffsets can be created to move dates forward a given number of valid dates. For exam...
https://api.github.com/repos/pandas-dev/pandas/pulls/14789
2016-12-02T19:18:56Z
2016-12-02T22:27:27Z
2016-12-02T22:27:27Z
2016-12-02T22:27:35Z
DOC: warning section on memory overflow when joining/merging dataframes on index with duplicate keys
diff --git a/doc/source/merging.rst b/doc/source/merging.rst index c6541a26c72b4..f95987afd4c77 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -692,6 +692,29 @@ either the left or right tables, the values in the joined table will be p.plot([left, right], result, labels=['left', 'righ...
- [ ] closes #14736
https://api.github.com/repos/pandas-dev/pandas/pulls/14788
2016-12-02T09:41:58Z
2016-12-11T20:26:35Z
2016-12-11T20:26:35Z
2016-12-11T20:26:55Z
Fix typo at pandas/core/generic.py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 27ca817c19a63..7868969f477b0 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1095,7 +1095,7 @@ def to_hdf(self, path_or_buf, key, **kwargs): ---------- path_or_buf : the path (string) or HDFStore object ke...
`indentifier` -> `identifier`
https://api.github.com/repos/pandas-dev/pandas/pulls/14787
2016-12-02T04:11:03Z
2016-12-02T12:51:50Z
2016-12-02T12:51:50Z
2016-12-15T09:37:59Z
API: add dtype param to read_excel
diff --git a/doc/source/io.rst b/doc/source/io.rst index f524d37d0de60..f22374553e9c3 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -2538,6 +2538,20 @@ missing data to recover integer dtype: cfun = lambda x: int(x) if x else -1 read_excel('path_to_file.xls', 'Sheet1', converters={'MyInts': cfun}) ...
- [x] closes #8212 - [ ] tests added / passed - [x] passes ``git diff upstream/master | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14786
2016-12-02T02:02:22Z
2016-12-03T12:37:32Z
2016-12-03T12:37:32Z
2016-12-03T12:37:32Z
Fix a simple typo
diff --git a/pandas/core/ops.py b/pandas/core/ops.py index 7cff1104c50be..96b447cda4bc4 100644 --- a/pandas/core/ops.py +++ b/pandas/core/ops.py @@ -421,7 +421,7 @@ def _validate(self, lvalues, rvalues, name): # if tz's must be equal (same or None) if getattr(lvalues, 'tz', None) != getattr(...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [ ] whatsnew entry Insignificant PR, it's just fixing a single typo on an exception.
https://api.github.com/repos/pandas-dev/pandas/pulls/14785
2016-12-02T01:21:12Z
2016-12-02T12:52:55Z
2016-12-02T12:52:55Z
2016-12-15T09:38:06Z
ENH: Pandas Series provide to_excel method
diff --git a/doc/source/api.rst b/doc/source/api.rst index 638abd5421862..929664840f583 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -692,6 +692,7 @@ Serialization / IO / Conversion Series.to_pickle Series.to_csv Series.to_dict + Series.to_excel Series.to_frame Series.to_xarray ...
- [x] closes #8825 - [x] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14780
2016-12-01T07:51:08Z
2016-12-05T14:39:14Z
2016-12-05T14:39:14Z
2016-12-05T14:39:26Z
DOC: Remove SparseSeries from SparseArray doc
diff --git a/pandas/sparse/array.py b/pandas/sparse/array.py index a15def65cad7e..4bb36446c9ff7 100644 --- a/pandas/sparse/array.py +++ b/pandas/sparse/array.py @@ -547,8 +547,8 @@ def astype(self, dtype=None, copy=True): def copy(self, deep=True): """ - Make a copy of the SparseSeries. Only the ...
Title is self-explanatory. Looks like a failed copy-paste.
https://api.github.com/repos/pandas-dev/pandas/pulls/14769
2016-11-30T06:43:32Z
2016-11-30T11:03:10Z
2016-11-30T11:03:10Z
2016-11-30T16:52:51Z
DOC/TST: dtype param in read_fwf
diff --git a/doc/source/io.rst b/doc/source/io.rst index b1c151def26af..f524d37d0de60 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1268,11 +1268,22 @@ is whitespace). df = pd.read_fwf('bar.csv', header=None, index_col=0) df +.. versionadded:: 0.20.0 + +``read_fwf`` supports the ``dtype`` paramet...
- [x] closes #7141 - [ ] tests added / passed - [x] passes ``git diff upstream/master | flake8 --diff`` - [x] whatsnew entry #14295 actually implemented the behavior, this is just adding docs and tests.
https://api.github.com/repos/pandas-dev/pandas/pulls/14768
2016-11-30T01:29:13Z
2016-11-30T15:11:05Z
2016-11-30T15:11:05Z
2016-11-30T15:11:14Z
BLD: clean .pxi when cleaning
diff --git a/setup.py b/setup.py index 8d2e2669852ea..2bef65c9719dc 100755 --- a/setup.py +++ b/setup.py @@ -293,6 +293,11 @@ def initialize_options(self): if d == '__pycache__': self._clean_trees.append(pjoin(root, d)) + # clean the generated pxi files + for pxifil...
https://api.github.com/repos/pandas-dev/pandas/pulls/14766
2016-11-29T23:37:09Z
2016-11-29T23:37:29Z
2016-11-29T23:37:29Z
2016-11-29T23:37:29Z
added read_msgpack() to index
diff --git a/doc/source/api.rst b/doc/source/api.rst index a510f663d19ee..638abd5421862 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -27,6 +27,7 @@ Flat File read_table read_csv read_fwf + read_msgpack Clipboard ~~~~~~~~~
- [x] closes #14702 - [ ] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [ ] whatsnew entry First time contributing to pandas, let me know if there's something I should do differently.
https://api.github.com/repos/pandas-dev/pandas/pulls/14765
2016-11-29T21:50:28Z
2016-11-29T23:33:47Z
2016-11-29T23:33:47Z
2016-12-05T19:11:39Z
ENH: Introduce UnsortedIndexError GH11897
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index 0c843dd39b56f..7b6b2a09f6037 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -528,12 +528,14 @@ return a copy of the data rather than a view: jim joe 1 z 0.64094 +.. _advanced.unsorted: + Furthermore if you try to...
closes #11897 closes #14491 - [ ] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14762
2016-11-29T15:18:34Z
2016-12-09T16:36:30Z
2016-12-09T16:36:29Z
2016-12-09T16:40:25Z
ENH: Added more options for formats.style.bar
diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb index 2cacbb19d81bb..427b18b988aef 100644 --- a/doc/source/style.ipynb +++ b/doc/source/style.ipynb @@ -2,7 +2,9 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "metadata": { + "collapsed": true + }, "source": [ "# Styl...
- [x] 4 tests added and passed - [x] passes ``git diff upstream/master | flake8 --diff`` - [x] Update documentation You can now have the df.style.bar be centered on zero or midpoint value (in addition to the already existing way of having the min value at the left side of the cell) ---- ## Documentatio...
https://api.github.com/repos/pandas-dev/pandas/pulls/14757
2016-11-28T16:02:35Z
2017-05-02T01:46:44Z
2017-05-02T01:46:44Z
2017-07-04T10:20:42Z
BF: (re)raise the exception always unless returning
diff --git a/pandas/io/tests/json/test_pandas.py b/pandas/io/tests/json/test_pandas.py index ba02e9186f1df..e6e6f33669e17 100644 --- a/pandas/io/tests/json/test_pandas.py +++ b/pandas/io/tests/json/test_pandas.py @@ -167,7 +167,7 @@ def _check_orient(df, orient, dtype=None, numpy=False, if raise_ok is ...
coding logic flaw is obvious (leaves unser used later undefined), so no dedicated test was found otherwise leads atm to masking of this error while testing on i386 and then failling with UnboundLocalError: local variable unser referenced before assignment More detail: https://buildd.debian.org/status/fetch.php...
https://api.github.com/repos/pandas-dev/pandas/pulls/14756
2016-11-28T02:48:34Z
2016-11-28T17:30:16Z
2016-11-28T17:30:16Z
2016-11-28T17:30:19Z
TST: Correct results with np.size and crosstab (#4003)
diff --git a/pandas/tools/tests/test_pivot.py b/pandas/tools/tests/test_pivot.py index 26f80f463d609..5e800c02c9509 100644 --- a/pandas/tools/tests/test_pivot.py +++ b/pandas/tools/tests/test_pivot.py @@ -1281,6 +1281,41 @@ def test_crosstab_with_categorial_columns(self): columns=expect...
- [x] closes #4003 - [x] tests added / passed - [x] passes ``git diff upstream/master | flake8 --diff``
https://api.github.com/repos/pandas-dev/pandas/pulls/14755
2016-11-27T01:45:54Z
2016-12-10T21:35:41Z
2016-12-10T21:35:41Z
2016-12-21T04:13:37Z
TST: Same return values in drop_duplicates for Series and DataFrames(#…
diff --git a/pandas/tests/test_base.py b/pandas/tests/test_base.py index da8cf120b8ed4..a5cd0bbc28369 100644 --- a/pandas/tests/test_base.py +++ b/pandas/tests/test_base.py @@ -949,6 +949,21 @@ def test_duplicated_drop_duplicates_index(self): s.drop_duplicates(inplace=True) tm.assert_s...
- [x] closes #14192 - [x] tests added / passed - [x] passes ``git diff upstream/master | flake8 --diff`` …14192)
https://api.github.com/repos/pandas-dev/pandas/pulls/14754
2016-11-27T00:49:49Z
2016-12-15T09:02:51Z
2016-12-15T09:02:51Z
2016-12-21T04:12:19Z
ENH: Add the ability to have a separate title for each subplot when plotting
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index 0bfd755aae40c..aeafc76876bbd 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -53,6 +53,7 @@ Other enhancements - ``pd.cut`` and ``pd.qcut`` now support datetime64 and timedelta64 dtypes (issue:`14...
- [] tests added / passed - [] passes ``git diff upstream/master | flake8 --diff`` - [] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14753
2016-11-26T20:18:16Z
2016-12-09T08:32:33Z
2016-12-09T08:32:33Z
2016-12-09T08:32:47Z
TST: add test to confirm GH14606 (specify category dtype for empty)
diff --git a/pandas/io/tests/parser/dtypes.py b/pandas/io/tests/parser/dtypes.py index 18c37b31f6480..b9ab79c3b9d54 100644 --- a/pandas/io/tests/parser/dtypes.py +++ b/pandas/io/tests/parser/dtypes.py @@ -241,6 +241,9 @@ def test_empty_dtype(self): result = self.read_csv(StringIO(data), header=0, ...
Closes #14606 Issue #14606 was fixed by PR #14717, adding one more specific test to confirm this
https://api.github.com/repos/pandas-dev/pandas/pulls/14752
2016-11-26T11:41:54Z
2016-12-10T11:02:54Z
2016-12-10T11:02:54Z
2016-12-10T11:02:54Z
BUG: Improve error message for skipfooter malformed rows in Python engine
diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt index d2394ff25ddd4..6ee6271929008 100644 --- a/doc/source/whatsnew/v0.19.2.txt +++ b/doc/source/whatsnew/v0.19.2.txt @@ -32,6 +32,7 @@ Bug Fixes - Bug in ``pd.read_csv`` where reading files fails, if the number of headers is equal to the n...
Python's native CSV library does not respect the `skipfooter` parameter, so if one of those skipped rows is malformed, it will still raise an error. Append some useful information to the error message regarding that if that situation is potentially applicable. Closes #13879.
https://api.github.com/repos/pandas-dev/pandas/pulls/14749
2016-11-26T00:53:25Z
2016-11-29T21:18:28Z
2016-11-29T21:18:28Z
2016-11-29T21:24:00Z
DOC: missing ref in timeseries.rst
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 4132d25e9be48..854de443ac5ee 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -1286,12 +1286,11 @@ secondly data into 5-minutely data). This is extremely common in, but not limited to, financial applications. ``.resamp...
https://api.github.com/repos/pandas-dev/pandas/pulls/14745
2016-11-25T17:00:46Z
2016-11-25T17:00:50Z
2016-11-25T17:00:50Z
2016-11-25T20:39:47Z
Revert "TST/TEMP: fix pyqt to 4.x for plotting tests"
diff --git a/ci/requirements-2.7-64.run b/ci/requirements-2.7-64.run index ce085a6ebf91c..42b5a789ae31a 100644 --- a/ci/requirements-2.7-64.run +++ b/ci/requirements-2.7-64.run @@ -16,4 +16,3 @@ bottleneck html5lib beautiful-soup jinja2=2.8 -pyqt=4.11.4 diff --git a/ci/requirements-2.7.run b/ci/requirements-2.7.run ...
Reverts pydata/pandas#14240 For when https://github.com/ContinuumIO/anaconda-issues/issues/1068 is solved
https://api.github.com/repos/pandas-dev/pandas/pulls/14744
2016-11-25T16:20:12Z
2016-11-26T17:18:54Z
2016-11-26T17:18:54Z
2022-06-08T17:03:42Z
SAS chunksize / iteration issues
diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt index d9aa92270669d..a5fca8f268d9c 100644 --- a/doc/source/whatsnew/v0.19.2.txt +++ b/doc/source/whatsnew/v0.19.2.txt @@ -31,6 +31,7 @@ Bug Fixes - Allow ``nanoseconds`` in ``Timestamp.replace`` as a kwarg (:issue:`14621`) - Bug in ``pd.re...
closes #14734 closes #13654 - [X] tests added / passed - [X] passes ``git diff upstream/master | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14743
2016-11-25T15:10:12Z
2016-11-28T09:48:59Z
2016-11-28T09:48:59Z
2016-11-28T09:49:08Z
MAINT: Cleanup pandas/src/parser
diff --git a/ci/lint.sh b/ci/lint.sh index d6390a16b763e..7ab97bfc6d328 100755 --- a/ci/lint.sh +++ b/ci/lint.sh @@ -35,6 +35,18 @@ if [ "$LINT" ]; then done echo "Linting *.pxi.in DONE" + # readability/casting: Warnings about C casting instead of C++ casting + # runtime/int: Warnings about using C nu...
Remove dead code and reformat for style using Google's C++ style guide (found <a href="https://google.github.io/styleguide/cppguide.html">here</a>). Also adds line of code to install fork of Google's C++ style checker (source code <a href="https://github.com/cpplint/cpplint">here</a>) when doing style checks in Trav...
https://api.github.com/repos/pandas-dev/pandas/pulls/14740
2016-11-25T10:02:26Z
2016-12-06T18:43:13Z
2016-12-06T18:43:13Z
2016-12-06T22:31:59Z
DOC: Update outdated caveats for Anaconda and HTML parsing (#9032)
diff --git a/doc/source/gotchas.rst b/doc/source/gotchas.rst index cfac5c257184d..8a1e06fa6d86c 100644 --- a/doc/source/gotchas.rst +++ b/doc/source/gotchas.rst @@ -514,40 +514,6 @@ parse HTML tables in the top-level pandas io function ``read_html``. text from the URL over the web, i.e., IO (input-output). For ...
- [x] closes #9032
https://api.github.com/repos/pandas-dev/pandas/pulls/14739
2016-11-25T07:59:20Z
2016-11-25T22:47:50Z
2016-11-25T22:47:50Z
2016-12-21T04:11:35Z
ENH: support cut/qcut for datetime/timedelta (GH14714)
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index 6fe0ad8092a03..5e94a95e38cbb 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -50,6 +50,7 @@ Other enhancements - ``pd.read_excel`` now preserves sheet order when using ``sheetname=None`` (:issue...
- [x] closes #14714 - [x] tests added / passed - [x] passes ``git diff upstream/master | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14737
2016-11-25T06:43:10Z
2016-12-03T10:11:59Z
2016-12-03T10:11:59Z
2016-12-04T22:35:52Z
CLN: move assignment from header into cython
diff --git a/pandas/src/datetime.pxd b/pandas/src/datetime.pxd index 5f7de8244d17e..3f0e6a563d66b 100644 --- a/pandas/src/datetime.pxd +++ b/pandas/src/datetime.pxd @@ -42,9 +42,6 @@ cdef extern from "datetime.h": object PyDateTime_FromDateAndTime(int year, int month, int day, int hour, ...
an insignificant refactoring that allows PyPy2.7 to build and import Pandas. The original code uses functions that are macros in CPython but actual c-functions in PyPy and one cannot assign to a function result Note that while PyPy imports Pandas, it very quickly segfaults, Apparently PyPy does not yet play well wi...
https://api.github.com/repos/pandas-dev/pandas/pulls/14731
2016-11-24T18:18:28Z
2016-11-25T12:52:11Z
2016-11-25T12:52:11Z
2016-11-25T12:52:16Z
ENH: add data hashing routines
diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py index 9807639143ddb..53b7d55368f6a 100644 --- a/asv_bench/benchmarks/algorithms.py +++ b/asv_bench/benchmarks/algorithms.py @@ -1,5 +1,6 @@ import numpy as np import pandas as pd +from pandas.util import testing as tm class algo...
xref https://github.com/dask/dask/pull/1807
https://api.github.com/repos/pandas-dev/pandas/pulls/14729
2016-11-24T15:21:19Z
2016-11-28T16:19:06Z
2016-11-28T16:19:06Z
2016-11-28T16:31:04Z
Minor typo in frame.py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index f704a61042b4f..bf1ff28cd63b1 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3233,7 +3233,7 @@ def trans(v): # try to be helpful if isinstance(self.columns, MultiIndex): raise ValueErro...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes ``git diff upstream/master | flake8 --diff`` - [ ] whatsnew entry typo "explicitly"
https://api.github.com/repos/pandas-dev/pandas/pulls/14724
2016-11-23T21:15:38Z
2016-11-23T21:23:32Z
2016-11-23T21:23:32Z
2016-11-24T09:22:27Z
doc: comverted --> converted
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 05148c1f7e80a..f704a61042b4f 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1346,7 +1346,7 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None, file quoting : optional constant from csv module ...
Just fixing a spelling error =)
https://api.github.com/repos/pandas-dev/pandas/pulls/14722
2016-11-23T18:49:28Z
2016-11-23T20:35:31Z
2016-11-23T20:35:31Z
2016-11-24T09:22:31Z
DOC: fix typo in merge_asof docstring examples
diff --git a/pandas/tools/merge.py b/pandas/tools/merge.py index d2060185c3246..8d2f92ad58a88 100644 --- a/pandas/tools/merge.py +++ b/pandas/tools/merge.py @@ -371,7 +371,7 @@ def merge_asof(left, right, on=None, By default we are taking the asof of the quotes - >>> pd.asof_merge(trades, quotes, + >>> p...
Just a trivial fix to docs - incorrect function name in doctests.
https://api.github.com/repos/pandas-dev/pandas/pulls/14718
2016-11-23T00:20:44Z
2016-11-23T08:35:09Z
2016-11-23T08:35:09Z
2016-11-23T08:35:09Z
BUG: Respect the dtype parameter for empty CSV
diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt index 5a255d1e62043..49c8330490ed1 100644 --- a/doc/source/whatsnew/v0.19.2.txt +++ b/doc/source/whatsnew/v0.19.2.txt @@ -61,6 +61,7 @@ Bug Fixes - Bug in ``.to_clipboard()`` and Excel compat (:issue:`12529`) +- Bug in ``pd.read_csv()``...
Title is self-explanatory. Closes #14712. Should be merged in before #14295 because the bug could also exist for the Python parser.
https://api.github.com/repos/pandas-dev/pandas/pulls/14717
2016-11-22T21:01:49Z
2016-11-24T21:18:20Z
2016-11-24T21:18:20Z
2016-11-24T21:21:43Z
Fix num_days in PandasAutoDateLocator
diff --git a/pandas/tseries/converter.py b/pandas/tseries/converter.py index 8f8519a498a31..ca208d1adc963 100644 --- a/pandas/tseries/converter.py +++ b/pandas/tseries/converter.py @@ -261,7 +261,7 @@ def get_locator(self, dmin, dmax): 'Pick the best locator based on a distance.' delta = relativedelta...
Prior to this commit, one year is worth 12 days, not 12 * 31 days.
https://api.github.com/repos/pandas-dev/pandas/pulls/14716
2016-11-22T19:52:37Z
2017-03-21T08:52:38Z
2017-03-21T08:52:38Z
2017-03-21T08:53:14Z
DOC: update FAQ to note pandas-qt only works for python 2.x
diff --git a/doc/source/faq.rst b/doc/source/faq.rst index d23e0ca59254d..3828ee1f9d091 100644 --- a/doc/source/faq.rst +++ b/doc/source/faq.rst @@ -111,5 +111,4 @@ Visualizing Data in Qt applications ----------------------------------- There is no support for such visualization in pandas. However, the external -pa...
- [ ] closes #14703 Here is the the pull request for the issue I raised [here](https://github.com/pandas-dev/pandas/issues/14703).
https://api.github.com/repos/pandas-dev/pandas/pulls/14713
2016-11-22T16:34:29Z
2016-11-22T16:39:16Z
2016-11-22T16:39:15Z
2016-11-22T16:44:06Z
DOC: Disambiguate 'where' in boolean indexing-10min.rst (#12661)
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index 54bcd76855f32..0612e86134cf2 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -282,7 +282,7 @@ Using a single column's values to select data. df[df.A > 0] -A ``where`` operation for getting. +Selecting values from a DataFrame where a ...
- [x] closes #12661 Per @jorisvandenbossche comment in this thread (https://github.com/pandas-dev/pandas/pull/12671), remove code markdown from 'where' to not confuse the example with the `where()` method.
https://api.github.com/repos/pandas-dev/pandas/pulls/14708
2016-11-22T05:53:32Z
2016-11-23T08:31:50Z
2016-11-23T08:31:49Z
2016-12-21T03:55:39Z
Backport PR #54974 on branch 2.1.x (Include pyarrow_numpy string in efficient merge implementation)
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index 4eda8d2d75408..d36ceff800c56 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -2417,7 +2417,8 @@ def _factorize_keys( elif isinstance(lk, ExtensionArray) and lk.dtype == rk.dtype: if (isinstance...
Backport PR #54974: Include pyarrow_numpy string in efficient merge implementation
https://api.github.com/repos/pandas-dev/pandas/pulls/55021
2023-09-05T22:32:45Z
2023-09-06T01:01:36Z
2023-09-06T01:01:36Z
2023-09-06T01:01:36Z
Backport PR #55013 on branch 2.1.x (CI: Ignore hypothesis differing executors)
diff --git a/pandas/conftest.py b/pandas/conftest.py index 10826f50d1fe1..b1b35448af134 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -71,6 +71,7 @@ Index, MultiIndex, ) +from pandas.util.version import Version if TYPE_CHECKING: from collections.abc import ( @@ -190,6 +191,10 @@ def pyt...
Backport PR #55013: CI: Ignore hypothesis differing executors
https://api.github.com/repos/pandas-dev/pandas/pulls/55019
2023-09-05T20:07:20Z
2023-09-05T21:57:43Z
2023-09-05T21:57:43Z
2023-09-05T21:57:44Z
Backport PR #54914 on branch 2.1.x (REGR: concat raising for 2 different ea dtypes)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 11b19b1508a71..6702f28187483 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- Fixed regression in :func:`con...
Backport PR #54914: REGR: concat raising for 2 different ea dtypes
https://api.github.com/repos/pandas-dev/pandas/pulls/55018
2023-09-05T18:45:51Z
2023-09-05T23:50:40Z
2023-09-05T23:50:40Z
2023-09-05T23:50:40Z
Backport PR #54927 on branch 2.1.x (REGR: interpolate raising if fill_value is given)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 11b19b1508a71..9dcc829ba7db3 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -21,6 +21,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.to_sql` not roundtripping datetime columns correctl...
Backport PR #54927: REGR: interpolate raising if fill_value is given
https://api.github.com/repos/pandas-dev/pandas/pulls/55017
2023-09-05T18:43:34Z
2023-09-05T23:50:28Z
2023-09-05T23:50:28Z
2023-09-05T23:50:28Z
Backport PR #55000 on branch 2.1.x (BUG: ArrowDtype raising for fixed size list)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 11b19b1508a71..64d7481117e8e 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -29,6 +29,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ +- Fixed bug for :class:`ArrowDtype` raising ``NotImplementedError`...
Backport PR #55000: BUG: ArrowDtype raising for fixed size list
https://api.github.com/repos/pandas-dev/pandas/pulls/55016
2023-09-05T18:08:29Z
2023-09-05T23:49:57Z
2023-09-05T23:49:57Z
2023-09-05T23:49:57Z
CI: Ignore hypothesis differing executors
diff --git a/pandas/conftest.py b/pandas/conftest.py index a4f58e99d8bcc..ac0275bf695d4 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -71,6 +71,7 @@ Index, MultiIndex, ) +from pandas.util.version import Version if TYPE_CHECKING: from collections.abc import ( @@ -191,6 +192,10 @@ def pyt...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/55013
2023-09-05T16:48:34Z
2023-09-05T20:07:09Z
2023-09-05T20:07:09Z
2023-09-05T22:32:02Z
BLD: Build wheels for Python 3.12
diff --git a/.circleci/config.yml b/.circleci/config.yml index 50f6a116a6630..ba124533e953a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,7 +48,7 @@ jobs: name: Build aarch64 wheels no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doe...
- [ ] closes #54447 (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/55010
2023-09-05T15:09:21Z
2023-09-07T16:28:46Z
2023-09-07T16:28:46Z
2023-09-07T16:29:09Z
CoW: Clear dead references every time we add a new one
diff --git a/pandas/_libs/internals.pyx b/pandas/_libs/internals.pyx index 7a9a3b84fd69f..3b1a6bc7436c3 100644 --- a/pandas/_libs/internals.pyx +++ b/pandas/_libs/internals.pyx @@ -897,6 +897,11 @@ cdef class BlockValuesRefs: else: self.referenced_blocks = [] + def _clear_dead_references(self...
- [x] closes #54352 (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/55008
2023-09-05T12:37:23Z
2023-09-15T09:10:52Z
2023-09-15T09:10:52Z
2023-10-19T07:50:57Z
[pre-commit.ci] pre-commit autoupdate
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f9bcd78c07b0..c01bf65818167 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.285 + rev: v0.0.287 ...
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.0.285 → v0.0.287](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.285...v0.0.287) - [github.com/jendrikseipp/vulture: v2.7 → v2.9.1](https://github.com/jendrikseipp/vulture/compare/v2.7...v2.9.1) - [github.com/pylint-dev/pylint: v...
https://api.github.com/repos/pandas-dev/pandas/pulls/55004
2023-09-04T16:43:04Z
2023-09-04T23:52:19Z
2023-09-04T23:52:19Z
2023-09-05T22:38:16Z
TYP: Add typing.overload signatures to DataFrame/Series.clip
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b9407ebe6624a..6d38f5f9c61e1 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8607,6 +8607,42 @@ def _clip_with_one_bound(self, threshold, method, axis, inplace): # GH 40420 return self.where(subset, threshold, axis...
This adds overloads so that a type checker can determine whether clip returns a Series/DataFrame or None based on the value of the inplace argument.
https://api.github.com/repos/pandas-dev/pandas/pulls/55002
2023-09-04T14:43:29Z
2023-09-04T17:23:33Z
2023-09-04T17:23:33Z
2023-09-04T19:05:38Z
BUG: ArrowDtype raising for fixed size list
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 11b19b1508a71..64d7481117e8e 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -29,6 +29,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ +- Fixed bug for :class:`ArrowDtype` raising ``NotImplementedError`...
- [ ] 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/55000
2023-09-04T12:08:55Z
2023-09-05T18:07:21Z
2023-09-05T18:07:21Z
2023-09-05T18:15:14Z
TYP: Add typing.overload signatures to DataFrame/Series.interpolate
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b9407ebe6624a..671cfc11df597 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7938,6 +7938,51 @@ def replace( else: return result.__finalize__(self, method="replace") + @overload + def interpolate( + ...
This adds overloads so that a type checker can determine whether interpolate returns DataFrame/Series or None based on the value of the inplace argument. This is more of the same thing that was done in [this pull](https://github.com/pandas-dev/pandas/pull/54281).
https://api.github.com/repos/pandas-dev/pandas/pulls/54999
2023-09-04T12:05:08Z
2023-09-04T14:31:58Z
2023-09-04T14:31:58Z
2023-09-04T14:32:06Z
ENH: add calamine excel reader (close #50395)
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index 2190136220c6c..927003b13d6be 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -46,6 +46,7 @@ dependencies: - pymysql>=1.0.2 - pyreadstat>=1.1.5 - pytables>=3.7.0 + - python-calamine>=0.1.6 - pyxlsb>=1.0.9 - s3f...
- [x] closes #50395 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added [type annotations](https://pandas...
https://api.github.com/repos/pandas-dev/pandas/pulls/54998
2023-09-04T12:03:34Z
2023-09-12T20:34:57Z
2023-09-12T20:34:57Z
2023-09-13T00:58:17Z
BUG: is_string_dtype(pd.Index([], dtype='O')) returns False
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index fa3cef6d9457d..2198a3107d297 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -253,6 +253,7 @@ Bug fixes ~~~~~~~~~ - Bug in :class:`AbstractHolidayCalendar` where timezone data was not propagated when...
- [x] closes #54661 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) - [x] Added an entry in `doc/source/whatsnew/v...
https://api.github.com/repos/pandas-dev/pandas/pulls/54997
2023-09-04T11:23:34Z
2023-10-04T15:46:01Z
2023-10-04T15:46:01Z
2023-10-04T15:46:08Z
BUG: boolean/string value in OdsWriter (#54994)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 249f08c7e387b..08ba9e7437f04 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -248,6 +248,7 @@ I/O ^^^ - Bug in :func:`read_csv` where ``on_bad_lines="warn"`` would write to ``stderr`` instead of rais...
- [x] closes #54994 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ] Added [type annotations](https://pandas...
https://api.github.com/repos/pandas-dev/pandas/pulls/54996
2023-09-04T11:22:46Z
2023-09-13T20:05:09Z
2023-09-13T20:05:09Z
2023-09-14T11:25:20Z
Backport PR #54985 on branch 2.1.x (REGR: rountripping datetime through sqlite doesn't work)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index a6848dad6e3cd..11b19b1508a71 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -18,6 +18,7 @@ Fixed regressions - Fixed regression in :func:`read_csv` when ``delim_whitespace`` is True (:issue:`54918`, ...
Backport PR #54985: REGR: rountripping datetime through sqlite doesn't work
https://api.github.com/repos/pandas-dev/pandas/pulls/54993
2023-09-04T09:11:38Z
2023-09-05T18:07:52Z
2023-09-05T18:07:52Z
2023-09-05T18:07:52Z
DOC: Grammatically updated the tech docs
diff --git a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst b/doc/source/getting_started/intro_tutorials/01_table_oriented.rst index 2dcc8b0abe3b8..caaff3557ae40 100644 --- a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst +++ b/doc/source/getting_started/intro_tutorials/01_table_orie...
-Added an entry in doc/source/getting_started/into_tutorials/01_table_oriented.rst -Changed highlighted part in attached screenshot. ![image](https://github.com/pandas-dev/pandas/assets/139927657/e00708d4-eb7d-480e-998b-e48d788c423c)
https://api.github.com/repos/pandas-dev/pandas/pulls/54989
2023-09-04T02:00:13Z
2023-09-05T18:09:45Z
2023-09-05T18:09:45Z
2023-09-05T18:09:53Z
DOC: expanded pandas.DataFrame.to_sql docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b9407ebe6624a..d4cb04d7b6ead 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2847,7 +2847,7 @@ def to_sql( index : bool, default True Write DataFrame index as a column. Uses `index_label` as the column - ...
- [x] closes #54712 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Implements the suggested fix from @mattatark to `pandas.DataFrame.to_sql`
https://api.github.com/repos/pandas-dev/pandas/pulls/54988
2023-09-03T23:22:19Z
2023-09-05T18:12:13Z
2023-09-05T18:12:13Z
2023-09-05T18:12:20Z
DOC: fix an example in whatsnew/v0.15.2.rst
diff --git a/doc/source/whatsnew/v0.15.2.rst b/doc/source/whatsnew/v0.15.2.rst index bb7beef449d93..acc5409b86d09 100644 --- a/doc/source/whatsnew/v0.15.2.rst +++ b/doc/source/whatsnew/v0.15.2.rst @@ -24,25 +24,61 @@ API changes - Indexing in ``MultiIndex`` beyond lex-sort depth is now supported, though a lexically...
Fix an example in doc/source/whatsnew/v0.15.2.rst, which raises an AttributeError (see https://pandas.pydata.org/docs/dev/whatsnew/v0.15.2.html#api-changes)
https://api.github.com/repos/pandas-dev/pandas/pulls/54986
2023-09-03T19:06:16Z
2023-09-04T09:52:00Z
2023-09-04T09:52:00Z
2023-09-04T09:52:01Z
REGR: rountripping datetime through sqlite doesn't work
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index a6848dad6e3cd..11b19b1508a71 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -18,6 +18,7 @@ Fixed regressions - Fixed regression in :func:`read_csv` when ``delim_whitespace`` is True (:issue:`54918`, ...
- [ ] closes #54877 (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/54985
2023-09-03T18:49:06Z
2023-09-04T09:09:41Z
2023-09-04T09:09:41Z
2023-09-04T09:09:45Z
ENH: Implement masked algorithm for value_counts
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 07be496a95adc..06f0f6d046026 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -29,6 +29,7 @@ enhancement2 Other enhancements ^^^^^^^^^^^^^^^^^^ - DataFrame.apply now allows the usage of numba (via ``...
- [ ] 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/54984
2023-09-03T17:54:23Z
2023-09-30T18:18:59Z
2023-09-30T18:18:59Z
2023-10-21T15:38:29Z
BUG: pct_change showing unnecessary FutureWarning
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index b9bdb36fe0ed3..fe511b5cdec67 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -34,6 +34,7 @@ Bug fixes ~~~~~~~~~ - Fixed bug for :class:`ArrowDtype` raising ``NotImplementedError`` for fixed-size list...
- [ ] closes #54981 (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/54983
2023-09-03T14:57:39Z
2023-09-06T22:40:24Z
2023-09-06T22:40:24Z
2023-09-06T22:40:59Z
REG: filter not respecting the order of labels
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 258f05d4277bd..b9bdb36fe0ed3 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -19,6 +19,7 @@ Fixed regressions - Fixed regression in :func:`read_csv` when ``delim_whitespace`` is True (:issue:`54918`, ...
- [ ] closes #54980 (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/54982
2023-09-03T14:34:30Z
2023-09-05T22:41:52Z
2023-09-05T22:41:52Z
2023-09-05T22:41:56Z