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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2,140,212,859 | 57,472 | BUG: Styler puts label before caption in to_latex() | closed | 2024-02-17T15:51:31 | 2024-02-18T10:56:31 | 2024-02-18T10:52:13 | https://github.com/pandas-dev/pandas/issues/57472 | true | null | null | bileamScheuvens | 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... | [
"Styler",
"Closing Candidate"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"This isn't true. The label is placed after the caption command in both table and long tables.\r\n\r\n```python\r\ndf = pd.DataFrame([[1,2],[3,4]])\r\nprint(df.to_latex(label=\"table:1\", caption=\"Caption\"))\r\n\r\n###\r\n\\begin{table}\r\n\\caption{Caption}\r\n\\label{table:1}\r\n\\begin{tabular}{lrr}\r\n\\topru... |
2,140,109,143 | 57,471 | BUG: guess_datetime_format fails to infer timeformat | closed | 2024-02-17T13:52:51 | 2024-02-22T04:06:48 | 2024-02-21T19:14:10 | https://github.com/pandas-dev/pandas/pull/57471 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57471 | https://github.com/pandas-dev/pandas/pull/57471 | yuanx749 | 2 | - [x] closes #57452(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... | [
"Datetime"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Explanation of the fix:\r\n\r\nThe previous code below failed for date time str of the kind like \"2023-11-09T20:23:46\".\r\n\r\nIn L1006, `parsed_formatted` is parsed to the same \"2023\" for both \"%H%M\" and \"%Y\", then in L1010 format_guess[0] becomes \"%H%M\", rather than the correct \"%Y\". Noticing the ord... |
2,140,020,022 | 57,470 | BUG: style.apply applies the style in subset, but it also reset the style elsewhere. | closed | 2024-02-17T12:09:34 | 2024-02-17T17:50:37 | 2024-02-17T17:47:50 | https://github.com/pandas-dev/pandas/issues/57470 | true | null | null | xgnata | 9 | ### 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",
"Styler"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report, confirmed on main. Further investigations and PRs to fix are welcome.\r\n\r\ncc @attack68 ",
"Hello I would be glad to work on it and fix it, \r\nSolution would be to add the inplace=True parameter so that we can easily use it in jupyter.\r\nWould be glad if anyone can also suggest other p... |
2,139,979,734 | 57,469 | DEPR: to_pytimedelta return Index[object] | closed | 2024-02-17T11:22:27 | 2024-03-20T17:30:29 | 2024-03-20T17:30:28 | https://github.com/pandas-dev/pandas/pull/57469 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57469 | https://github.com/pandas-dev/pandas/pull/57469 | lamdang2k | 2 | - [x] closes #57463
- [ ] [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... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"pre-commit.ci autofix",
"Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen."
] |
2,139,913,602 | 57,468 | Pandas Plot Fails to Open w/ Method Error | closed | 2024-02-17T09:20:44 | 2024-06-23T18:05:14 | 2024-02-19T02:55:24 | https://github.com/pandas-dev/pandas/issues/57468 | true | null | null | christopher-silvey | 7 | ### 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 Info"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. If you think this is a pandas bug, can you provide a minimal reproducible example. In particular, remove any dependency on third party packages as much as possible.",
"Also, can you give this issue a meaningful title? Currently it is `BUG:`.",
"@rhshadrach No problem at all. I have updat... |
2,139,718,597 | 57,467 | PERF: RangeIndex.append returns a RangeIndex when possible | closed | 2024-02-17T01:16:24 | 2024-03-06T21:15:55 | 2024-03-06T21:15:52 | https://github.com/pandas-dev/pandas/pull/57467 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57467 | https://github.com/pandas-dev/pandas/pull/57467 | mroeschke | 1 | Discovered in https://github.com/pandas-dev/pandas/pull/57441 | [
"Index"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"This looks good, do you want to fix the conflict here @mroeschke "
] |
2,139,715,460 | 57,466 | Backport PR #57311 on branch 2.2.x (Fixing multi method for to_sql for non-oracle databases) | closed | 2024-02-17T01:10:25 | 2024-02-17T22:33:12 | 2024-02-17T22:33:12 | https://github.com/pandas-dev/pandas/pull/57466 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57466 | https://github.com/pandas-dev/pandas/pull/57466 | meeseeksmachine | 0 | Backport PR #57311: Fixing multi method for to_sql for non-oracle databases | [
"Regression",
"IO SQL"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,139,644,190 | 57,465 | PERF: Return RangeIndex columns in str.extract when possible | closed | 2024-02-16T23:50:06 | 2024-02-19T23:55:19 | 2024-02-19T23:55:15 | https://github.com/pandas-dev/pandas/pull/57465 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57465 | https://github.com/pandas-dev/pandas/pull/57465 | mroeschke | 1 | Discovered in https://github.com/pandas-dev/pandas/pull/57441 | [
"Performance",
"Strings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Actually I don't know if this is easily generalizable so closing"
] |
2,139,580,647 | 57,464 | DOC: Making pandas always lowercase | closed | 2024-02-16T22:35:14 | 2024-02-17T11:15:12 | 2024-02-17T01:10:50 | https://github.com/pandas-dev/pandas/pull/57464 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57464 | https://github.com/pandas-dev/pandas/pull/57464 | rhshadrach | 1 | - [ ] 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... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @rhshadrach "
] |
2,139,468,884 | 57,463 | DEPR: to_pytimedelta to return Index[object] instead | closed | 2024-02-16T20:57:11 | 2024-04-23T17:21:59 | 2024-04-23T17:21:59 | https://github.com/pandas-dev/pandas/issues/57463 | true | null | null | mroeschke | 1 | https://github.com/pandas-dev/pandas/pull/52459 did this for `to_pydatetime`, so we should do the same for `to_pytimedelta` | [
"Timedelta",
"Deprecate"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I'm working on this issue"
] |
2,139,259,674 | 57,462 | REGR: Behavior differs when adding Series to frame between matching and non matching index | closed | 2024-02-16T19:10:24 | 2024-04-23T18:50:50 | 2024-04-23T18:50:49 | https://github.com/pandas-dev/pandas/pull/57462 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57462 | https://github.com/pandas-dev/pandas/pull/57462 | phofl | 2 | follow up to #56426
this was inconsistent now for matching vs non-matching
cc @lukemanley | [
"Numeric Operations",
"Stale"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this.",
"Looks like this PR has gone st... |
2,139,213,239 | 57,461 | DOC: add section Raises to PeriodIndex docstring | closed | 2024-02-16T18:47:16 | 2024-02-16T20:53:52 | 2024-02-16T20:53:46 | https://github.com/pandas-dev/pandas/pull/57461 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57461 | https://github.com/pandas-dev/pandas/pull/57461 | natmokval | 1 | we raise a ValueError: "freq not specified and cannot be inferred" if both freq and dtype are not specified in `PeriodIndex`
```
>>> pd.PeriodIndex(["2023-01-01", "2023-02-01", "2023-03-01", "2023-04-01"], freq="M")
PeriodIndex(['2023-01', '2023-02', '2023-03', '2023-04'], dtype='period[M]')
>>> pd.PeriodIndex(... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @natmokval "
] |
2,139,119,716 | 57,460 | Backport PR #57402 on branch 2.2.x (BUG: wrong future Warning on string assignment in certain condition) | closed | 2024-02-16T17:57:53 | 2024-02-16T19:21:46 | 2024-02-16T19:21:45 | https://github.com/pandas-dev/pandas/pull/57460 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57460 | https://github.com/pandas-dev/pandas/pull/57460 | meeseeksmachine | 0 | Backport PR #57402: BUG: wrong future Warning on string assignment in certain condition | [
"Warnings",
"PDEP6-related"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,139,012,377 | 57,459 | PERF: DataFrame(ndarray) constructor ensure to copy to column-major layout | closed | 2024-02-16T17:01:18 | 2024-03-07T08:33:08 | 2024-03-05T00:56:59 | https://github.com/pandas-dev/pandas/pull/57459 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57459 | https://github.com/pandas-dev/pandas/pull/57459 | jorisvandenbossche | 5 | Closes https://github.com/pandas-dev/pandas/issues/50756
xref https://github.com/pandas-dev/pandas/issues/57431
With CoW enabled now, the default behaviour of `DataFrame(ndarray)` is to copy the numpy array (before 3.0, this would not copy the data). However, if we do a copy, we should also make sure we copy it t... | [
"Performance",
"Copy / view semantics"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"\r\nWith the change, the result of the [arithmetic.FrameWithFrameWide.time_op_different_blocks op=; shape=(1000000, 10)](https://asv-runner.github.io/asv-collection/pandas/#arithmetic.FrameWithFrameWide.time_op_different_blocks?p-op=%3Cbuilt-in%20function%20floordiv%3E&p-shape=%281000000%2C%2010%29)\r\n\r\n```\r\n... |
2,138,988,285 | 57,458 | PERF: use copy=False in constructor in unstack (CoW) | closed | 2024-02-16T16:49:11 | 2024-02-19T11:15:32 | 2024-02-19T11:15:29 | https://github.com/pandas-dev/pandas/pull/57458 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57458 | https://github.com/pandas-dev/pandas/pull/57458 | jorisvandenbossche | 1 | xref https://github.com/pandas-dev/pandas/issues/57431
I _think_ we are sure that the `values` from `self.get_new_values(..)`, which we pass here to the DataFrame constructor, are always new values owned by us (not shared by any other object), and so we can safely set `copy=False` in that case.
Mimicking the `tim... | [
"Performance",
"Copy / view semantics"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"> I'm not sure that's the case. This path:\r\n\r\nAh, yes, I missed the early `return` there.\r\n\r\nContinued in -> https://github.com/pandas-dev/pandas/pull/57487"
] |
2,138,905,886 | 57,457 | BUG: Endianness problem with weird data types and shape | closed | 2024-02-16T15:58:37 | 2024-02-21T07:12:16 | 2024-02-20T17:11:03 | https://github.com/pandas-dev/pandas/issues/57457 | true | null | null | ilan-gold | 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",
"good first issue",
"Needs Tests"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"This doesn't seem to exist on the `main` branch.",
"Not sure if it should be open or closed since the `main` check is not necessary.",
"Confirmed it is not on main - but a test should still be added. Result of a git bisect shows it was fixed by CoW:\r\n\r\n```\r\ncommit 3b57972ceb49c11198eb0bec6be0006260d48085... |
2,138,783,039 | 57,456 | BUG: Inconsistent date_range output when using CustomBusinessDay as freq | closed | 2024-02-16T14:52:33 | 2024-08-15T20:17:18 | 2024-08-15T20:17:18 | https://github.com/pandas-dev/pandas/issues/57456 | true | null | null | blueharen | 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.
- [ ] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/... | [
"Bug",
"Frequency"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I am guessing the Python range won't return the last value. Does it relate to this issue?",
"I can replicate the issue (installed versions given at the bottom). I tried messing around with the inputs a bit, and found some potentially interesting things.\r\n\r\nFor one, this does not appear to be an issue when th... |
2,138,688,990 | 57,455 | Backport PR #57450 on branch 2.2.x (DOC: Set verbose parameter as deprecated in docstring) | closed | 2024-02-16T14:02:29 | 2024-02-16T17:26:33 | 2024-02-16T17:26:32 | https://github.com/pandas-dev/pandas/pull/57455 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57455 | https://github.com/pandas-dev/pandas/pull/57455 | meeseeksmachine | 0 | Backport PR #57450: DOC: Set verbose parameter as deprecated in docstring | [
"Docs",
"IO CSV"
] | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,138,688,533 | 57,454 | Release the gil in take for axis=1 | closed | 2024-02-16T14:02:11 | 2024-02-18T11:44:10 | 2024-02-16T16:05:18 | https://github.com/pandas-dev/pandas/pull/57454 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57454 | https://github.com/pandas-dev/pandas/pull/57454 | phofl | 3 | - [ ] 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... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @phofl ",
"@meeseeksdev backport 2.2.x",
"I'd like to backport this, it should be very very minor but makes debugging performance shit in dask quite cumbersome (cc @mroeschke for visibility)"
] |
2,138,662,863 | 57,453 | BUG: Inconsistent handling of named column indices in to_csv() and read_csv(). | open | 2024-02-16T13:48:26 | 2024-02-24T01:52:56 | null | https://github.com/pandas-dev/pandas/issues/57453 | true | null | null | normanius | 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.
- [X] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/... | [
"Bug",
"IO CSV",
"Needs Discussion"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. Is there a format we could use that would be backwards compatible and allow for storing the column index name? If not, I do not think we should make a backwards incompatible change to support it. But we can document that it will get ignored.\r\n\r\nAs an aside, the CSV format is a good way t... |
2,138,484,919 | 57,452 | BUG: to_datetime fails to infer timeformat depending on hour of day | closed | 2024-02-16T12:10:40 | 2024-02-21T19:14:11 | 2024-02-21T19:14:11 | https://github.com/pandas-dev/pandas/issues/57452 | true | null | null | roj516 | 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",
"datetime.date"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. This only happens for times between 20:23:00 and 20:23:59 (inclusive). Further investigations and PRs to fix are welome.",
"Interesting. It seems this happens when year and hour:minute have the same number (e.g., 2023 and 20:23). I would like to try to submit a fix. @rhshadrach "
] |
2,138,400,470 | 57,451 | DOC: Parameter verbose does not appear as deprecated | closed | 2024-02-16T11:21:57 | 2024-02-16T14:01:46 | 2024-02-16T14:01:45 | https://github.com/pandas-dev/pandas/issues/57451 | true | null | null | albertvillanova | 0 | ### 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/pandas-docs/stable/reference/api/pandas.read_csv.html
https://pandas.pydata.org/pandas-docs... | [
"Docs",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,138,368,283 | 57,450 | DOC: Set verbose parameter as deprecated in docstring | closed | 2024-02-16T11:02:22 | 2024-02-16T14:45:38 | 2024-02-16T14:01:44 | https://github.com/pandas-dev/pandas/pull/57450 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57450 | https://github.com/pandas-dev/pandas/pull/57450 | albertvillanova | 4 | This PR follows:
- #56556
TODO:
- [x] closes #57451
- [ ] [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/contribut... | [
"Docs",
"IO CSV"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"/preview",
"/preview",
"thx",
"There was a problem with the previewer, seems like GitHub only returns the first 30 elements of a request by default, we've got more than 30 jobs, and the job we needed to download the artifact wasn't being returned. I increased the number of returned items to 100, the maximum,... |
2,137,739,275 | 57,449 | BUG: `read_parquet` times out resolving S3 region | closed | 2024-02-16T01:56:49 | 2024-05-19T18:33:58 | 2024-05-19T18:33:58 | https://github.com/pandas-dev/pandas/issues/57449 | true | null | null | hutch3232 | 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.
- [ ] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"IO Network",
"IO Parquet",
"Closing Candidate"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. Grepping the pandas code, I find no instances of `AWS_PROFILE`. I don't think pandas is doing anything special in `read_csv`, so it seems likely this is not a pandas issue.",
"```Python\r\n# works perfectly\r\ndf = pd.read_csv(\"s3://my-bucket/example.csv\")\r\n\r\n# throws error seemingly... |
2,137,729,540 | 57,448 | BUG(?): Non nano + DatetOffset(component=0) re-infers resolution | open | 2024-02-16T01:43:20 | 2024-02-16T18:18:49 | null | https://github.com/pandas-dev/pandas/issues/57448 | true | null | null | mroeschke | 3 | ```python
In [1]: import pandas as pd; from io import StringIO; import numpy as np
In [2]: ser = pd.Series(pd.DatetimeIndex(["2000-01-01 00:00:00.012"], dtype="datetime64[ms]"))
In [3]: ser
Out[3]:
0 2000-01-01 00:00:00.012
dtype: datetime64[ms]
In [4]: ser + pd.DateOffset(microseconds=0) # 2.1.4
Out[... | [
"Numeric Operations",
"Frequency",
"Non-Nano"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"i think bc you passed microseconds=0, offset._pd_timedelta comes back with unit=\"us\", which is why this gets upcast",
"Would it be worth no-oping these cases though? ",
"i dont think so, no. This is analogous to `pd.Timedelta(0).as_unit(\"us\")` in that the \"us\" unit is informative despite the value being... |
2,137,693,986 | 57,447 | BUG: binop methods with `fill_value` not being respected in pandas 2.2 | open | 2024-02-16T01:02:26 | 2024-04-16T05:56:27 | null | https://github.com/pandas-dev/pandas/issues/57447 | true | null | null | mroeschke | 2 | ```python
In [1]: import pandas as pd; from io import StringIO; import numpy as np
In [2]: pd.__version__
Out[2]: '2.1.4'
In [3]: ser = pd.Series(pd.array([1, pd.NA], dtype="Float64"))
In [4]: ser.eq(np.nan, fill_value=0.0). # 2.1.4
Out[4]:
0 False
1 False
dtype: boolean
In [4]: ser.eq(np.nan,... | [
"Missing-data",
"Numeric Operations",
"NA - MaskedArrays"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I believe behavior was changed in https://github.com/pandas-dev/pandas/pull/55568 but is the 2.2.0 result not the expected result? Since the documentation states that the fill value should only be used when one side is missing, in this case, since the left series is a nullable dtype, should np.nan not be treated a... |
2,137,632,039 | 57,446 | DOC: fix SA05 errors in docstrings for pandas.core.window Expanding and Rolling, and SeriesGroupBy | closed | 2024-02-15T23:52:03 | 2024-02-16T17:24:30 | 2024-02-16T17:24:30 | https://github.com/pandas-dev/pandas/pull/57446 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57446 | https://github.com/pandas-dev/pandas/pull/57446 | williamking1221 | 1 | - [x] closes #57392
- [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).
- [ ... | [
"Code Style"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @williamking1221 and @jordan-d-murphy for the review"
] |
2,137,626,855 | 57,445 | PERF: Allow RangeIndex.take to return a RangeIndex when possible | closed | 2024-02-15T23:45:09 | 2024-02-20T10:12:15 | 2024-02-18T21:43:10 | https://github.com/pandas-dev/pandas/pull/57445 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57445 | https://github.com/pandas-dev/pandas/pull/57445 | mroeschke | 2 | Discovered in https://github.com/pandas-dev/pandas/pull/57441 | [
"Performance",
"Index"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"thx @mroeschke ",
"https://asv-runner.github.io/asv-collection/pandas/#frame_methods.SortValues.time_frame_sort_values\r\n\r\nLooks like this caused a pretty bad regression"
] |
2,137,565,223 | 57,444 | CLN: Enforce deprecation of using alias for builtin/NumPy funcs | closed | 2024-02-15T22:39:46 | 2024-02-27T22:49:06 | 2024-02-27T22:47:50 | https://github.com/pandas-dev/pandas/pull/57444 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57444 | https://github.com/pandas-dev/pandas/pull/57444 | rhshadrach | 4 | - [ ] 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... | [
"Clean",
"Apply"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"A bit of a complication here - I missed one of the paths in apply where we use the builtin/NumPy -> cython table.\r\n\r\nhttps://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/apply.py#L1439-L1442\r\n\r\nSadly, it's probably one of the more common cases where users will see ... |
2,137,484,109 | 57,443 | DOC: fix GL08 errors in docstrings | closed | 2024-02-15T21:30:57 | 2024-03-29T06:46:43 | 2024-03-18T02:00:21 | https://github.com/pandas-dev/pandas/issues/57443 | true | null | null | jordan-d-murphy | 18 | Pandas has a script for validating docstrings:
https://github.com/pandas-dev/pandas/blob/92a52e231534de236c4e878008a4365b4b1da291/ci/code_checks.sh#L144-L415
Currently, some methods fail the GL08 check.
The task here is:
- take 2-4 methods
- run: scripts/validate_docstrings.py --format=actions --errors=GL0... | [
"Docs",
"CI",
"good first issue"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I don't have permission to add them, but this could probably use some labels:\r\n\r\n- CI\r\n- Docs\r\n- good first issue",
"addresses https://github.com/pandas-dev/pandas/pull/57360",
"take",
"working on\r\n pandas.Index.empty\\ \r\n pandas.Index.names\\ \r\n pandas.Index.view\\ ",
"working on... |
2,137,415,482 | 57,442 | adding pow example for dataframe #57419 | closed | 2024-02-15T20:42:22 | 2024-02-20T00:34:31 | 2024-02-19T23:38:30 | https://github.com/pandas-dev/pandas/pull/57442 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57442 | https://github.com/pandas-dev/pandas/pull/57442 | santhoshbethi | 5 | Added example for DataFrame.pow()
- [x] closes #57419
- [ ] [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/contribut... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I found that data format in the documentation must be '{{....}}' not '{...}'. \r\n\r\n\r\nvalidation by runing command \"python scripts/validate_docstrings.py pandas.DataFrame.pow\"\r\n\r\nHope it can be helpful。 @... |
2,137,371,834 | 57,441 | TST: Clean tests that constuct Index equivalent to RangeIndexes | closed | 2024-02-15T20:16:45 | 2024-07-24T16:42:12 | 2024-07-24T16:42:09 | https://github.com/pandas-dev/pandas/pull/57441 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57441 | https://github.com/pandas-dev/pandas/pull/57441 | mroeschke | 1 | In preparation if #57436 ever lands.
| [
"Testing",
"Clean",
"Index"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Looks like tests are passing here so merging"
] |
2,137,341,955 | 57,440 | DOC: fix ES01 errors in docstrings | closed | 2024-02-15T19:59:20 | 2024-03-29T06:46:48 | 2024-02-26T17:57:10 | https://github.com/pandas-dev/pandas/issues/57440 | true | null | null | jordan-d-murphy | 15 | Pandas has a script for validating docstrings:
https://github.com/pandas-dev/pandas/blob/1ca9b5871dc71353185b48362bc84e666229810d/ci/code_checks.sh#L144-L1185
Currently, some methods fail the ES01 check.
The task here is:
- take 2-4 methods
- run: scripts/validate_docstrings.py --format=actions --errors=ES... | [
"Docs",
"CI",
"good first issue"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I don't have permission to add them, but this could probably use some labels:\r\n\r\n- CI\r\n- Docs\r\n- good first issue\r\n",
"addresses https://github.com/pandas-dev/pandas/pull/57359\r\n",
"I'll take \r\n```\r\n pandas.Categorical.__array__\r\n pandas.Categorical.as_ordered\r\n pandas.Categoric... |
2,137,318,235 | 57,439 | BUG: read_json returning Index instead of RangeIndex | closed | 2024-02-15T19:48:20 | 2024-02-21T19:41:06 | 2024-02-21T19:41:04 | https://github.com/pandas-dev/pandas/pull/57439 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57439 | https://github.com/pandas-dev/pandas/pull/57439 | mroeschke | 0 | - [x] closes #57429 (Replace xxxx with the GitHub issue number)
`_convert_axes` and `_try_convert_data` could both probably use a cleanup to align with pandas standard inference, but this is a minimal change for 2.2.1
| [
"IO JSON",
"Index"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,137,314,359 | 57,438 | DOC: fix PR01 errors in docstrings | closed | 2024-02-15T19:46:43 | 2024-03-29T06:46:55 | 2024-03-18T02:00:31 | https://github.com/pandas-dev/pandas/issues/57438 | true | null | null | jordan-d-murphy | 12 | Pandas has a script for validating docstrings:
https://github.com/pandas-dev/pandas/blob/719e4a638a4383b859d684db4ad4f7e471a58aaa/ci/code_checks.sh#L144-L467
Currently, some methods fail the PR01 check.
The task here is:
- take 2-4 methods
- run: scripts/validate_docstrings.py --format=actions --errors=PR0... | [
"Docs",
"CI",
"good first issue"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I don't have permission to add them, but this could probably use some labels:\r\n\r\n- CI\r\n- Docs\r\n- good first issue",
"Addresses https://github.com/pandas-dev/pandas/pull/57358\r\n",
"Thanks @Deen-dot for fixing \r\n```\r\npandas.Grouper\r\npandas.core.groupby.DataFrameGroupBy.cummax\r\npandas.core.grou... |
2,137,194,083 | 57,437 | BUG: Future limitation to prevent automatic type cast makes instantiation of empty series impossible | closed | 2024-02-15T18:42:36 | 2024-02-18T20:46:35 | 2024-02-18T20:46:35 | https://github.com/pandas-dev/pandas/issues/57437 | true | null | null | KingOtto123 | 10 | ### 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... | [
"Needs Discussion",
"Closing Candidate",
"PDEP6-related"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"cc @MarcoGorelli ",
"Thanks for the report!\r\n\r\n> Continue to allow assinging records of any type to empty Series.\r\n\r\nThe Series above has length 3 and so is not empty - unless maybe you're thinking of \"a Series with all NA values\" as being empty? I would advise not calling this an empty Series - in par... |
2,137,120,716 | 57,436 | API: Change `assert_index_equal(exact=)` default from `"equiv"` to `True` | open | 2024-02-15T17:57:15 | 2024-02-15T22:35:38 | null | https://github.com/pandas-dev/pandas/issues/57436 | true | null | null | mroeschke | 1 | Recently, https://github.com/pandas-dev/pandas/issues/57429 slipped through the cracks because `Index[int64]` is considered equal to `RangeIndex`. While convenient, this allows code changes to potentially introduce a change that leads to increase in memory usage (or decrease in the hopeful case). I don't think this lac... | [
"Testing",
"API Design",
"Index"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"+1"
] |
2,136,829,344 | 57,435 | Unintended behaviour (?) of item "in" Series | closed | 2024-02-15T15:30:49 | 2024-02-15T17:41:32 | 2024-02-15T17:41:31 | https://github.com/pandas-dev/pandas/issues/57435 | true | null | null | me9hanics | 1 | ### Pandas version checks
- [] 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/d... | [
"Bug",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. This is the intended behavior as documented in https://pandas.pydata.org/docs/user_guide/dsintro.html#series-is-dict-like\r\n\r\nThere is an open issue discussing changing this behavior (I can't find it right now) so closing"
] |
2,136,001,641 | 57,434 | DOC: fix SA05 errors in docstrings for `pandas.plotting.bootstrap_plot` and `pandas.plotting.radviz` | closed | 2024-02-15T09:09:44 | 2024-02-16T07:46:38 | 2024-02-15T17:08:32 | https://github.com/pandas-dev/pandas/pull/57434 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57434 | https://github.com/pandas-dev/pandas/pull/57434 | ooooo-create | 1 | All SA05 Errors resolved in the following cases:
1. scripts/validate_docstrings.py --format=actions --errors=SA05 pandas.plotting.bootstrap_plot
2. scripts/validate_docstrings.py --format=actions --errors=SA05 pandas.plotting.radviz
3. try to fix a `RT03 Return value has no description` in pandas.plotting.radvi... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @ooooo-create "
] |
2,135,829,283 | 57,433 | ENH: DF alias for DataFrame | closed | 2024-02-15T07:29:15 | 2024-02-15T17:14:49 | 2024-02-15T17:14:49 | https://github.com/pandas-dev/pandas/issues/57433 | true | null | null | lcrmorin | 2 | ### Feature Type
- [ ] Adding new functionality to pandas
- [ ] Changing existing functionality in pandas
- [ ] Removing existing functionality in pandas
### Problem Description
In a very lazy fashion, I was bored from having to write DataFrame everytime. I was wondering if DF could be used as an alias. It would ... | [
"Closing Candidate"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"You do not need pandas to do this for you.\r\n\r\n```python\r\nfrom pandas import DataFrame as DF\r\ndf = DF([[1,2], [3,4]])\r\n```",
"Agreed. Thanks for the suggestion but closing"
] |
2,135,781,028 | 57,432 | DOC: CoW and column addition | closed | 2024-02-15T06:55:29 | 2024-02-21T22:25:23 | 2024-02-21T22:25:23 | https://github.com/pandas-dev/pandas/issues/57432 | true | null | null | JB-AM | 4 | ### 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/getting_started/intro_tutorials/05_add_columns.html
### Documentation problem
I’m sti... | [
"Docs",
"Needs Info",
"Copy / view semantics"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I believe `df['newcolumn'] = process(df['existing_column'])` should create a new column on `df` with CoW enabled, can you provide a reproducible example?",
"A likely point of confusion: `df[mask]['newcolumn'] = some_value` will not update `df` because `df[mask]` is a copy of `df`, and `df[mask]` will get updated... |
2,135,635,766 | 57,431 | Potential perf regressions introduced by Copy-on-Write | open | 2024-02-15T04:50:08 | 2024-03-08T20:47:01 | null | https://github.com/pandas-dev/pandas/issues/57431 | true | null | null | rhshadrach | 9 | PR #56633 may have induced a performance regression. If it was a necessary behavior change, this may have been expected and everything is okay.
Please check the links below. If any ASVs are parameterized, the combinations of parameters that a regression has been detected for appear as subbullets.
- [x] [arithmet... | [
"Performance",
"Regression",
"Copy / view semantics"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the list! \r\nI was just planning to look at ASV for CoW today. Investigation of a few of the list:\r\n\r\n[reshape.Unstack.time_full_product](https://asv-runner.github.io/asv-collection/pandas/#reshape.Unstack.time_full_product)\r\n\r\n```\r\nm = 100\r\nn = 1000\r\n\r\nlevels = np.arange(m)\r\nindex = ... |
2,135,550,078 | 57,430 | TYP: misc return types | closed | 2024-02-15T03:05:12 | 2024-04-07T10:59:20 | 2024-02-16T17:23:10 | https://github.com/pandas-dev/pandas/pull/57430 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57430 | https://github.com/pandas-dev/pandas/pull/57430 | twoertwein | 1 | null | [
"Typing"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @twoertwein "
] |
2,135,470,504 | 57,429 | BUG: read_json(line=True) returns `Index` instead of `RangeIndex` in 2.2 | closed | 2024-02-15T01:30:18 | 2024-02-21T19:41:05 | 2024-02-21T19:41:05 | https://github.com/pandas-dev/pandas/issues/57429 | true | null | null | mroeschke | 1 | ```python
In [2]: import pandas as pd; from io import StringIO
In [3]: data = """\
...: {"a": 1, "b": 2}
...: {"a": 3, "b": 4}"""
In [4]: pd.read_json(StringIO(data), lines=True).index
Out[4]: Index([0, 1], dtype='int64'). # main
Out[3]: RangeIndex(start=0, stop=2, step=1). # 2.1
``` | [
"Regression",
"IO JSON"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"In Line 1163: Index object is explicitly created (which I commented out and used the existing index of newly generated series)\r\n\r\n\r\n\r\nAfter changes:\r\n\r\n```python3\r\ndata = \"\"\"\r\n{\"a\": 1, \"b\": 2}\... |
2,135,207,324 | 57,428 | CLN: Remove inf_as_na | closed | 2024-02-14T21:08:18 | 2024-02-19T23:28:27 | 2024-02-19T23:28:25 | https://github.com/pandas-dev/pandas/pull/57428 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57428 | https://github.com/pandas-dev/pandas/pull/57428 | mroeschke | 1 | xref https://github.com/pandas-dev/pandas/pull/53494 | [
"Clean"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Going to merge this one. Happy to follow up"
] |
2,135,140,513 | 57,427 | BUG: Resampling with non nano returns an error | open | 2024-02-14T20:22:14 | 2025-06-02T17:12:47 | null | https://github.com/pandas-dev/pandas/issues/57427 | true | null | null | khider | 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",
"Regression",
"Resample",
"Non-Nano"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report, I am seeing this also fail on 2.1.4 - can you check that again and post the `pd.show_versions()` of the 2.1.4 environment you're seeing it succeed in?\r\n\r\nAlso - I'm seeing this:\r\n\r\n```\r\nprint(ser.index)\r\n# DatetimeIndex(['-5298046-05-16 11:11:03', '-5303046-05-17 11:19:50',\r\n# ... |
2,135,111,191 | 57,426 | DOC: fix SA05 errors in docstrings for pandas.core.resample.Resampler… | closed | 2024-02-14T20:03:03 | 2024-02-14T21:25:17 | 2024-02-14T21:13:40 | https://github.com/pandas-dev/pandas/pull/57426 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57426 | https://github.com/pandas-dev/pandas/pull/57426 | williamking1221 | 1 | Small code change, removing the two functions above for SA05 ignore functions.
- [ ] xref #57392
- [ ] [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... | [
"Code Style"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @williamking1221 "
] |
2,135,075,531 | 57,425 | CLN: shift with freq and fill_value, to_pydatetime returning Series | closed | 2024-02-14T19:41:30 | 2024-02-27T17:45:37 | 2024-02-20T01:21:52 | https://github.com/pandas-dev/pandas/pull/57425 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57425 | https://github.com/pandas-dev/pandas/pull/57425 | mroeschke | 2 | xref https://github.com/pandas-dev/pandas/pull/52459, https://github.com/pandas-dev/pandas/pull/54818 | [
"Clean"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Going to merge this one. Can follow up if needed",
"> Going to merge this one. Can follow up if needed\r\n\r\nI am opening a PR #57469 to add future warning when calling ```to_pytimedelta``` function, but here it seems that you changed the return type to Series and removed all warning-related imports. Do you wan... |
2,135,034,332 | 57,424 | VOTE: Core Team Vote on Keeping/Removing pyarrow warning | closed | 2024-02-14T19:20:27 | 2024-05-31T22:07:52 | 2024-05-31T22:07:52 | https://github.com/pandas-dev/pandas/issues/57424 | true | null | null | Dr-Irv | 26 | @pandas-dev/pandas-core
At the development meeting on February 14, we agreed to take a vote on whether to remove the `DeprecationWarning` about `pyarrow` being required in version 2.2.1. We agreed that the decision about whether `pyarrow` will still be required with version 3.0 is delayed.
Core team should vot... | [
"Vote"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Option 2",
"2, I think enough feedback has been collected",
"Option 1",
"Option 1",
"Option 2\r\n\r\n(Side Note: I'm not sure the size and capabilities of pyarrow-core and whether Option 1 with an updated message about the dependency would change the feedback received)",
"Option 1, keep the warning",
"... |
2,134,994,966 | 57,423 | PERF: python 3.11 => 3.12 perf regression with .agg(','.join) | closed | 2024-02-14T19:00:12 | 2024-02-14T22:23:02 | 2024-02-14T22:19:35 | https://github.com/pandas-dev/pandas/issues/57423 | true | null | null | kartiksubbarao | 1 | ### 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.
- [ ] I have confirmed this issue exists on the main branch of pandas.
### Reproduci... | [
"Performance",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Upgrading from Python 3.12.1 to 3.12.2 resolved this issue for me: https://github.com/python/cpython/issues/115487"
] |
2,134,889,836 | 57,422 | ENH: Preserve Series index on `json_normalize` | closed | 2024-02-14T18:06:34 | 2024-02-14T22:27:33 | 2024-02-14T21:12:56 | https://github.com/pandas-dev/pandas/pull/57422 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57422 | https://github.com/pandas-dev/pandas/pull/57422 | nworb-cire | 4 | - [ ] closes #51452
- [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... | [
"IO JSON"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @nworb-cire ",
"Hi @mroeschke @nworb-cire, I just saw this via email that the original issue had been closed. (@nworb-cire thanks for the fix!).\r\n\r\nThe code looks valid and follows the principle-of-least-surprise that the index is retained when `json_normalize` input is a series.\r\n\r\nHowever, tha... |
2,134,843,274 | 57,421 | BUG: Subsetting a df can sometimes change pandas behaviour into thinking the removed values still exists | closed | 2024-02-14T17:35:29 | 2024-02-24T11:16:04 | 2024-02-14T17:47:21 | https://github.com/pandas-dev/pandas/issues/57421 | true | null | null | Chuck321123 | 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/... | [
"Bug",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report, but you can use `.cat.remove_unused_categories` https://pandas.pydata.org/docs/reference/api/pandas.Series.cat.remove_unused_categories.html",
"@mroeschke Yes, i saw your comment as i updated my comment. That is also a solution",
"You can also use `observed=True` in groupby. This will be... |
2,134,834,575 | 57,420 | DOC: fix PR07 errors in docstrings | closed | 2024-02-14T17:29:46 | 2024-03-29T06:47:02 | 2024-03-18T02:00:40 | https://github.com/pandas-dev/pandas/issues/57420 | true | null | null | jordan-d-murphy | 7 | Pandas has a script for validating docstrings:
Currently, some methods fail the PR07 check.
https://github.com/pandas-dev/pandas/blob/5fff2cd4818514a2d217e4202e1d78de2290c207/ci/code_checks.sh#L144-L258
The task here is:
- take 2-4 methods
- run: scripts/validate_docstrings.py --format=actions --errors... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I don't have permission to add them, but this could probably use some labels:\r\n\r\n- CI\r\n- Docs\r\n- good first issue",
"Addresses https://github.com/pandas-dev/pandas/pull/57357",
"opened a fix for `pandas.DataFrame.align`",
"opening a fix for \r\n\r\n```\r\npandas.DataFrame.get\r\npandas.DataFrame.roll... |
2,134,414,318 | 57,419 | DOC: Add example for DataFrame.pow | closed | 2024-02-14T13:57:29 | 2024-02-19T23:38:31 | 2024-02-19T23:38:31 | https://github.com/pandas-dev/pandas/issues/57419 | true | null | null | datapythonista | 0 | The API documentation of [DataFrame.pow](https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.pow.html) seems to be reused with many other arithmetic operations, and it contains examples for all or most of the others, but not for `pow`. For someone checking the page this is confusing, it'd be nice to add i... | [
"Docs",
"Numeric Operations",
"good first issue"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,133,982,070 | 57,418 | BUG: conversion from Int64 to string introduces decimals in Pandas 2.2.0 | closed | 2024-02-14T10:10:11 | 2024-02-20T17:26:54 | 2024-02-20T17:26:54 | https://github.com/pandas-dev/pandas/issues/57418 | true | null | null | mplatzer | 7 | ### 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/... | [
"Bug",
"Dtype Conversions",
"Regression",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. @mplatzer - can you give this issue a meaningful title? Currently it is `BUG:`.",
"@rhshadrach sorry, my bad, I've overlooked that. A meaningful title has now been added.",
"Confirmed on main. Further investigations and PRs to fix are welcome.",
"I suspect the issue is related to this ... |
2,133,564,954 | 57,417 | DOC: fix SA01 errors in docstrings | closed | 2024-02-14T05:24:36 | 2024-03-29T06:47:10 | 2024-03-18T02:00:49 | https://github.com/pandas-dev/pandas/issues/57417 | true | null | null | jordan-d-murphy | 8 | Pandas has a script for validating docstrings:
https://github.com/pandas-dev/pandas/blob/44c50b20e8d08613144b3353d9cd0844a53bd077/ci/code_checks.sh#L416-L1426
Currently, some methods fail the SA01 check.
The task here is:
- take 2-4 methods
- run: scripts/validate_docstrings.py --format=actions --errors=SA... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I don't have permission to add them, but this could probably use some labels:\r\n\r\n- CI\r\n- Docs\r\n- good first issue",
"Addresses https://github.com/pandas-dev/pandas/pull/57354",
"opened up a fix for `pandas.ArrowDtype`",
"opened a fix for \r\n```\r\npandas.BooleanDtype\r\npandas.StringDtype\r\n```",
... |
2,133,553,554 | 57,416 | DOC: fix RT03 errors in docstrings | closed | 2024-02-14T05:13:11 | 2024-09-22T12:14:23 | 2024-03-18T02:00:59 | https://github.com/pandas-dev/pandas/issues/57416 | true | null | null | jordan-d-murphy | 18 | Pandas has a script for validating docstrings:
https://github.com/pandas-dev/pandas/blob/44c50b20e8d08613144b3353d9cd0844a53bd077/ci/code_checks.sh#L144-L414
Currently, some methods fail the RT03 check.
The task here is:
1. take 2-4 methods
2. run: scripts/validate_docstrings.py --format=actions --errors=R... | [
"Docs",
"good first issue"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I don't have permission to add them, but this could probably use some labels:\r\n\r\n- CI\r\n- Docs\r\n- good first issue",
"Addresses https://github.com/pandas-dev/pandas/pull/57356",
"Will work on \r\n\r\n- pandas.Index.to_numpy\r\n- pandas.Categorical.set_categories",
"Continue with:\r\n\r\n- pandas.Categ... |
2,133,522,469 | 57,415 | DOC: Resolve SA05 errors for all ExponentialMovingWindow, Expanding, Rolling, and Window | closed | 2024-02-14T04:33:49 | 2024-02-14T17:26:56 | 2024-02-14T14:49:22 | https://github.com/pandas-dev/pandas/pull/57415 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57415 | https://github.com/pandas-dev/pandas/pull/57415 | jordan-d-murphy | 1 | A small change in a shared template resolved all SA05 errors for the following:
```
pandas.core.window.ewm.ExponentialMovingWindow.corr
pandas.core.window.ewm.ExponentialMovingWindow.cov
pandas.core.window.ewm.ExponentialMovingWindow.mean
pandas.core.window.ewm.ExponentialMovingWindow.std
pandas.core.window.ewm.... | [
"Docs",
"Clean"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks Jordan, very nice PR"
] |
2,133,440,699 | 57,414 | DOC: fix SA05 errors in docstring for pandas.core.groupby.DataFrameGroupBy - first, last | closed | 2024-02-14T02:29:31 | 2024-02-14T17:08:35 | 2024-02-14T17:08:27 | https://github.com/pandas-dev/pandas/pull/57414 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57414 | https://github.com/pandas-dev/pandas/pull/57414 | Pistonamey | 2 | - [x] xref #57392
- [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).
- [ ] A... | [
"Docs",
"Clean"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"> lgtm, thanks @Pistonamey\r\n\r\nYour Welcome, so no conflicts, which means they will be merged ?",
"Thanks @Pistonamey "
] |
2,133,365,600 | 57,413 | Backport PR #57388 on branch 2.2.x (BUG: map(na_action=ignore) not respected for Arrow & masked types) | closed | 2024-02-14T00:49:58 | 2024-02-14T02:12:17 | 2024-02-14T02:12:17 | https://github.com/pandas-dev/pandas/pull/57413 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57413 | https://github.com/pandas-dev/pandas/pull/57413 | meeseeksmachine | 0 | Backport PR #57388: BUG: map(na_action=ignore) not respected for Arrow & masked types | [
"NA - MaskedArrays",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,133,362,780 | 57,412 | Remove method from fillna | closed | 2024-02-14T00:46:12 | 2024-03-16T17:46:23 | 2024-03-16T17:46:20 | https://github.com/pandas-dev/pandas/pull/57412 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57412 | https://github.com/pandas-dev/pandas/pull/57412 | phofl | 1 | - [ ] 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... | [
"Clean",
"Stale"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this."
] |
2,133,355,837 | 57,411 | BUG: read_parquet gives TypeError if dtype is a pyarrow list | open | 2024-02-14T00:37:46 | 2024-05-14T22:15:14 | null | https://github.com/pandas-dev/pandas/issues/57411 | true | null | null | kinianlo | 7 | ### 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/... | [
"Bug",
"IO Parquet",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. Can you give this issue a meaningful title? Currently it is `BUG:`.",
"> Thanks for the report. Can you give this issue a meaningful title? Currently it is `BUG:`.\r\n\r\nThanks! Title updated.",
"Thanks for the report - further investigations and PRs to fix are welcome!",
"take",
"I... |
2,133,326,036 | 57,410 | Remove downcast from Index.fillna | closed | 2024-02-14T00:03:23 | 2024-02-14T09:03:30 | 2024-02-14T02:12:46 | https://github.com/pandas-dev/pandas/pull/57410 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57410 | https://github.com/pandas-dev/pandas/pull/57410 | phofl | 1 | - [ ] 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... | [
"Clean"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @phofl "
] |
2,133,223,823 | 57,409 | ENH: df.columns returns list of series | closed | 2024-02-13T22:24:27 | 2024-03-18T01:56:07 | 2024-03-18T01:56:06 | https://github.com/pandas-dev/pandas/issues/57409 | true | null | null | R3dan | 6 | ### Feature Type
- [X] Adding new functionality to pandas
- [X] Changing existing functionality in pandas
- [ ] Removing existing functionality in pandas
### Problem Description
Currently you can go df[{column label}] to access a column or df.columns to access the column labels. I propose either a new ... | [
"Enhancement",
"Indexing",
"Needs Info",
"Closing Candidate"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the request. I would recommend using `[e for _, e in df.items()]`. \r\n\r\nWhat advantage does adding a method here provide a user that is difficult / not possible today?",
"> This could also allow for adding or removinf new columns by editing df.columns\r\n\r\nAdding a new method for getting a list ... |
2,133,216,939 | 57,408 | DOC: fix SA05 errors in docstrings for pandas.PeriodIndex.asfreq, arr… | closed | 2024-02-13T22:18:15 | 2024-02-14T04:13:20 | 2024-02-14T02:13:30 | https://github.com/pandas-dev/pandas/pull/57408 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57408 | https://github.com/pandas-dev/pandas/pull/57408 | williamking1221 | 1 | …ays - ArrowStringArray, StringArray
- [x] xref #57392
- [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/contrib... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @williamking1221 "
] |
2,133,173,034 | 57,407 | BUG: to_csv and load_csv add columns | closed | 2024-02-13T21:39:27 | 2024-02-13T22:41:10 | 2024-02-13T22:41:03 | https://github.com/pandas-dev/pandas/issues/57407 | true | null | null | R3dan | 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/... | [
"Bug",
"IO CSV"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. When submitting bug reports, please provide a full reproducible example if possible.\r\n\r\nIn this example, `DataFrame.to_csv` includes the index by default. You need to pass `index=False` if you do not want this to happen.\r\n\r\nClosing for now. If you think there is still an issue with p... |
2,133,102,823 | 57,406 | CLN: Misc pre-COW stuff | closed | 2024-02-13T20:48:48 | 2024-02-13T23:00:44 | 2024-02-13T23:00:41 | https://github.com/pandas-dev/pandas/pull/57406 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57406 | https://github.com/pandas-dev/pandas/pull/57406 | mroeschke | 0 | null | [
"Clean",
"Copy / view semantics"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,133,033,260 | 57,405 | CLN: Enforce nonkeyword deprecations | closed | 2024-02-13T19:55:52 | 2024-02-14T02:11:06 | 2024-02-14T00:46:53 | https://github.com/pandas-dev/pandas/pull/57405 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57405 | https://github.com/pandas-dev/pandas/pull/57405 | mroeschke | 1 | xref https://github.com/pandas-dev/pandas/pull/56493 | [
"Clean"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"thx @mroeschke "
] |
2,132,935,871 | 57,404 | DOC: fix SA05 errors in docstring for pandas.DataFrame - agg, aggregate, boxplot | closed | 2024-02-13T18:41:13 | 2024-02-13T20:04:58 | 2024-02-13T19:56:34 | https://github.com/pandas-dev/pandas/pull/57404 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57404 | https://github.com/pandas-dev/pandas/pull/57404 | jordan-d-murphy | 1 | All SA05 Errors resolved in the following cases:
1. scripts/validate_docstrings.py --format=actions --errors=SA05 pandas.DataFrame.agg
2. scripts/validate_docstrings.py --format=actions --errors=SA05 pandas.DataFrame.aggregate
3. scripts/validate_docstrings.py --format=actions --errors=SA05 pandas.DataFrame.boxplo... | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @jordan-d-murphy "
] |
2,132,851,037 | 57,403 | Deprecate ``future.no_silent_downcasting`` | open | 2024-02-13T17:45:22 | 2024-03-24T18:16:47 | null | https://github.com/pandas-dev/pandas/issues/57403 | true | null | null | phofl | 3 | Deprecation is enforced, so should deprecate the option
#57328 | [
"Deprecate"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I think this should be closed now that #57328 has been merged",
"no, we have to deprecate the option",
"I thought that PR did that, my bad"
] |
2,132,485,431 | 57,402 | BUG: wrong future Warning on string assignment in certain condition | closed | 2024-02-13T14:41:08 | 2024-02-16T17:57:55 | 2024-02-16T17:57:46 | https://github.com/pandas-dev/pandas/pull/57402 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57402 | https://github.com/pandas-dev/pandas/pull/57402 | MarcoGorelli | 1 | - [ ] closes #56503 (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... | [
"Warnings",
"PDEP6-related"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @MarcoGorelli "
] |
2,132,369,777 | 57,401 | CI: Format rst code blocks with blacken-docs | closed | 2024-02-13T13:49:29 | 2024-03-12T06:35:24 | 2024-03-12T06:35:20 | https://github.com/pandas-dev/pandas/pull/57401 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57401 | https://github.com/pandas-dev/pandas/pull/57401 | tqa236 | 5 | - [ ] closes #46865
- [ ] [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",
"CI",
"Code Style"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"What's the plan with this @tqa236? Are the problems in the CI a blocker to move forward with this?",
"hi @datapythonista, this problem is not related to the recent broken CI, although the broken CI indeed doesn't help testing or exploring.\r\n\r\nThe exact issue that prevents us from having a green CI is just th... |
2,131,986,862 | 57,400 | BUG: Excel URLs disappear after 65530 | closed | 2024-02-13T10:29:35 | 2024-02-13T23:38:32 | 2024-02-13T17:14:40 | https://github.com/pandas-dev/pandas/issues/57400 | true | null | null | pickfire | 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",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report, but pandas just dispatches to the underlying library to parse excel. So closing as an upstream issue. Maybe you can try submitting a request to openpyxl?",
"Looks like it works on openpyxl but none of the URLs are clickable."
] |
2,131,867,509 | 57,399 | Fix for issue #57268 - ENH: Preserve input start/end type in interval… | closed | 2024-02-13T09:28:49 | 2024-02-15T17:57:56 | 2024-02-15T17:35:06 | https://github.com/pandas-dev/pandas/pull/57399 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57399 | https://github.com/pandas-dev/pandas/pull/57399 | VISWESWARAN1998 | 5 | …_range
- [ ] closes #57268
- [ ] [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-com... | [
"Dtype Conversions",
"Interval"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"> ew note in `v3.0.0.rst` and a unit test.\r\n> \r\n> Also could you fix this for float types too?\r\n\r\nCan you give me an example for float type with expected results? Thank you!",
"I have added my implementations for supporting float types. But I see in base.py that pandas doesn't support float16 data types.... |
2,131,740,558 | 57,398 | BUG: groupby category type variable fails when suppressing the FutureWarning | closed | 2024-02-13T08:26:05 | 2024-02-13T22:49:44 | 2024-02-13T22:49:07 | https://github.com/pandas-dev/pandas/issues/57398 | true | null | null | J-ZW-Wang | 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.
- [ ] I have confirmed this bug exists on the [main branch](https://pandas.pydata.org/docs/dev/ge... | [
"Bug",
"Groupby",
"Warnings"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. [filterwarnings](https://docs.python.org/3/library/warnings.html#warnings.filterwarnings) takes a class as a 3rd argument, not a string. You want:\r\n\r\n warnings.simplefilter('ignore', category=FutureWarning)\r\n\r\nClosing for now. If you think there is still an issue with pandas, comm... |
2,131,620,302 | 57,397 | TST: Add missing skips for unavailable pyarrow | closed | 2024-02-13T07:25:19 | 2025-02-10T18:51:43 | 2025-02-10T18:51:43 | https://github.com/pandas-dev/pandas/pull/57397 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57397 | https://github.com/pandas-dev/pandas/pull/57397 | QuLogic | 7 | The `all_parsers` fixture has this check, but some of the other fixtures were missing it.
- [n/a] 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 fe... | [
"Testing",
"Stale",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Given #54466, this is primarily targeted at getting backported to 2.2.x.",
"This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if y... |
2,131,467,989 | 57,396 | BUG: Ensure consistent kwarg only restriction on df.any and df.all | closed | 2024-02-13T05:01:27 | 2024-03-20T17:02:40 | 2024-03-20T17:02:40 | https://github.com/pandas-dev/pandas/pull/57396 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57396 | https://github.com/pandas-dev/pandas/pull/57396 | aidoskanapyanov | 5 | - [x] closes #57087
- [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).
- [ ... | [
"Stale",
"Reduction Operations"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Oh, my bad, okay 👌\nGotta learn about deprecating",
"> Gotta learn about deprecating\r\n\r\nLuckily, it is quite simple:\r\n\r\n1) you decorate the method with this:\r\n`@deprecate_nonkeyword_arguments(version=\"3.0\", allowed_args=[\"self\"], name=\"all\")`\r\nwhere `name` is the name of the method.\r\n\r\n2) ... |
2,131,453,170 | 57,395 | BUG: `KeyError: DictionaryType` when converting to/from PyArrow backend | open | 2024-02-13T04:43:32 | 2024-02-19T22:28:21 | null | https://github.com/pandas-dev/pandas/issues/57395 | true | null | null | ajfriend | 7 | ### 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",
"Needs Discussion",
"Arrow",
"pyarrow dtype retention"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. I'm not certain this shouldn't raise. Besides raising, it seems to me the only reasonable results are to either not convert or convert to NumPy object dtype. But neither of these are NumPy-nullable dtypes. That suggests to me the operation cannot be performed, i.e. should raise.\r\n\r\ncc @j... |
2,131,447,898 | 57,394 | TST: Fix test_str_encode on big endian machines | closed | 2024-02-13T04:36:58 | 2024-02-13T23:20:58 | 2024-02-13T17:09:52 | https://github.com/pandas-dev/pandas/pull/57394 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57394 | https://github.com/pandas-dev/pandas/pull/57394 | QuLogic | 1 | I couldn't find a way to specify the endianness when creating the `ArrowDtype`, so just pick the right result based on native byte order.
- [x] closes #57373 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#wr... | [
"Testing",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Sure thanks @QuLogic "
] |
2,131,405,003 | 57,393 | TST: Fix IntervalIndex constructor tests on big-endian systems | closed | 2024-02-13T03:41:59 | 2024-02-13T23:20:35 | 2024-02-13T17:23:46 | https://github.com/pandas-dev/pandas/pull/57393 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57393 | https://github.com/pandas-dev/pandas/pull/57393 | QuLogic | 1 | Two tests cases specify the expected data to be little-endian. However, none of the other cases do so, and the test creates native endian data, causing these tests to fail only in these specific cases.
- [n/a] closes #xxxx (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pyd... | [
"Testing",
"Interval"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @QuLogic "
] |
2,131,388,888 | 57,392 | DOC: fix SA05 errors in docstrings | closed | 2024-02-13T03:17:47 | 2024-03-29T06:47:39 | 2024-02-16T17:24:31 | https://github.com/pandas-dev/pandas/issues/57392 | true | null | null | jordan-d-murphy | 31 | Pandas has a script for validating docstrings:
https://github.com/pandas-dev/pandas/blob/1d7aedcd19470f689e4db625271802eb49531e80/ci/code_checks.sh#L145-L206
Currently, some methods fail the SA05 check.
The task here is:
- take 2-4 methods
- run: scripts/validate_docstrings.py --format=actions --errors=SA0... | [
"Docs",
"CI",
"good first issue"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I don't have permission to add them, but this could probably use some labels: \r\n\r\n- CI \r\n- Docs\r\n- good first issue\r\n\r\n",
"Addresses https://github.com/pandas-dev/pandas/pull/57352",
"I'll take \r\n```\r\npandas.DataFrame.agg\r\npandas.DataFrame.aggregate\r\npandas.DataFrame.boxplot\r\n```",
"I'l... |
2,131,285,134 | 57,391 | Fix evaluations on Python 3.12 | closed | 2024-02-13T01:11:53 | 2024-08-21T17:44:33 | 2024-08-21T17:44:32 | https://github.com/pandas-dev/pandas/pull/57391 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57391 | https://github.com/pandas-dev/pandas/pull/57391 | QuLogic | 3 | List comprehensions no longer get their own scope [1], so adding a level to the (eventual) call to `sys._getframe` goes outside the actual caller. If running in `pytest` (so that there is a scope outside the caller), you end up looking in some unrelated scope. If you are running a script, then `sys._getframe` raises an... | [
"Testing",
"Stale",
"Python 3.12"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"OK, so tests on CI are failing with the change to the warning condition. _However_, if you check [the logs for `main`](https://github.com/pandas-dev/pandas/actions/runs/7880360042/job/21502267281#step:8:51), it seems like the warning is raised, but from a weird spot that isn't caught:\r\n```\r\n/home/runner/microm... |
2,131,268,421 | 57,390 | BUG: Identity checking NA in `map` is incorrect | open | 2024-02-13T00:59:36 | 2025-08-17T02:22:55 | null | https://github.com/pandas-dev/pandas/issues/57390 | true | null | null | mroeschke | 4 | ```python
In [2]: pd.Series([pd.NA], dtype="Int64").map(lambda x: 1 if x is pd.NA else 2)
Out[2]:
0 2
dtype: int64
```
In pandas 2.1
```python
In [2]: pd.Series([pd.NA], dtype="Int64").map(lambda x: 1 if x is pd.NA else 2)
Out[2]:
0 1
```
This is probably because we call `to_numpy` before goi... | [
"Regression",
"Apply",
"NA - MaskedArrays",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"I hit the same issue in 2.2.0, based on https://github.com/pandas-dev/pandas/issues/56606#issuecomment-1871319732, it was mentioned this was the expected behavior going forward. Is this no longer the case?",
"Ah thanks @rohanjain101, I didn't realized you opened https://github.com/pandas-dev/pandas/issues/56606\... |
2,131,268,206 | 57,389 | TST: Ensure Matplotlib is always cleaned up | closed | 2024-02-13T00:59:30 | 2024-02-13T03:18:26 | 2024-02-13T02:54:54 | https://github.com/pandas-dev/pandas/pull/57389 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57389 | https://github.com/pandas-dev/pandas/pull/57389 | QuLogic | 1 | The seaborn test also uses Matplotlib but was not wrapped in the cleanup fixture, As there are now 3 files that need this fixture, refactor to reduce code duplication.
The leftover figure from `test_seaborn` would cause a DeprecationWarning from Matplotlib 3.8 for closing the figures on the backend change (from the ... | [
"Testing"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @QuLogic "
] |
2,131,258,270 | 57,388 | BUG: map(na_action=ignore) not respected for Arrow & masked types | closed | 2024-02-13T00:52:13 | 2024-02-14T02:11:13 | 2024-02-14T00:49:24 | https://github.com/pandas-dev/pandas/pull/57388 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57388 | https://github.com/pandas-dev/pandas/pull/57388 | mroeschke | 1 | ```python
In [5]: df = DataFrame({"a": [1, NA, 2], "b": [NA, 4, NA]}, dtype="Int64")
In [6]: df.map(lambda x: 42, na_action="ignore") # pd.NA's lost
Out[6]:
a b
0 42 42
1 42 42
2 42 42
``` | [
"NA - MaskedArrays",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"thx @mroeschke "
] |
2,131,114,459 | 57,387 | CLN: Python 2 pickle/hdf support | closed | 2024-02-12T22:40:44 | 2024-02-14T02:10:51 | 2024-02-14T00:48:13 | https://github.com/pandas-dev/pandas/pull/57387 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57387 | https://github.com/pandas-dev/pandas/pull/57387 | mroeschke | 1 | xref https://github.com/pandas-dev/pandas/pull/57155 | [
"IO HDF5",
"IO Pickle"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"thx @mroeschke "
] |
2,131,055,868 | 57,386 | BUG: assert_index_equal defaults to check_exact_index=False on integers | closed | 2024-02-12T21:57:59 | 2024-04-24T16:18:04 | 2024-04-24T16:18:04 | https://github.com/pandas-dev/pandas/issues/57386 | true | null | null | rhshadrach | 2 | Ref: https://github.com/pandas-dev/pandas/pull/57341#discussion_r1486812938 | [
"Bug",
"Testing",
"API - Consistency"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Sorry but I don't understand what the bug is from the title, looking at `assert_index_equal`'s parameters I can see that `check_exact` always defaults to `True`\r\nLooking at the comment, maybe you meant that `check_exact_index` in `assert_series_equal` defaults to `False` for integers? ",
"> maybe you meant tha... |
2,131,043,734 | 57,385 | CLN: ._data, PeriodIndex arguments | closed | 2024-02-12T21:49:32 | 2024-02-14T17:43:57 | 2024-02-14T17:43:54 | https://github.com/pandas-dev/pandas/pull/57385 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57385 | https://github.com/pandas-dev/pandas/pull/57385 | mroeschke | 1 | xref https://github.com/pandas-dev/pandas/pull/52003, https://github.com/pandas-dev/pandas/pull/55963
Bumped fastparquet as they updated their `_data` usage in https://github.com/dask/fastparquet/commit/7d9703b82090c5fc8ae3b013ae558f3b06fa287c | [
"Clean"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Going to merge but can follow up if needed"
] |
2,130,988,210 | 57,384 | DOC: add an example to `PeriodIndex.to_timestamp` to clarify the behavior in case len(index)<3 | closed | 2024-02-12T21:10:29 | 2024-02-15T16:09:12 | 2024-02-15T16:09:12 | https://github.com/pandas-dev/pandas/pull/57384 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57384 | https://github.com/pandas-dev/pandas/pull/57384 | natmokval | 1 | xref #56213
added an example to `PeriodIndex.to_timestamp` to clarify the behavior in case `len(index) < 3` | [
"Docs"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"@MarcoGorelli, I added an example to clarify the behavior of `PeriodIndex.to_timestamp` in case `len(index) < 3`. Could you please take a look at this PR?"
] |
2,130,938,042 | 57,383 | Backport PR #57379 on branch 2.2.x (Fix numpy-dev CI warnings) | closed | 2024-02-12T20:33:11 | 2024-02-12T21:50:47 | 2024-02-12T21:50:47 | https://github.com/pandas-dev/pandas/pull/57383 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57383 | https://github.com/pandas-dev/pandas/pull/57383 | meeseeksmachine | 0 | Backport PR #57379: Fix numpy-dev CI warnings | [
"CI",
"IO JSON",
"Compat"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,130,771,561 | 57,382 | DOC: `is_interval` is deprecated, but not in the docs | closed | 2024-02-12T19:03:40 | 2024-02-19T20:15:25 | 2024-02-19T20:15:25 | https://github.com/pandas-dev/pandas/issues/57382 | true | null | null | Dr-Irv | 0 | ### 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/pandas-docs/stable/reference/api/pandas.api.types.is_interval.html
### Documentation proble... | [
"Docs",
"Blocker"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,130,712,725 | 57,381 | Backport PR #57340 on branch 2.2.x (REGR: shift raising for axis=1 and empty df) | closed | 2024-02-12T18:25:35 | 2024-02-12T20:33:27 | 2024-02-12T20:33:27 | https://github.com/pandas-dev/pandas/pull/57381 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57381 | https://github.com/pandas-dev/pandas/pull/57381 | meeseeksmachine | 0 | Backport PR #57340: REGR: shift raising for axis=1 and empty df | [
"DataFrame"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,130,710,372 | 57,380 | Backport PR #57341 on branch 2.2.x (REGR: assert_series_equal defaulting to check_exact=True for Index) | closed | 2024-02-12T18:23:50 | 2024-02-12T20:33:19 | 2024-02-12T20:33:18 | https://github.com/pandas-dev/pandas/pull/57380 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57380 | https://github.com/pandas-dev/pandas/pull/57380 | meeseeksmachine | 0 | Backport PR #57341: REGR: assert_series_equal defaulting to check_exact=True for Index | [
"Testing",
"Regression"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,130,700,825 | 57,379 | Fix numpy-dev CI warnings | closed | 2024-02-12T18:18:43 | 2024-02-12T20:33:11 | 2024-02-12T20:33:04 | https://github.com/pandas-dev/pandas/pull/57379 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57379 | https://github.com/pandas-dev/pandas/pull/57379 | WillAyd | 1 | null | [
"CI",
"IO JSON",
"Compat"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks @WillAyd "
] |
2,129,731,875 | 57,378 | ENH: ordered_fillna() to sequentially fillna a single column/Series with multiple possible values | closed | 2024-02-12T09:33:55 | 2024-02-13T09:32:34 | 2024-02-13T09:32:33 | https://github.com/pandas-dev/pandas/issues/57378 | true | null | null | vivianleung | 6 | ### Feature Type
- [X] Adding new functionality to pandas
- [ ] Changing existing functionality in pandas
- [ ] Removing existing functionality in pandas
### Problem Description
I wish I could dynamically apply fillna to a DataFrame column or Series using a sequence of multiple Series and/or column lab... | [
"Enhancement",
"Needs Triage"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Why can't you just do\r\n\r\n```\r\ndf.loc[df.x.isna(), \"x\"] = ordered_sequence\r\n```\r\n\r\n?\r\n",
"Thanks for your response! \r\n\nIn your example, is `ordered_sequence` a sequence of values, i.e. only one value/option is given for each (null) value in the slice? Or multiple options?\n\r\nBy ordered sequen... |
2,129,706,199 | 57,377 | BUG: Inconsistent "is_year_start" from DatetimeIndex with freq "MS" | closed | 2024-02-12T09:18:17 | 2024-05-02T10:14:06 | 2024-05-02T10:14:06 | https://github.com/pandas-dev/pandas/issues/57377 | true | null | null | pforero | 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",
"datetime.date"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"Thanks for the report. Confirmed on main, further investigations and PRs to fix are welcome!",
"take",
"Upon further inspection, it looks like is_quarter_start with the freq 'MS' is having the same issue\r\n```python\r\nidx = pd.date_range('2017-01-01', periods=6, freq='MS')\r\nidx[idx.is_quarter_start]\r\n```... |
2,129,632,607 | 57,376 | Bump pre-commit/action from 3.0.0 to 3.0.1 | closed | 2024-02-12T08:28:08 | 2024-02-12T16:58:23 | 2024-02-12T16:58:20 | https://github.com/pandas-dev/pandas/pull/57376 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57376 | https://github.com/pandas-dev/pandas/pull/57376 | dependabot[bot] | 0 | Bumps [pre-commit/action](https://github.com/pre-commit/action) from 3.0.0 to 3.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pre-commit/action/releases">pre-commit/action's releases</a>.</em></p>
<blockquote>
<h2>pre-commit/action@v3.0.1</h2>
<h3>Misc</h3>
<ul>
<li>Upd... | [
"CI",
"Dependencies"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
2,129,382,701 | 57,375 | DEPR: Positional arguments in Series.to_string | closed | 2024-02-12T04:03:04 | 2024-02-17T17:14:36 | 2024-02-17T13:11:08 | https://github.com/pandas-dev/pandas/pull/57375 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57375 | https://github.com/pandas-dev/pandas/pull/57375 | rmhowe425 | 6 | - [X] closes #57280
- [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]... | [
"IO Data",
"Deprecate"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"@mroeschke Pinging on green",
"Looking good! You can already make the two overloads keyword-only, if you want to:\r\n\r\n```py\r\n @overload\r\n def to_string(\r\n self,\r\n buf: None = ...,\r\n *,\r\n na_rep: str = ...,\r\n```",
"@twoertwein It looks like the two overloaded m... |
2,129,378,611 | 57,374 | update intiger_na.rst document file | closed | 2024-02-12T03:56:52 | 2024-02-12T17:08:50 | 2024-02-12T17:08:49 | https://github.com/pandas-dev/pandas/pull/57374 | true | https://api.github.com/repos/pandas-dev/pandas/pulls/57374 | https://github.com/pandas-dev/pandas/pull/57374 | codeoxygen | 2 | - [x] closes #49201
- [ ] [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).
- [ ... | [] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [
"pre-commit.ci autofix",
"Thanks for the PR but this is actively being worked on in https://github.com/pandas-dev/pandas/pull/57050 so closing in favor of that open PR. Can reopen this one if the other one goes stale"
] |
2,129,330,935 | 57,373 | BUG: test_str_encode[utf32] fails on big-endian machine | closed | 2024-02-12T02:41:06 | 2024-02-13T17:09:53 | 2024-02-13T17:09:53 | https://github.com/pandas-dev/pandas/issues/57373 | true | null | null | QuLogic | 0 | The `test_str_encode` test here:
https://github.com/pandas-dev/pandas/blob/4e40afd9d9a6206a1cab83b4fdb0365cd739f576/pandas/tests/extension/test_arrow.py#L2171-L2183
appears to encode to _native_ byte order, but the expected value `b"\xff\xfe\x00\x00a\x00\x00\x00b\x00\x00\x00c\x00\x00\x00"` is given in _little-endian_... | [
"Testing",
"Arrow"
] | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.