id int64 | number int64 | title string | state string | created_at timestamp[s] | updated_at timestamp[s] | closed_at timestamp[s] | html_url string | is_pull_request bool | pull_request_url string | pull_request_html_url string | user_login string | comments_count int64 | body string | labels list | reactions_plus1 int64 | reactions_minus1 int64 | reactions_laugh int64 | reactions_hooray int64 | reactions_confused int64 | reactions_heart int64 | reactions_rocket int64 | reactions_eyes int64 | comments list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3,269,017,396 | 61,979 | DOC: Update documentation for using natural sort with `sort_values` | closed | 2025-07-28T09:32:19 | 2025-07-28T16:11:30 | 2025-07-28T16:11:24 | https://github.com/pandas-dev/pandas/pull/61979 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61979 | https://github.com/pandas-dev/pandas/pull/61979 | marc-jones | 1 | The previous documentation recommended to use the lambda function `lambda x: np.argsort(index_natsorted(x))` as a key argument to `sort_values`. However, while this works when sorting on a single column, it causes incorrect sorting when sorting multiple columns with duplicated values. For example:
```
>>> df = pd.Dat... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | [
"Thanks @marc-jones "
] |
3,267,529,078 | 61,978 | ENH: Function‑scoped bad‑line callback for read_csv that provides line_number (immediate per‑row handling without global side‑effects) | open | 2025-07-27T23:40:04 | 2025-08-06T02:48:49 | null | https://github.com/pandas-dev/pandas/issues/61978 | true | null | null | laelhalawani | 1 | ### Feature Type
- [x] Adding new functionality to pandas
- [x] Changing existing functionality in pandas
- [ ] Removing existing functionality in pandas
### Problem Description
When parsing CSVs with `pd.read_csv`, there is no function‑scoped way to (a) react to malformed rows as they happen and (b) capture the ... | [
"Enhancement",
"IO CSV",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Hi @laelhalawani ,\nI think this is a duplicate of #61838 ."
] |
3,267,416,510 | 61,977 | BUG: Fix infer_dtype result for complex with pd.NA | closed | 2025-07-27T20:28:09 | 2025-07-28T16:31:34 | 2025-07-28T16:13:41 | https://github.com/pandas-dev/pandas/pull/61977 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61977 | https://github.com/pandas-dev/pandas/pull/61977 | yuanx749 | 1 | - [x] closes #61976
- [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]... | [
"Dtype Conversions"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @yuanx749 "
] |
3,267,408,457 | 61,976 | BUG: infer_dtype returns "mixed" for complex and pd.NA mix | closed | 2025-07-27T20:14:57 | 2025-07-28T16:13:42 | 2025-07-28T16:13:42 | https://github.com/pandas-dev/pandas/issues/61976 | true | null | null | yuanx749 | 1 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Missing-data",
"Dtype Conversions"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Confirmed on main. PRs are welcome!\n\nThanks for raising this!"
] |
3,267,311,390 | 61,975 | BUG: 'Sphinx parallel build error' when building docs locally prevents index.html creation | closed | 2025-07-27T18:12:58 | 2025-08-05T16:05:55 | 2025-08-05T16:05:55 | https://github.com/pandas-dev/pandas/issues/61975 | true | null | null | jeffersbaxter | 6 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Docs",
"Needs Info",
"Closing Candidate"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I tried to troubleshoot with:\n\npython make.py clean\npython make.py html",
"I'm willing to resolve and open a PR if a team member decides that a PR is necessary. Let me know!",
"take",
"Thanks for the report. With the information provided, I do not believe there is anything more we can do. I would suggest ... |
3,267,163,751 | 61,974 | ENH: Include line number and number of fields when read_csv() callable with `engine="python"` raises ParserWarning | closed | 2025-07-27T14:38:41 | 2025-07-29T01:20:30 | 2025-07-28T16:21:26 | https://github.com/pandas-dev/pandas/pull/61974 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61974 | https://github.com/pandas-dev/pandas/pull/61974 | sanggon6107 | 2 | - [X] closes #61838
- [ ] [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).
- [... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the PR, but this enhancement needs more discussion before moving forward with a PR. Additionally this approach.\r\n\r\n1. Is an API breaking change for user pass the older form of the callable\r\n2. You callable description doesn't seem to match PyArrow from the example in https://arrow.apache.org/docs/... |
3,267,136,196 | 61,973 | BUG: The lines skipped by pd.read_csv(path, chunksize=n, on_bad_lines='skip') depends on `n`. | open | 2025-07-27T14:03:17 | 2025-07-30T20:35:09 | null | https://github.com/pandas-dev/pandas/issues/61973 | true | null | null | alexbra1 | 5 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"IO CSV"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report! Confirmed on main, further investigations and PRs to fix are welcome!",
"I also noticed that this issue does not happen when setting `engine=\"python\"`.",
"take",
"The issue occurs when the bad line is the first line in chunk:\n\n```python\ncontent = \"a,b\\n1,2\\n3\\n4,5,extra\\n6,7\... |
3,267,036,631 | 61,972 | BUG: Series.replace with CoW when made from an Index | closed | 2025-07-27T12:05:10 | 2025-07-28T18:47:32 | 2025-07-28T16:24:07 | https://github.com/pandas-dev/pandas/pull/61972 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61972 | https://github.com/pandas-dev/pandas/pull/61972 | rhshadrach | 1 | - [x] closes #61622 (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... | [
"Bug",
"replace",
"Copy / view semantics"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @rhshadrach "
] |
3,266,955,396 | 61,971 | contributing codebase is revised | closed | 2025-07-27T10:05:29 | 2025-07-27T17:40:53 | 2025-07-27T17:40:46 | https://github.com/pandas-dev/pandas/pull/61971 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61971 | https://github.com/pandas-dev/pandas/pull/61971 | vishwajeetsinghrana8 | 3 | - Issue: #61968
- DOC: code coverage app provided in documentation is invalid #61968
Open
- [https://github.com/pandas-dev/pandas/blob/main/doc/source/development/contributing_codebase.rst](https://github.com/pandas-dev/pandas/blob/main/doc/source/development/contributing_codebase.rst)
| [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"@vishwajeetsinghrana8 - why are you removing these lines?",
"These lines doesn't make sense.",
"Thanks for the PR but the changes are not applicable to the linked issues so closing"
] |
3,266,897,434 | 61,970 | DOC: rephrase CoW ChainedAssignmentError message now CoW is always enabled | closed | 2025-07-27T08:47:36 | 2025-07-30T16:34:33 | 2025-07-30T16:34:33 | https://github.com/pandas-dev/pandas/pull/61970 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61970 | https://github.com/pandas-dev/pandas/pull/61970 | jorisvandenbossche | 1 | The "When using the Copy-on-Write mode" can be updated now it is no longer a mode that is enabled opt-in, but the only behaviour. | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"> Related, I noticed we use a `ChainedAssignmentError` with these messages to raise a warning, not an exception. Do you think we should change the name of this subclass to `ChainedAssignmentWarning` as a clearer name\r\n\r\nYeah, it's probably confusing .. \r\nSo it was originally an exception (and was then called... |
3,266,178,695 | 61,969 | BUG: Fix Series.reindex losing values when reindexing to MultiIndex | closed | 2025-07-26T22:07:49 | 2025-08-07T15:39:19 | 2025-08-07T15:39:02 | https://github.com/pandas-dev/pandas/pull/61969 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61969 | https://github.com/pandas-dev/pandas/pull/61969 | Roline-Stapny | 4 | - [X] closes #60923
- [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... | [
"MultiIndex",
"Index"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"> * reviewers\r\n\r\n\r\n\r\n> Does `DataFrame.reindex` also need the same handling?\r\n\r\nYes, Dataframe with single index is having the same issue\r\n```\r\ndf = pd.DataFrame({\r\n 'value': [26.73, 24.255],\r\n 'other': ['A', 'B']\r\n}, index=pd.Index([81, 82], name='a'))\r\n\r\n# Create a MultiIndex with... |
3,266,083,738 | 61,968 | DOC: code coverage app provided in documentation is invalid | closed | 2025-07-26T20:18:56 | 2025-07-27T15:45:01 | 2025-07-27T15:44:53 | https://github.com/pandas-dev/pandas/issues/61968 | true | null | null | eicchen | 1 | ### Pandas version checks
- [x] I have checked that the issue still exists on the latest versions of the docs on `main` [here](https://pandas.pydata.org/docs/dev/)
### Location of the documentation
https://pandas.pydata.org/docs/development/contributing_codebase.html
### Documentation problem
The link to the pand... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. When viewing the development documentation, it is best to use the dev docs:\n\nhttps://pandas.pydata.org/pandas-docs/dev/\n\nThere the link has already been updated. Closing."
] |
3,266,080,711 | 61,967 | ENH: usecols takes input order for read_csv implementation review | open | 2025-07-26T20:13:19 | 2025-08-05T05:29:20 | null | https://github.com/pandas-dev/pandas/pull/61967 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61967 | https://github.com/pandas-dev/pandas/pull/61967 | eicchen | 0 | - [ ] closes #61386 (not really though)
- [ ] [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.htm... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,266,023,975 | 61,966 | [backport 2.3.x] Output formatting: preserve quoting for string categories (#61891) | closed | 2025-07-26T19:13:47 | 2025-07-26T20:25:10 | 2025-07-26T20:25:06 | https://github.com/pandas-dev/pandas/pull/61966 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61966 | https://github.com/pandas-dev/pandas/pull/61966 | jorisvandenbossche | 0 | Backport of #61891 | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,265,723,848 | 61,965 | [backport 2.3.x] BUG: fix to_json() with JSON Table Schema work correctly with string dtype (#61900) | closed | 2025-07-26T14:15:09 | 2025-07-26T18:43:39 | 2025-07-26T17:14:47 | https://github.com/pandas-dev/pandas/pull/61965 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61965 | https://github.com/pandas-dev/pandas/pull/61965 | jorisvandenbossche | 0 |
Backport of https://github.com/pandas-dev/pandas/pull/61900 | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,265,665,525 | 61,964 | BUG: fix Series.str.fullmatch() and Series.str.match() with a compiled regex failing with arrow strings | closed | 2025-07-26T13:45:46 | 2025-08-15T07:08:13 | 2025-08-14T06:20:28 | https://github.com/pandas-dev/pandas/pull/61964 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61964 | https://github.com/pandas-dev/pandas/pull/61964 | khemkaran10 | 5 | Fixes: #61952
After Fix:
```python
DATA = ["applep", "bananap", "Cherryp", "DATEp", "eGGpLANTp", "123p", "23.45p"]
s=pd.Series(DATA)
s.str.fullmatch(re.compile(r"applep"))
Output:
0 True
1 False
2 False
3 False
4 False
5 False
6 False
dtype: bool
```
```python
DATA = ["applep", ... | [
"Strings",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"@jorisvandenbossche Moved tests to `pandas/tests/strings/test_find_replace.py` and made a minor change to the docstring. I’m not sure what changes need to be made in docs. could you please provide more details?",
"> I’m not sure what changes need to be made in docs. could you please provide more details?\r\n\r\n... |
3,265,526,215 | 61,963 | [backport 2.3.x] BUG: fix fill value for gouped sum in case of unobserved categories for string dtype (empty string instead of 0) (#61909) | open | 2025-07-26T12:24:19 | 2025-08-24T12:56:47 | null | https://github.com/pandas-dev/pandas/pull/61963 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61963 | https://github.com/pandas-dev/pandas/pull/61963 | jorisvandenbossche | 0 | Backport of #61909 | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,265,397,831 | 61,962 | BUG: fix .str.isdigit to honor unicode superscript for older pyarrow | open | 2025-07-26T09:55:59 | 2025-08-21T07:21:00 | null | https://github.com/pandas-dev/pandas/pull/61962 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61962 | https://github.com/pandas-dev/pandas/pull/61962 | jorisvandenbossche | 2 | - [x] closes #61466
- [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/contributing_codebase.html#pre-commit).
- [x]... | [
"Strings",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"pandas/tests/strings/test_strings.py::test_isnumeric_unicode",
"> pandas/tests/strings/test_strings.py::test_isnumeric_unicode\r\n\r\nYeah, see https://github.com/pandas-dev/pandas/issues/61466#issuecomment-3121827923 (but I suppose the best option is just to accept that difference and update the test to reflect... |
3,265,376,571 | 61,961 | Backport PR #61921 on branch 2.3.x (DOC: explicitly mention new str dtype is no longer a numpy dtype in migration guide) | closed | 2025-07-26T09:19:28 | 2025-07-26T11:33:33 | 2025-07-26T11:33:33 | https://github.com/pandas-dev/pandas/pull/61961 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61961 | https://github.com/pandas-dev/pandas/pull/61961 | meeseeksmachine | 0 | Backport PR #61921: DOC: explicitly mention new str dtype is no longer a numpy dtype in migration guide | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,265,364,121 | 61,960 | DOC: update .str.contains/match/startswith docstring examples for default behaviour | closed | 2025-07-26T09:04:32 | 2025-07-30T09:27:14 | 2025-07-28T16:50:49 | https://github.com/pandas-dev/pandas/pull/61960 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61960 | https://github.com/pandas-dev/pandas/pull/61960 | jorisvandenbossche | 1 | Updating the docstrings of `.str.` predicate methods that have the `na` keyword.
For the examples, the current text is no longer correct (because the default behaviour with str dtype is now to already return False).
For now I just removed those examples. I could instead update the example to create an object-dtyp... | [
"Docs",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @jorisvandenbossche "
] |
3,265,354,656 | 61,959 | Backport PR #61958 on branch 2.3.x (DOC: Add release notes template for 2.3.2) | closed | 2025-07-26T08:53:23 | 2025-07-26T09:27:37 | 2025-07-26T09:27:37 | https://github.com/pandas-dev/pandas/pull/61959 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61959 | https://github.com/pandas-dev/pandas/pull/61959 | meeseeksmachine | 0 | Backport PR #61958: DOC: Add release notes template for 2.3.2 | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,265,328,560 | 61,958 | DOC: Add release notes template for 2.3.2 | closed | 2025-07-26T08:19:40 | 2025-07-26T08:52:55 | 2025-07-26T08:52:55 | https://github.com/pandas-dev/pandas/pull/61958 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61958 | https://github.com/pandas-dev/pandas/pull/61958 | jorisvandenbossche | 0 | For the case we do another 2.3.x release, this makes it easier to already backport things (and if we end up not doing another release, we can just move the items later)
And going to merge this quickly, to unblock other PRs | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,265,174,806 | 61,957 | Flattened footer | closed | 2025-07-26T06:06:18 | 2025-08-02T03:09:16 | 2025-08-02T03:09:15 | https://github.com/pandas-dev/pandas/pull/61957 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61957 | https://github.com/pandas-dev/pandas/pull/61957 | maddiew95 | 6 | Flattened the footer with pandas custom footer, sphinx-version, and theme-version in single line as shown
<img width="1433" height="71" alt="Screenshot 2025-07-26 at 15 51 18" src="https://github.com/user-attachments/assets/f45acd94-dd78-44e9-b026-20191153a9e8" />
| [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"#51536 ",
"Thanks could you remove the custom template as described in that issue",
"hi @mroeschke thanks for checking out! I read their doc about, but in order to have the pandas copyright, we will have to use their customized template approach as mentioned https://pydata-sphinx-theme.readthedocs.io/en/stable... |
3,265,051,457 | 61,956 | DOC: added button to edit on GitHub | open | 2025-07-26T04:01:58 | 2025-08-04T02:38:51 | null | https://github.com/pandas-dev/pandas/pull/61956 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61956 | https://github.com/pandas-dev/pandas/pull/61956 | Sivayogeith | 11 |
- [x] closes #39859 (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/developmen... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"pre-commit.ci autofix",
"hey @afeld, could you take a look at this? TIA!",
"/preview",
"Website preview of this PR available at: https://pandas.pydata.org/preview/pandas-dev/pandas/61956/",
"> Thanks but the links do not direct to editable pages\r\n\r\nIt seems that’s the only page that isn’t working. Sorr... |
3,264,517,043 | 61,955 | DOC: shift argument in `Series.shift()` is not used | closed | 2025-07-25T22:14:34 | 2025-08-18T15:50:36 | 2025-08-18T15:50:36 | https://github.com/pandas-dev/pandas/issues/61955 | true | null | null | Dr-Irv | 2 | ### Pandas version checks
- [x] I have checked that the issue still exists on the latest versions of the docs on `main` [here](https://pandas.pydata.org/docs/dev/)
### Location of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.Series.shift.html#pandas.Series.shift
### Documentation problem
... | [
"Docs",
"Transformations"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"It's used by the DataFrame.shift implementation, and both methods use a shared docstring .. But we can mention that the keyword is ignored for Series (like there is also a mention for `axis`)",
"take"
] |
3,263,981,792 | 61,954 | docs: Improve README with helpful contributor resources | closed | 2025-07-25T18:00:22 | 2025-07-25T19:10:18 | 2025-07-25T19:10:18 | https://github.com/pandas-dev/pandas/pull/61954 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61954 | https://github.com/pandas-dev/pandas/pull/61954 | abujabarmubarak | 1 | Added a small section to the end of the README that provides useful resources for new contributors, including:
- Official Pandas cheat sheet
- Beginner tutorials
- “Good first issues” link
- Slack community link
This addition aims to encourage and guide new contributors without altering any of the existing REA... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the PR.\r\n\r\nSince there's no issue discussing this inclusion, I don't think we necessarily need to add this at this time so closing. If interested in contributing feel free to tackle issues labeled `good first issue`"
] |
3,263,967,922 | 61,953 | docs: Improve README with helpful contributor resources | closed | 2025-07-25T17:54:00 | 2025-07-25T17:55:48 | 2025-07-25T17:55:48 | https://github.com/pandas-dev/pandas/pull/61953 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61953 | https://github.com/pandas-dev/pandas/pull/61953 | abujabarmubarak | 0 | Added a small section to the end of the README that provides useful resources for new contributors, including:
- Official Pandas cheat sheet
- Beginner tutorials
- “Good first issues” link
- Slack community link
This addition aims to encourage and guide new contributors without altering any of the existing REA... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,263,943,096 | 61,952 | BUG: Using `Series.str.fullmatch()` and `Series.str.match()` with a compiled regex fails with arrow strings | closed | 2025-07-25T17:43:38 | 2025-08-14T06:20:29 | 2025-08-14T06:20:28 | https://github.com/pandas-dev/pandas/issues/61952 | true | null | null | Dr-Irv | 2 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Strings",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"take",
"FWIW, we don't actually document (or test, I think) that this is supported. But because `pat` is passed to `re.compile(..)` in \n\nhttps://github.com/pandas-dev/pandas/blob/e4a03b6e47a8ef9cd045902916289cbc976d3d33/pandas/core/strings/object_array.py#L249-L259\n\nthis works (since `re.compile` accepts tha... |
3,263,847,483 | 61,951 | BUG: Implicit upcast to float64 for large series (more than 1000000 rows) | open | 2025-07-25T17:04:29 | 2025-08-02T02:56:46 | null | https://github.com/pandas-dev/pandas/issues/61951 | true | null | null | stertingen | 6 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Dtype Conversions",
"Numeric Operations"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"After stepping through with a debugger, I have the following insights to share:\n\nWith series larger than 1000000 items, Pandas uses NumExpr.\nAlso, pandas converts the numpy float32 scalar to a Python floating point number in `ops.maybe_prepare_scalar_for_op`.\nThen, NumExpr behaves as described in https://numex... |
3,263,634,189 | 61,950 | TST: run python-dev CI on 3.14-dev | closed | 2025-07-25T15:37:55 | 2025-08-08T19:55:08 | 2025-08-08T16:05:36 | https://github.com/pandas-dev/pandas/pull/61950 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61950 | https://github.com/pandas-dev/pandas/pull/61950 | ngoldbaum | 10 | I'd like to see how widespread the test breakage is due to https://github.com/pandas-dev/pandas/issues/61368.
Also 3.14rc1 came out earlier this week so Pandas should probably start thinking about 3.14 support soonish.
| [
"CI"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"After turning off the warning the tests results look much more reasonable. Here's the summary on Linux CI:\r\n\r\n<details>\r\n\r\n```\r\n=========================== short test summary info ============================\r\nFAILED pandas/tests/copy_view/test_chained_assignment_deprecation.py::test_series_setitem[0] ... |
3,263,504,724 | 61,949 | BUG: border attribute used in html.py was deprecated in HTML5 | open | 2025-07-25T14:55:19 | 2025-07-26T20:50:00 | null | https://github.com/pandas-dev/pandas/issues/61949 | true | null | null | JonahDelman | 2 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"IO HTML"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report! PRs to update are welcome!",
"take"
] |
3,263,423,538 | 61,948 | BUG: Replacement fails after NA value with PyArrow-backed strings | closed | 2025-07-25T14:28:33 | 2025-07-25T18:17:20 | 2025-07-25T18:17:20 | https://github.com/pandas-dev/pandas/issues/61948 | true | null | null | rhshadrach | 1 | This does not occur on the main branch, only 2.3.x. I plan to run a git-bisect later today.
```python
pd.set_option("infer_string", True)
ser = pd.Series(["a", np.nan, "a", "a"])
print(ser.replace({"a": "b"}))
# 0 b
# 1 NaN
# 2 a
# 3 b
# dtype: str
``` | [
"Bug",
"replace",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"This was https://github.com/pandas-dev/pandas/pull/57865. Might want to backport this, but will discuss in that PR. Closing."
] |
3,263,291,757 | 61,947 | CI: enable doctest errors again + fixup categorical examples | closed | 2025-07-25T13:46:35 | 2025-07-26T18:43:32 | 2025-07-26T17:14:21 | https://github.com/pandas-dev/pandas/pull/61947 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61947 | https://github.com/pandas-dev/pandas/pull/61947 | jorisvandenbossche | 1 | Updating the categorical docstring examples after https://github.com/pandas-dev/pandas/pull/61891
This now closes https://github.com/pandas-dev/pandas/issues/61886 and enables the doctests again | [
"Docs",
"CI",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @jorisvandenbossche "
] |
3,262,892,048 | 61,946 | BUG: Fix Series.str.contains with compiled regex on Arrow string dtype | closed | 2025-07-25T11:21:33 | 2025-08-15T08:22:49 | 2025-08-14T08:27:10 | https://github.com/pandas-dev/pandas/pull/61946 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61946 | https://github.com/pandas-dev/pandas/pull/61946 | Aniketsy | 13 | closes #61942
This PR fixes an issue in `Series.str.contains()` where passing a compiled regex object failed when the underlying string data is backed by PyArrow.
Please, provide feedback if my approach is not correct , I would love to improve and contribute in this.
| [
"Bug",
"Strings",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Hi @mroeschke \r\nI've worked on the issue\r\nBUG: Fix Series.str.contains with compiled regex on Arrow string dtype ([#61942])\r\nand have opened a pull request for it.\r\n\r\nI'd appreciate it if you could take a look and share your feedback.\r\nPlease let me know if anything needs to be improved or clarified.\r... |
3,262,764,488 | 61,945 | BUG: Fix Series.str.contains with compiled regex on Arrow strings (#61942) | closed | 2025-07-25T10:32:26 | 2025-07-25T10:58:33 | 2025-07-25T10:35:39 | https://github.com/pandas-dev/pandas/pull/61945 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61945 | https://github.com/pandas-dev/pandas/pull/61945 | Aniketsy | 0 | #61942
This PR improves the handling of this case:
If the compiled regex has no flags, we extract the pattern string and proceed.
If the regex includes flags, a clear NotImplementedError is raised with guidance.
This avoids a confusing low-level PyArrow TypeError and ensures consistent behavior with non-Arrow str... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,261,825,366 | 61,944 | DOC: Standardize noncompliant docstrings in pandas/io/html.py (flake8-docstrings) | open | 2025-07-25T02:59:21 | 2025-07-29T04:57:25 | null | https://github.com/pandas-dev/pandas/issues/61944 | true | null | null | gumus-g | 7 | ### Pandas version checks
- [x] I have checked that the issue still exists on the latest versions of the docs on `main` [here](https://pandas.pydata.org/docs/dev/)
### Location of the documentation
https://github.com/pandas-dev/pandas/blob/main/pandas/io/html.py
### Documentation problem
Several functions in `pa... | [
"Docs",
"IO HTML"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for raising this!\n\nCould you provide a list of the specific functions in `pandas/io/html.py` that are violating these rules? That'll help us confirm the issue and scope the fix appropriately.",
"Thanks for the quick response! \n\nI ran flake8 --select=D on pandas/io/html.py and mapped the violations to ... |
3,261,706,347 | 61,943 | BUG: series.groupby(level=0) and series.groupby(pd.Grouper(level=0)) produce different orders | open | 2025-07-25T01:47:26 | 2025-07-30T21:30:04 | null | https://github.com/pandas-dev/pandas/issues/61943 | true | null | null | sfc-gh-mvashishtha | 4 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Groupby",
"Needs Discussion",
"API - Consistency"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"The issue is caused by inconsistent default values for the sort parameter:\n\n - pd.Grouper.__init__ has sort: bool = False\n - Series.groupby has sort: bool = True\n\n This explains why:\n - series.groupby(level=0) returns keys in sorted order: ['a', 'b'] (uses sort=True default)\n - series.groupby(pd.Groupe... |
3,261,452,864 | 61,942 | BUG: Using `Series.str.contains()` with a compiled regex and arrow strings fails | closed | 2025-07-24T22:44:11 | 2025-08-14T08:27:11 | 2025-08-14T08:27:11 | https://github.com/pandas-dev/pandas/issues/61942 | true | null | null | Dr-Irv | 0 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Strings",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,261,447,335 | 61,941 | BUG: Fix TypeError in assert_index_equal when comparing CategoricalIndex with check_categorical=True and exact=False | open | 2025-07-24T22:40:10 | 2025-08-22T06:25:38 | null | https://github.com/pandas-dev/pandas/pull/61941 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61941 | https://github.com/pandas-dev/pandas/pull/61941 | Aniketsy | 6 | Fixes #61935
- Fixes a bug where `assert_index_equal` raises a `TypeError` instead of `AssertionError` when comparing two `CategoricalIndex` objects with `check_categorical=True` and `exact=False`.
- Ensures consistency with expected testing behavior by properly raising an `AssertionError` in these cases.
Ple... | [
"Testing"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Hi @mroeschke\r\nI've opened a pull request addressing\r\nBUG: Fix TypeError in assert_index_equal when comparing CategoricalIndex with check_categorical=True and exact=False ([#61941])\r\nThe changes are ready for review.\r\n\r\nI'd really appreciate it if you could take a look and provide feedback .\r\nPlease le... |
3,261,383,708 | 61,940 | BUG: Using `/` operator with a `Path` and `Series` of string dtype fails | open | 2025-07-24T22:02:26 | 2025-08-21T07:19:47 | null | https://github.com/pandas-dev/pandas/issues/61940 | true | null | null | Dr-Irv | 8 | ### Reproducible Example
```python
import pandas as pd
from pathlib import Path
pd.options.future.infer_string = True # Only needed with 2.3.1
folder = Path.cwd()
files = pd.Series(["a.png", "b.png"])
folder / files[0] # This works
folder / files # This raises an exception
```
### Issue Description
The `/` opera... | [
"Enhancement",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"This is not actually specific to pyarrow, also with the object-backed string dtype this does not work, so this is a general issue of supporting `/` (`__truediv__`) for the string dtype.\n\n```python\n>>> folder = Path.cwd()\n>>> files = pd.Series([\"a.png\", \"b.png\"], dtype=pd.StringDtype(\"python\", na_value=np... |
3,261,317,149 | 61,939 | DOC: Docstring for BooleanDType inconsistent with the rest of repo | open | 2025-07-24T21:27:51 | 2025-08-01T04:48:01 | null | https://github.com/pandas-dev/pandas/issues/61939 | true | null | null | saguaro1234 | 6 | ### Pandas version checks
- [x] I have checked that the issue still exists on the latest versions of the docs on `main` [here](https://pandas.pydata.org/docs/dev/)
### Location of the documentation
https://github.com/pandas-dev/pandas/blob/main/pandas/core/arrays/boolean.py
### Documentation problem
The docstring... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. PRs to flesh out this documentation are welcome.",
"I'm willing to work on this and submit a PR, if its OK with everyone.",
"take",
"Is it still possible that I might be able to work on this?",
"Go for it! I'm forgetting how to unassign myself at the moment. I won't make a PR if you ... |
3,261,231,258 | 61,938 | BUG: `metadata` on `np.ndarray` of `np.dtype("O")` dtype lost when roundtripped through `pandas.Series` | open | 2025-07-24T20:57:13 | 2025-07-25T13:28:19 | null | https://github.com/pandas-dev/pandas/issues/61938 | true | null | null | ilan-gold | 2 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"The reason for this change is that with pandas nightly / upcoming 3.0, passing an object array of strings to `pd.Series` will be inferred as the new `str` dtype, and no longer retain the numpy object dtype:\n\n```python\n>>> arr = np.array([\"a\"], dtype=np.dtype(\"O\", metadata={\"foo\":\"bar\"}))\n... pd.Series(... |
3,261,195,419 | 61,937 | BUG: `Index` accepts lists as values | open | 2025-07-24T20:44:35 | 2025-07-29T01:50:12 | null | https://github.com/pandas-dev/pandas/issues/61937 | true | null | null | Dr-Irv | 5 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Needs Discussion",
"Index",
"Constructors"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"In the Index constructor ( __new__ in pandas/core/indexes/base.py), we can validate each element by checking if it’s hashable using hash(item). This is where the Index is first constructed from user input.\n\n",
"`Index` has always been special at accepting non-Python-hashable values since I think the khash in... |
3,261,106,428 | 61,936 | Issue #14601 fix - pytables.py put() and append() docstring fix | closed | 2025-07-24T20:08:56 | 2025-07-25T16:01:32 | 2025-07-25T16:01:32 | https://github.com/pandas-dev/pandas/pull/61936 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61936 | https://github.com/pandas-dev/pandas/pull/61936 | JoeDediop | 5 | **Problem Summary**
The current documentation for `min_itemsize` in HDFStore methods is unclear about:
1. How string length is calculated (bytes vs characters)
2. How encoding affects the required size
3. Proper usage with multi-byte characters
Proposed Changes
1. Enhanced `put()` method docstring
```p... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Is this AI?",
"> Is this AI?\n\nHello! Yes this was written with AI assistance. I am a CS student in my junior year, the assignment was focused on simply submitting a PR so I utilized AI to aid in the process so I could meet my deadlines. \n\nHowever, if that causes problems I would love to work with you to adju... |
3,260,721,290 | 61,935 | BUG: `assert_index_equal(CategoricalIndex, CategoricalIndex, check_categorical=True, exact=False)` raises TypeError instead of AssertionError | open | 2025-07-24T17:48:56 | 2025-07-24T17:49:27 | null | https://github.com/pandas-dev/pandas/issues/61935 | true | null | null | mroeschke | 0 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Testing"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,260,664,864 | 61,934 | Backport PR #61933 on branch 2.3.x (unpin scipy since statsmodels was fixed) | closed | 2025-07-24T17:29:41 | 2025-07-26T08:03:30 | 2025-07-24T20:02:20 | https://github.com/pandas-dev/pandas/pull/61934 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61934 | https://github.com/pandas-dev/pandas/pull/61934 | Dr-Irv | 0 | Backport of #61933 | [
"Dependencies"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,260,304,428 | 61,933 | unpin scipy since statsmodels was fixed | closed | 2025-07-24T15:22:34 | 2025-07-26T08:03:49 | 2025-07-24T16:14:39 | https://github.com/pandas-dev/pandas/pull/61933 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61933 | https://github.com/pandas-dev/pandas/pull/61933 | Dr-Irv | 3 | In #61750 and #61754 @jorisvandenbossche pinned scipy due to a `statsmodels` issue. That has apparently been fixed, so this unpins the upper bound on scipy.
| [
"Dependencies"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @Dr-Irv ",
"Owee, I'm MrMeeseeks, Look at me.\n\nThere seem to be a conflict, please backport manually. Here are approximate instructions:\n\n1. Checkout backport branch and update it.\n\n```\ngit checkout 2.3.x\ngit pull\n```\n\n2. Cherry pick the first parent branch of the this PR on top of the older br... |
3,259,108,800 | 61,932 | BUG: Unexpected Code Segment Executed, Causing Logical Error | closed | 2025-07-24T09:04:20 | 2025-07-24T20:04:14 | 2025-07-24T20:04:05 | https://github.com/pandas-dev/pandas/issues/61932 | true | null | null | LAUNAHC | 2 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Groupby"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Hi @mroeschke \nI've also observed the same issue. I’d like to work on this issue and submit a PR to fix it.",
"Thanks for the report, but this is expected behavior. When you provide an iterable the same length as the data being grouped, pandas will use that as the groups.\n\n```python\ndf = pd.DataFrame({\"a\":... |
3,258,438,675 | 61,931 | DOC: Add tzdata to README dependencies list | closed | 2025-07-24T04:23:43 | 2025-08-12T03:21:43 | 2025-07-25T16:37:24 | https://github.com/pandas-dev/pandas/pull/61931 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61931 | https://github.com/pandas-dev/pandas/pull/61931 | n-dett | 1 | - [x] closes #61927
- [ ] [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).
- [ ]... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @n-dett "
] |
3,256,650,953 | 61,930 | PERF: `DataFrame.copy(deep=True)` returns a view on the original pyarrow buffer | open | 2025-07-23T14:37:26 | 2025-07-25T18:26:17 | null | https://github.com/pandas-dev/pandas/issues/61930 | true | null | null | TomAugspurger | 9 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this issue exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this issue exists on the main branch of pandas.
### Reproducible Examp... | [
"Performance",
"Needs Discussion",
"Copy / view semantics"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"cc @mroeschke if you have any thoughts here. I'll start looking for a workaround in dask though.",
"Using `pyarrow.compute.take` with an empty array seems to work:\n\n```python\n out = x.iloc[:0].copy(deep=True)\n\n for k, v in out.items():\n if isinstance(v.array, pd.arrays.ArrowExtensionArray):\n ... |
3,256,028,981 | 61,929 | Updating error message to include more details about dataframe | open | 2025-07-23T11:39:47 | 2025-08-07T19:53:30 | null | https://github.com/pandas-dev/pandas/pull/61929 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61929 | https://github.com/pandas-dev/pandas/pull/61929 | hasanrashid | 3 | - [x] closes #61834 .
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) test_indexing.py passed
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). pre-commit run --hoo... | [
"Error Reporting"
] | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | [
"Actually, there are some failing test-indexing.py. Forgot to update the message in the testcase",
"Thank you! I am sure this will make it much easier for me to figure out what I need to change!",
"Is there anything I need to do before this is reviewed?"
] |
3,255,574,178 | 61,928 | indexing with a `Categorical` of `Interval`s is inefficient | open | 2025-07-23T09:10:02 | 2025-07-24T16:25:37 | null | https://github.com/pandas-dev/pandas/issues/61928 | true | null | null | flying-sheep | 3 | This line converts the `IntervalIndex` into a numpy object array:
https://github.com/pandas-dev/pandas/blob/faf3bbb1d7831f7db8fc72b36f3e83e7179bb3f9/pandas/core/dtypes/dtypes.py#L520
then in this block, a TypeError is raised and causes that object array to be converted into strings:
> TypeError: (-0.00872, 0.439] of... | [
"Performance",
"Categorical",
"Interval"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Does hash array get called in indexing?",
"Yeah, when the indexed data frame’s `.index` is unique:\n\n```py\nimport pandas as pd\n\ndf = pd.DataFrame(dict(a=range(3)), pd.cut(range(3), 3))\nassert df.index.is_unique # bug only triggers if this is the case\n\ndf.loc[df.index.categories[:2]]\n```\n\nset a breakpo... |
3,254,677,663 | 61,927 | DOC: Add tzdata to dependencies section in README | closed | 2025-07-23T03:11:10 | 2025-07-25T16:37:25 | 2025-07-25T16:37:25 | https://github.com/pandas-dev/pandas/issues/61927 | true | null | null | n-dett | 1 | ### Pandas version checks
- [x] I have checked that the issue still exists on the latest versions of the docs on `main` [here](https://pandas.pydata.org/docs/dev/)
### Location of the documentation
[https://github.com/pandas-dev/pandas/blob/main/README.md](https://github.com/pandas-dev/pandas/blob/main/README.md)
... | [
"Docs"
] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"take"
] |
3,254,654,777 | 61,926 | BUG: Merge fails on pyarrow datetime columns | open | 2025-07-23T02:57:47 | 2025-07-31T02:20:23 | null | https://github.com/pandas-dev/pandas/issues/61926 | true | null | null | Meet1995 | 6 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Datetime",
"Reshaping",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report! This is an issue in `pandas.core.indexes.base.Index._get_join_target`. There we convert to NumPy for PyArrow-backed data, but do not view as `i8`. However for NumPy-backed datetimes, we view as `i8` in `DatetimeIndexOpsMixin._get_engine_target`. \n\n@jbrockmendel - any suggested design for s... |
3,254,290,694 | 61,925 | CoW: add readonly flag to ExtensionArrays, return read-only EA/ndarray in .array/EA.to_numpy() | open | 2025-07-22T22:51:04 | 2025-08-19T15:28:43 | null | https://github.com/pandas-dev/pandas/pull/61925 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61925 | https://github.com/pandas-dev/pandas/pull/61925 | jorisvandenbossche | 4 | Addresses one of the remaining TODO items from https://github.com/pandas-dev/pandas/issues/48998
Similar as https://github.com/pandas-dev/pandas/pull/51082 and some follow-up PRs, ensuring we also mark EAs as read-only like we do for numpy arrays, when the user gets the underlying EA from a pandas object.
For that... | [
"Copy / view semantics"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"i get why .values and .array are made read-only, but why are we bothering with to_numpy?",
"That's a good question, I didn't really think about it deeply .. But so for the non-extension dtypes, we also did it for `.values` / `__array__` and `to_numpy()` (https://github.com/pandas-dev/pandas/pull/51082), and so f... |
3,254,048,673 | 61,924 | BUG: fix indexing with ArrowExtensionArray in .iloc | closed | 2025-07-22T20:52:12 | 2025-08-15T16:28:22 | 2025-08-05T17:21:47 | https://github.com/pandas-dev/pandas/pull/61924 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61924 | https://github.com/pandas-dev/pandas/pull/61924 | skonda29 | 4 | - [X] closes #61311
- [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... | [
"Bug",
"Indexing",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"@mroeschke Thank you for your suggestion. I will rework on this PR to implement the _validate_key fix instead.\r\n",
"@mroeschke Would you mind taking a look at this PR when you get a chance? I've added a conversion to NumPy in _validate_key, and included a test case.\r\n\r\nFeedback is appreciated!",
"@mroesc... |
3,252,361,944 | 61,923 | fix: list numbering in roadmap.md | closed | 2025-07-22T11:52:06 | 2025-07-22T16:28:28 | 2025-07-22T16:28:28 | https://github.com/pandas-dev/pandas/pull/61923 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61923 | https://github.com/pandas-dev/pandas/pull/61923 | michellesweering | 1 | - [x] closes #60913
| [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the PR, but we recently removed the contents of the roadmap as the points were stale in https://github.com/pandas-dev/pandas/pull/61892\r\n\r\nClosing, but happy to have contributions to other issues labeled `good first issue`"
] |
3,252,117,914 | 61,922 | BUG: `date_range` gives different output ends for fixed `end` and varying `start` when `freq="B"` | closed | 2025-07-22T10:30:51 | 2025-07-22T20:28:05 | 2025-07-22T20:27:57 | https://github.com/pandas-dev/pandas/issues/61922 | true | null | null | torext | 2 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Datetime"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"It looks like this very old issue https://github.com/pandas-dev/pandas/issues/35342 might be related to this, as in addition to the example I gave above I've observed other variations of it where the output is expected etc.",
"Thanks for the report! I am seeing all end on `2025-07-25 10:00:00` on main. There are... |
3,251,462,170 | 61,921 | DOC: explicitly mention new str dtype is no longer a numpy dtype in migration guide | closed | 2025-07-22T07:28:09 | 2025-07-26T09:19:34 | 2025-07-26T09:19:22 | https://github.com/pandas-dev/pandas/pull/61921 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61921 | https://github.com/pandas-dev/pandas/pull/61921 | jorisvandenbossche | 1 | Triggered by https://github.com/pandas-dev/pandas/issues/61915, making it more explicit that the dtype is no longer a np.dtype object. | [
"Docs"
] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"@jorisvandenbossche this will close https://github.com/pandas-dev/pandas/issues/61915?"
] |
3,251,415,957 | 61,920 | BUG: IntervalIndex.unique() only contains the first interval if all interval borders are negative | open | 2025-07-22T07:12:08 | 2025-08-01T07:30:58 | null | https://github.com/pandas-dev/pandas/pull/61920 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61920 | https://github.com/pandas-dev/pandas/pull/61920 | khemkaran10 | 2 | Fixes: #61917
Before FIx ❌:
```python
idx_neg = pd.IntervalIndex.from_tuples([(-4, -3), (-4, -3), (-3, -2), (-3, -2), (-2, -1), (-2, -1)])
print(idx_neg.unique())
# Output:
# IntervalIndex([(-4, -3]], dtype='interval[int64, right]')
```
After Fix ✅:
```python
idx_neg = pd.IntervalIndex.from_tuples([(-4, -... | [
"Bug",
"Algos",
"Interval"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Hello @khemkaran10, I have tried your fix and I have the following issue. When i run with this branch this code:\r\n`import pandas as pd\r\nidx_neg = pd.IntervalIndex.from_tuples([(-4, -3), (-4, -3), (-3, -2), (-3, -2), (-2, -1), (-2, -1)])\r\nprint(idx_neg.unique())`\r\nI get from the last line: E ValueError: l... |
3,250,175,829 | 61,919 | Update v3.0.0.rst to use Month XX, 2025 instead of 2024 | closed | 2025-07-21T22:12:06 | 2025-07-22T02:14:18 | 2025-07-22T02:14:12 | https://github.com/pandas-dev/pandas/pull/61919 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61919 | https://github.com/pandas-dev/pandas/pull/61919 | corneliusroemer | 1 | 2024 is over and pandas v3 hasn't happened yet, so update year to 2025 | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @corneliusroemer "
] |
3,250,024,508 | 61,918 | QST: Global future flag | closed | 2025-07-21T20:55:32 | 2025-07-21T21:27:25 | 2025-07-21T21:27:25 | https://github.com/pandas-dev/pandas/issues/61918 | true | null | null | eicchen | 1 | ### Research
- [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [x] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).
### Link to question on StackOverflow
N/A
### Question about pandas
I rememb... | [
"Usage Question"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"The decision was to implement a global flag on a per-change basis, not a single global flag. Here are some examples:\n\nhttps://github.com/pandas-dev/pandas/blob/bd9f060999c282907861a3f077513eef7f374579/pandas/core/config_init.py#L880-L899\n\nClosing for now. Just comment here if you have any follow up questions."... |
3,249,292,932 | 61,917 | BUG: `IntervalIndex.unique()` only contains the first interval if all interval borders are negative | open | 2025-07-21T16:29:54 | 2025-07-26T11:39:54 | null | https://github.com/pandas-dev/pandas/issues/61917 | true | null | null | johannes-mueller | 3 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Algos",
"Interval"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I think the issue is with this logic:\n\nhttps://github.com/pandas-dev/pandas/blob/073710f6be25ff7b402314be40af4e5c80e522d3/pandas/core/arrays/interval.py#L1992-L2000\n\nTest Script:\n```python\nimport pandas as pd\nidx_pos = pd.IntervalIndex.from_tuples([(3, 4), (3, 4), (2, 3), (2, 3), (1, 2), (1, 2)])\nprint(idx... |
3,248,660,362 | 61,916 | String dtype: backwards compatibility of selecting "object" vs "str" columns in `select_dtypes` | open | 2025-07-21T13:24:05 | 2025-08-21T07:19:47 | null | https://github.com/pandas-dev/pandas/issues/61916 | true | null | null | jorisvandenbossche | 2 | We provide the `DataFrame.select_dtypes()` method to easily subset columns based on data types (groups). See https://pandas.pydata.org/pandas-docs/version/2.3/user_guide/basics.html#selecting-columns-based-on-dtype
At the moment, as documented, the select string columns you must use the `object` dtype:
```python
>>> ... | [
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Since a lot of systems likely rely on `select_dtypes(include=[object])` returning string columns, I think we should maintain backwards compatibility in 3.0, but emit a `FutureWarning` when `str` columns are implicitly selected. That avoids silent breakage while giving users time to update. In future versions, we c... |
3,247,701,580 | 61,915 | BUG: Cannot interpret string dtype as a valid data type | closed | 2025-07-21T08:31:47 | 2025-07-26T09:20:33 | 2025-07-26T09:20:33 | https://github.com/pandas-dev/pandas/issues/61915 | true | null | null | jeremiedbb | 3 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"This is actually an intentional change (see https://pandas.pydata.org/docs/dev/whatsnew/v2.3.0.html#upcoming-changes-in-pandas-3-0), and with the default string dtype being a pandas extension dtype, it is then expected behaviour that you get this error in numpy functions that are expecting a `np.dtype`.\n\nIn the ... |
3,246,738,525 | 61,914 | BUG: Convertors not running when reading a dataframe from excel using calamine engine | open | 2025-07-20T22:18:12 | 2025-07-21T16:09:49 | null | https://github.com/pandas-dev/pandas/issues/61914 | true | null | null | ramadanomar | 2 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"@ramadanomar Converters are not applied to missing values (NaN in this case), so the data from _read_excel_ converts non-missing values to strings but does not change the dtype of NaN. IMO this is the expected behavior in pandas.\n\n```python\nimport pandas as pd\n\nconverters = {\n 0: lambda v: str(v),\n 1:... |
3,246,261,681 | 61,913 | CI: properly enable the string dtype also for custom CI builds | closed | 2025-07-20T10:57:02 | 2025-07-21T19:43:58 | 2025-07-21T16:34:21 | https://github.com/pandas-dev/pandas/pull/61913 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61913 | https://github.com/pandas-dev/pandas/pull/61913 | jorisvandenbossche | 1 | Small follow-up on https://github.com/pandas-dev/pandas/pull/61722, where I forgot to set the default of the env variable to 1 if not specified in the matrix (I included it in the main matrix, but then all custom builds that were explicitly listed in the `include: ` section of the matrix would not have the variable, an... | [
"CI",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @jorisvandenbossche "
] |
3,246,237,183 | 61,912 | DOC: mention .attrs are preserved in Parquet IO for pyarrow engine | open | 2025-07-20T10:19:28 | 2025-08-06T12:16:40 | null | https://github.com/pandas-dev/pandas/pull/61912 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61912 | https://github.com/pandas-dev/pandas/pull/61912 | imramraja | 3 | This PR adds documentation to `DataFrame.to_parquet` and `pandas.read_parquet` highlighting that `DataFrame.attrs` are preserved when using the "pyarrow" engine.
This behavior is already implemented in `pandas/io/parquet/pyarrow.py`, but was undocumented. This PR improves discoverability for users.
- [x] Added `N... | [
"Docs",
"IO Parquet"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the PR, but I don't think we need to necessarily document this so closing. Happy to have your contributions on other issues labeled `good first issue`",
"> I don't think we need to necessarily document this\r\n\r\nGiven that this is a behaviour that is rather unique to the parquet format (most other ... |
3,246,075,387 | 61,911 | DOC: fix doctests for datetimelike.py files for the new string dtype | closed | 2025-07-20T06:50:55 | 2025-07-20T13:59:37 | 2025-07-20T11:03:14 | https://github.com/pandas-dev/pandas/pull/61911 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61911 | https://github.com/pandas-dev/pandas/pull/61911 | DevastatingRPG | 0 | ~~- [ ] 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... | [
"Docs",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,246,036,129 | 61,910 | BUG: .describe() doesn't work for EAs #61707 | open | 2025-07-20T06:10:36 | 2025-08-20T16:57:21 | null | https://github.com/pandas-dev/pandas/pull/61910 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61910 | https://github.com/pandas-dev/pandas/pull/61910 | kernelism | 3 | This PR fixes a bug where Series.describe() fails on certain `ExtensionArray` dtypes such as `pint[kg]`, due to attempting to cast the result to `Float64Dtype`. This is because some of the produced statistics are not castable to float, which raises errors like DimensionalityError.
We now avoid forcing a Float64Dtype... | [
"Bug",
"ExtensionArray"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Looks like this breaks some other tests",
"I think the EA needs an attribute to tell describe what the dtype should be to avoid using object",
"> I think the EA needs an attribute to tell describe what the dtype should be to avoid using object\r\n\r\ni suspect this _may_ be a use case for the just-introduced E... |
3,245,538,156 | 61,909 | BUG: fix fill value for gouped sum in case of unobserved categories for string dtype (empty string instead of 0) | closed | 2025-07-19T18:28:34 | 2025-08-21T07:18:12 | 2025-07-22T07:20:02 | https://github.com/pandas-dev/pandas/pull/61909 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61909 | https://github.com/pandas-dev/pandas/pull/61909 | jorisvandenbossche | 2 | I ran into one more case of the sum of empty / all-NaN to use "0" instead of empty string (https://github.com/pandas-dev/pandas/issues/60229), specifically when effectively introducing empty groups with categorical data with observed=False.
Follow-up on https://github.com/pandas-dev/pandas/pull/60936
The passing... | [
"Bug",
"Groupby",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Owee, I'm MrMeeseeks, Look at me.\n\nThere seem to be a conflict, please backport manually. Here are approximate instructions:\n\n1. Checkout backport branch and update it.\n\n```\ngit checkout 2.3.x\ngit pull\n```\n\n2. Cherry pick the first parent branch of the this PR on top of the older branch:\n```\ngit cherr... |
3,245,525,510 | 61,908 | DOC: fix doctests for pandas/core/strings/accessor.py for new string dtype | closed | 2025-07-19T18:17:39 | 2025-07-26T09:05:40 | 2025-07-25T13:28:58 | https://github.com/pandas-dev/pandas/pull/61908 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61908 | https://github.com/pandas-dev/pandas/pull/61908 | arthurlw | 5 | - [ ] ~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/c... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"cc @jorisvandenbossche \r\n\r\nI noticed that some of the docstrings highlight differences between returning `NaN` and `False` for boolean operations (e.g., [here](https://github.com/arthurlw/pandas/blob/1613ce992f0ab4a34ab4b0db1a421efd63b2fd54/pandas/core/strings/accessor.py#L1296)), which are now outdated. These... |
3,245,497,141 | 61,907 | DOC: fix doctests for pandas/core/generic.py for new string dtype | closed | 2025-07-19T17:49:17 | 2025-07-21T11:29:09 | 2025-07-21T11:10:44 | https://github.com/pandas-dev/pandas/pull/61907 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61907 | https://github.com/pandas-dev/pandas/pull/61907 | arthurlw | 1 | - [ ] ~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/c... | [
"Docs",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks!"
] |
3,245,171,453 | 61,906 | ENH: Make attributes saved by default | closed | 2025-07-19T10:03:08 | 2025-07-21T03:04:33 | 2025-07-21T03:02:18 | https://github.com/pandas-dev/pandas/issues/61906 | true | null | null | acampove | 3 | ### Feature Type
- [x] Adding new functionality to pandas
- [ ] Changing existing functionality in pandas
- [ ] Removing existing functionality in pandas
### Problem Description
Hi,
When doing
```python
df.attrs['array'] = array
df.to_parquet('file.parquet')
```
I see that I am not saving the array, could thi... | [
"Enhancement",
"IO Parquet",
"metadata",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Hi! I’d like to work on this issue as my first contribution to pandas. Please assign it to me.\n\nI’ve already started exploring the codebase and implemented a prototype that stores `DataFrame.attrs` in Parquet file metadata using `pyarrow`. I plan to support restoring it in `read_parquet()` as well.\nLooking forw... |
3,245,115,855 | 61,905 | DOC: fix doctests for pandas/core/base.py for new string dtype | closed | 2025-07-19T08:38:03 | 2025-07-22T22:55:28 | 2025-07-22T22:55:27 | https://github.com/pandas-dev/pandas/pull/61905 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61905 | https://github.com/pandas-dev/pandas/pull/61905 | paulbehrisch | 0 | This is an attempt to fixe the failing doctests for `pandas/core/base.py` referenced in issue #61886
Test run
```
================================================================================================================================ test session starts ==============================================... | [
"Docs",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,245,006,696 | 61,904 | DOC: Clarify to_numeric behavior for numeric dtypes | closed | 2025-07-19T06:46:56 | 2025-07-21T20:53:56 | 2025-07-21T20:53:49 | https://github.com/pandas-dev/pandas/pull/61904 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61904 | https://github.com/pandas-dev/pandas/pull/61904 | chilin0525 | 1 | - [x] closes #61903
- [ ] [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).
- [ ... | [
"Docs",
"Downcasting"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @chilin0525!"
] |
3,244,997,539 | 61,903 | DOC: Clarify to_numeric behavior for numeric dtypes | closed | 2025-07-19T06:39:17 | 2025-07-21T20:53:50 | 2025-07-21T20:53:50 | https://github.com/pandas-dev/pandas/issues/61903 | true | null | null | chilin0525 | 2 | ### Pandas version checks
- [x] I have checked that the issue still exists on the latest versions of the docs on `main` [here](https://pandas.pydata.org/docs/dev/)
### Location of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.to_numeric.html#pandas-to-numeric
### Documentation problem
... | [
"Docs",
"Downcasting"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Related to https://github.com/pandas-dev/pandas/issues/61641#issuecomment-3013740740",
"take"
] |
3,244,994,973 | 61,902 | BUG: Raise ParserWarning when on_bad_lines is callable and index_col is set (GH#61882) | open | 2025-07-19T06:36:25 | 2025-08-22T00:08:08 | null | https://github.com/pandas-dev/pandas/pull/61902 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61902 | https://github.com/pandas-dev/pandas/pull/61902 | AbhijitPatill | 4 | This PR fixes issue #61882. It raises a `ParserWarning` when `on_bad_lines` is a callable and `index_col` is set, since this combination can lead to unexpected behavior.
A test was added in `test_read_csv_warn.py` to ensure the warning is raised appropriately.
- [x] closes #61882
- [x] [Tests added and passed](h... | [
"Stale"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Hi, this PR fixes Issue #[61882]. All pre-commit checks pass locally. The CI failures appear unrelated to this change (macOS/Windows builds, Numpy dev, etc.). Please let me know if anything else is needed.\r\n\r\n",
"@AbhijitPatill The PR includes over 5,000 file changes — could you double-check if the branch wa... |
3,243,915,646 | 61,901 | DEPR: maybe_infer_ndim | closed | 2025-07-18T17:41:21 | 2025-07-21T17:09:43 | 2025-07-21T16:44:14 | https://github.com/pandas-dev/pandas/pull/61901 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61901 | https://github.com/pandas-dev/pandas/pull/61901 | jbrockmendel | 1 | - [ ] 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... | [
"Deprecate"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @jbrockmendel "
] |
3,243,872,893 | 61,900 | BUG: fix to_json() with JSON Table Schema work correctly with string dtype | closed | 2025-07-18T17:23:32 | 2025-07-26T19:09:03 | 2025-07-26T11:27:37 | https://github.com/pandas-dev/pandas/pull/61900 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61900 | https://github.com/pandas-dev/pandas/pull/61900 | khemkaran10 | 3 | Fixes: #61889
To ensure consistent behavior for to_json(), when dtype="str" is used, it will now output _"type": "string"_ instead of _"type": "any"_.
Before Fix:
```
>>> pd.Series(["a", "b", None], dtype="str").to_json(orient="table", index=False)
'{"schema":{"fields":[{"name":"values","type":"any","extDtyp... | [
"Bug",
"IO JSON",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Owee, I'm MrMeeseeks, Look at me.\n\nThere seem to be a conflict, please backport manually. Here are approximate instructions:\n\n1. Checkout backport branch and update it.\n\n```\ngit checkout 2.3.x\ngit pull\n```\n\n2. Cherry pick the first parent branch of the this PR on top of the older branch:\n```\ngit cherr... |
3,243,815,941 | 61,899 | FIX: Correct clip behavior test for lower > upper case | closed | 2025-07-18T16:58:32 | 2025-07-19T03:35:22 | 2025-07-19T03:35:22 | https://github.com/pandas-dev/pandas/pull/61899 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61899 | https://github.com/pandas-dev/pandas/pull/61899 | utsab345 | 0 | ## Description:
This PR adds a test case to verify the behavior of DataFrame.clip() when the lower bound is greater than the upper bound. The test confirms that the method applies clipping boundaries as-is without swapping them, which results in partially clipped values consistent with current pandas behavior.
## I... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
3,243,700,044 | 61,898 | BUG: `AttributeError` in `pd.eval()` when calling attribute after binary operation | closed | 2025-07-18T16:08:05 | 2025-07-18T16:13:34 | 2025-07-18T16:13:34 | https://github.com/pandas-dev/pandas/issues/61898 | true | null | null | ryantam626 | 2 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Also an issue for \n```\nimport pandas as pd\n\n\nseries1 = pd.Series([0,1,0,2,3,4,5],dtype=bool)\n\npd.eval(\n \"(~a).cumsum()\",\n local_dict={\"a\": series1}\n)\n```\n\n\n```\nAttributeError: 'UnaryOp' object has no attribute 'value'\n```\nraised \n\nExcepted\n```\n0 1\n1 1\n2 2\n3 2\n4 2\n... |
3,243,647,605 | 61,897 | DEPR: PeriodDtype.freq | open | 2025-07-18T15:47:52 | 2025-08-21T00:07:09 | null | https://github.com/pandas-dev/pandas/pull/61897 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61897 | https://github.com/pandas-dev/pandas/pull/61897 | jbrockmendel | 6 | - [ ] 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... | [
"Period",
"Deprecate",
"Stale"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Could do \"offset\" for the BaseOffset object and \"unit\" for the string?",
"> Period.unit does return a different type from Timestamp.unit, which might be a reason to use a third term?\r\n\r\nI think this is a good reason to use a different term. I think \"offset\" or \"interval\" would be good terms",
"> I ... |
3,242,624,544 | 61,896 | BUG: `rank` gives incorrect outputs on Windows with PyArrow backend | open | 2025-07-18T09:46:04 | 2025-07-19T17:13:31 | null | https://github.com/pandas-dev/pandas/issues/61896 | true | null | null | MarcoGorelli | 3 | ### Pandas version checks
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Groupby",
"Upstream issue",
"Transformations"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Note that downgrading PyArrow to version 20 resolves this\n\nI think this may be related to the PyArrow 21 release from 9 hours ago? https://pypi.org/project/pyarrow/21.0.0/",
"Took a quick look over the changelog for PyArrow 21, nothing jumped out. It'd probably be helpful to narrow down what functionality caus... |
3,241,608,318 | 61,895 | Adding examples _typing.py | closed | 2025-07-18T02:18:23 | 2025-07-18T16:40:14 | 2025-07-18T16:40:14 | https://github.com/pandas-dev/pandas/pull/61895 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61895 | https://github.com/pandas-dev/pandas/pull/61895 | hiyuk1 | 1 | Added simple examples to Renamer
| [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the PR but this doesn't add much. Closing, but feel free to tackle issues labeled `good first issue`"
] |
3,240,626,835 | 61,894 | BUG: fix padding for string categories in CategoricalIndex repr | closed | 2025-07-17T19:10:04 | 2025-07-19T10:34:36 | 2025-07-19T10:34:28 | https://github.com/pandas-dev/pandas/pull/61894 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61894 | https://github.com/pandas-dev/pandas/pull/61894 | jorisvandenbossche | 2 | Resolving some xfails: getting back the same padding as we had before.
On current main with string dtype:
```
>>> pd.CategoricalIndex(["a", "bb", "ccc"] * 10)
CategoricalIndex([ 'a', 'bb', 'ccc', 'a', 'bb', 'ccc', 'a', 'bb',
'ccc', 'a', 'bb', 'ccc', 'a', 'bb', 'ccc', 'a',
... | [
"Bug",
"Output-Formatting"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"On second look, I retract my claim that the old padding is nicer. No preference.",
"I think the non-aligned version (so how it was before / is with object dtype) is better, especially for cases where your categories have different length. The example here only has 1 vs 3 characters, but for example:\r\n\r\n```\r... |
3,240,570,216 | 61,893 | BUG: Fix concat dtype preservation through concat | closed | 2025-07-17T18:53:02 | 2025-07-22T15:32:00 | 2025-07-22T15:32:00 | https://github.com/pandas-dev/pandas/pull/61893 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61893 | https://github.com/pandas-dev/pandas/pull/61893 | adrienpacifico | 2 | - [x] closes #51362
- [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/contributing_codebase.html#pre-commit).
- [ ]... | [
"Bug",
"Reshaping",
"Categorical"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"As mentioned in #51362, this is not a bug, but we are willing to support this via a keyword in pd.concat.\r\n\r\nI think there are also some older related issues this would close. Can you make sure those are listed in the OP.",
"Closing this for now — I ran into more complexity than expected. Might revisit late... |
3,239,767,398 | 61,892 | WEB: Remove Roadmap points pending a PDEP section from Roadmap | closed | 2025-07-17T14:16:07 | 2025-07-22T17:11:00 | 2025-07-22T16:27:33 | https://github.com/pandas-dev/pandas/pull/61892 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61892 | https://github.com/pandas-dev/pandas/pull/61892 | simonjayhawkins | 2 | closes https://github.com/pandas-dev/pandas/issues/60913
In https://github.com/pandas-dev/pandas/issues/51471#issuecomment-3075831365 @jbrockmendel wrote
> No evidence the ecosystem wants this, closing.
in https://pandas.pydata.org/about/roadmap.html#roadmap-points-pending-a-pdep
> pandas is in the process ... | [
"Web",
"Roadmap"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"following suggestion by @mroeschke and thumbs up from @jbrockmendel i've removed all Roadmap points pending a PDEP.\r\n",
"Thanks @simonjayhawkins "
] |
3,238,615,955 | 61,891 | Output formatting: preserve quoting for string categories | closed | 2025-07-17T08:18:05 | 2025-07-26T19:14:46 | 2025-07-25T13:26:36 | https://github.com/pandas-dev/pandas/pull/61891 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61891 | https://github.com/pandas-dev/pandas/pull/61891 | jorisvandenbossche | 3 | POC for https://github.com/pandas-dev/pandas/issues/61890 if we want to keep the quoting behaviour | [
"Output-Formatting",
"Strings",
"Categorical"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"It's an easy change, so let's add to 2.3.x (I might just not backport all test fixes)",
"Owee, I'm MrMeeseeks, Look at me.\n\nThere seem to be a conflict, please backport manually. Here are approximate instructions:\n\n1. Checkout backport branch and update it.\n\n```\ngit checkout 2.3.x\ngit pull\n```\n\n2. Che... |
3,238,501,704 | 61,890 | Output formatting: the repr of the Categorical categories (quoted or unquoted strings?) | closed | 2025-07-17T07:41:48 | 2025-08-13T19:57:15 | 2025-08-13T19:57:02 | https://github.com/pandas-dev/pandas/issues/61890 | true | null | null | jorisvandenbossche | 7 | Because of the new string dtype, we also implicitly changes the representation of the unique categories in the Categorical dtype repr (aside the `object` -> `str` change for the dtype):
```python
>>> pd.options.future.infer_string = False
>>> pd.Categorical(list("abca"))
['a', 'b', 'c', 'a']
Categories (3, object): ['... | [
"Output-Formatting",
"Categorical"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"The technical explanation of this change is that for `Categorical.__repr__`, we have a `Categorical._repr_categories` helper method that creates this data (called from `Categorical._get_repr_footer`, which is used in the categorical repr but also in the Series repr if the dtype is categorical).\n\n\nThis function ... |
3,238,470,835 | 61,889 | BUG: make to_json with JSON Table Schema work correctly with string dtype | closed | 2025-07-17T07:30:55 | 2025-07-26T11:27:38 | 2025-07-26T11:27:38 | https://github.com/pandas-dev/pandas/issues/61889 | true | null | null | jorisvandenbossche | 4 | (noticed because of some doctest failures cfr https://github.com/pandas-dev/pandas/issues/61886)
Currently, for the strings as object dtype, it seems that we assume that object dtype are actually strings, and encode that as such in the schema part of the JSON Table Schema output:
```python
>>> pd.Series(["a", "b", No... | [
"Bug",
"IO JSON",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Changing the order in the [as_json_table_type](https://github.com/pandas-dev/pandas/blob/6537afe3701f832a0d29e1598a05c471d789f172/pandas/io/json/_table_schema.py#L53C5-L53C23) function (by moving the **_is_string_dtype_** check before the **_ExtensionDtype_** check):\n\n```python\nelif is_string_dtype(x):\n ret... |
3,238,455,184 | 61,888 | ENH: Images embedded in cells. The DISPIMG function of WPS | closed | 2025-07-17T07:26:02 | 2025-08-05T16:28:29 | 2025-08-05T16:28:29 | https://github.com/pandas-dev/pandas/issues/61888 | true | null | null | lunavexxx | 11 | ### Feature Type
- [x] Adding new functionality to pandas
- [ ] Changing existing functionality in pandas
- [ ] Removing existing functionality in pandas
### Problem Description
Hi!
I found that there is an issue with the WPS image. The software allows images to be directly embedded into cells, and the format is ... | [
"Enhancement",
"Needs Info",
"Needs Triage",
"Closing Candidate"
] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I’m all for adding WPS image‑in‑cell support to pandas.",
"I’m not clear on what you’re asking for in pandas. A new method?",
"> I’m not clear on what you’re asking for in pandas. A new method?\n\nYou can download WPS on this [website](https://www.wps.com/). Embedding images into tables is a unique feature of ... |
3,238,410,906 | 61,887 | DOC: fix doctests for string dtype changes (top-level) | closed | 2025-07-17T07:08:32 | 2025-07-17T18:27:38 | 2025-07-17T14:59:03 | https://github.com/pandas-dev/pandas/pull/61887 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61887 | https://github.com/pandas-dev/pandas/pull/61887 | jorisvandenbossche | 1 | Part of https://github.com/pandas-dev/pandas/issues/61886). Some first doctest fixes for the new string dtype, for things that pytest sees as part of `pandas/__init__.py` and some files that only had one failure. | [
"Docs",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @jorisvandenbossche "
] |
3,238,405,429 | 61,886 | DOC: fix doctests for repr changes with the new string dtype | closed | 2025-07-17T07:06:43 | 2025-07-26T17:14:23 | 2025-07-26T17:14:22 | https://github.com/pandas-dev/pandas/issues/61886 | true | null | null | jorisvandenbossche | 9 | Now the string dtype is turned on by default (https://github.com/pandas-dev/pandas/pull/61722), we also have to fix the doctests to match the new behaviour (the doctests are currently, temporarily, allowed to fail to avoid red CI until this issue is fixed).
The failures can be seen in the current doctests logs, for ex... | [
"Docs",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"@Nadav-Zilberberg as I mentioned in the issue, please wait with the categorical failures (discussion for that in https://github.com/pandas-dev/pandas/issues/61890). \nAlso do you have a PR for this that is \"ready for review\"? I don't see one, and the issue linking here is just a copy of this issue in your own re... |
3,238,123,884 | 61,885 | Fix warning for extra fields in read_csv with on_bad_lines callable | closed | 2025-07-17T05:01:15 | 2025-07-29T01:01:52 | 2025-07-29T01:01:52 | https://github.com/pandas-dev/pandas/pull/61885 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61885 | https://github.com/pandas-dev/pandas/pull/61885 | tisjayy | 2 | - [ ] closes #61837 (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... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"trailing white space is annoying",
"pre-commit.ci autofix\r\n"
] |
3,237,427,949 | 61,884 | API: Index.__cmp__(Series) return NotImplemented | closed | 2025-07-16T21:42:36 | 2025-07-17T14:18:24 | 2025-07-16T23:50:26 | https://github.com/pandas-dev/pandas/pull/61884 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61884 | https://github.com/pandas-dev/pandas/pull/61884 | jbrockmendel | 1 | - [x] closes #36759 (Replace xxxx with the GitHub issue number)
- [x] closes #54475
- [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-do... | [
"Numeric Operations"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @jbrockmendel "
] |
3,237,298,600 | 61,883 | BUG: Timedelta with invalid keyword | closed | 2025-07-16T20:38:53 | 2025-07-16T21:41:16 | 2025-07-16T21:40:23 | https://github.com/pandas-dev/pandas/pull/61883 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61883 | https://github.com/pandas-dev/pandas/pull/61883 | jbrockmendel | 1 | - [x] closes #53801 (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... | [
"Error Reporting",
"Timedelta"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @jbrockmendel "
] |
3,237,278,110 | 61,882 | BUG: disallow exotic np.datetime64 unit | closed | 2025-07-16T20:31:24 | 2025-07-17T20:13:15 | 2025-07-17T19:21:20 | https://github.com/pandas-dev/pandas/pull/61882 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61882 | https://github.com/pandas-dev/pandas/pull/61882 | jbrockmendel | 1 | - [x] closes #25611 (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... | [
"Datetime"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @jbrockmendel "
] |
3,237,191,289 | 61,881 | API: boolean ops with float dtype | open | 2025-07-16T20:00:48 | 2025-07-17T17:48:56 | null | https://github.com/pandas-dev/pandas/issues/61881 | true | null | null | jbrockmendel | 3 | ```python
# from #60234 OP
ser1 = pd.Series([False, False])
ser2 = pd.Series([0.0, 0.1])
ser1 | ser2 # <- works by casting floats to bool
ser2 | ser1 # <- raises TypeError
# We also have special-casing for NaNs among floats
ser3 = pd.Series([np.nan, 1.0])
ser3 & ser3 # <- raises bc you can't do float ... | [
"Numeric Operations",
"Needs Discussion",
"API - Consistency"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"> I think we should simplify this significantly and more closely resemble the numpy behavior.\n\nAnd the numpy behaviour is to simply raise an error in all those cases?\n\nThat was also my first reaction to seeing this issue: personally I don't really see a reason that those ops are allowed to work. _If_ you want... |
3,237,151,939 | 61,880 | Set up ty in CI | closed | 2025-07-16T19:46:36 | 2025-07-28T17:14:13 | 2025-07-28T17:14:13 | https://github.com/pandas-dev/pandas/pull/61880 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/61880 | https://github.com/pandas-dev/pandas/pull/61880 | tqa236 | 1 | Hello,
This PR sets up [`ty`](https://github.com/astral-sh/ty), a type checker developed by the creator of `ruff`, in CI.
I'm aware that `ty` is still in preview but there can be a couple of benefits in adding it now.
- It's already very fast and can help us debug faster. `mypy` is quite slow and disrupts the c... | [
"CI",
"Typing"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the PR but closing until ty is more matrue"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.