BrandonFors/pandas-github-issues huggingface dataset:
50557
State: closed

- [ ] closes #50557  (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/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:

Comments:
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.
TYP: Added type hint to Index.repeat
State: closed

- [ ] Fixes a bullet point on https://github.com/noatamir/pyladies-aug23-sprint/issues/5#issue-1805063243
- [ ] [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).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

@noatamir @phofl

Labels:
name: Typing
description: type annotations, mypy/pyright type checking
name: Sprints
description: Sprint Pull Requests

Comments:
Thanks @mecopur
DOC: fix an example which raises an Error in whatsnew/v0.24.0.rst
State: closed

Fix an example in doc/source/whatsnew/v0.24.0.rst, which raises an Error (see https://pandas.pydata.org/docs/dev/whatsnew/v0.24.0.html#integer-addition-subtraction-with-datetimes-and-timedeltas-is-deprecated)

Labels:
name: Docs

Comments:
@MarcoGorelli, could you please take a look at this PR?
MAINT: small simplification of meson.build following best practices
State: closed

Just a couple of things I observed having a quick look at `meson.build`.

Labels:
name: Build
description: Library building on various platforms

Comments:
@lithomas1 
Another cleanup I noticed in the context of the optimization discussion we had is that every extension right now picks up CFLAGS and CPPFLAGS, yet we only have one extension module that actually uses c++ (window/aggregations.pyx)

Would be nice if we didn't mix those up (doesn't need to be done in this PR)
thanks @dnicolodi 
This broke the windows builds
> This broke the windows builds

Didn't CI pass on these changes? How does the build break?
The windows builds didn't pass here either
I see. I didn't notice the problem before this PR was merged. Sorry for the trouble.

The issue is this:
```
..\..\meson.build:2:0: ERROR: Command `C:\hostedtoolcache\windows\Python\3.9.13\x64\python3.EXE generate_version.py --print` failed with status 1.
```
This is the command that generates the version string in the `project()` call. I changed that from using `python` to `python3`. I don't understand why that fails though. It seems that `python3` is found.
If you need a quick resolution, can you please revert just the last commit in this PR, and not the whole thing?
Curiously, the `python-dev (windows-latest)` job passes. While the other Windows build fail. I wonder if it is a build environment issue. It would be interesting to see the content of the meson log in `D:\a\pandas\pandas\build\cp311\meson-logs\meson-log.txt`
Ah sorry, didn't realize it was the Windows not the npdev that was failing.
Docs: fix for links on see also for DataFrame.agg
State: closed

- [x] fix for 1st bullet point on https://github.com/noatamir/pyladies-aug23-sprint/issues/13
- [ ] [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).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

@noatamir @phofl PyLadies Berlin Aug Sprint


Labels:
name: Sprints
description: Sprint Pull Requests

Comments:
Thanks @sleepypioneer
Deleted non-existing method reference.
State: closed

- [ ] 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/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Docs

Comments:
Thanks @KatTiel
adding dtype_backend=pyarrow in documentation
State: closed

- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Issue took from [here](https://github.com/noatamir/pyladies-aug23-sprint/issues/4)


Labels:
name: Stale
name: Sprints
description: Sprint Pull Requests

Comments:
@phofl @noatamir this PR was done in the berlin meetup.
Tagging you as requested :) 
just removed the line, is this okay?
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.
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.
added description to parameters
State: closed

- [ ] 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/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Sprints
description: Sprint Pull Requests

Comments:
@phofl @noatamir could you kindly help me understand about this ASV benchmarks error: https://github.com/pandas-dev/pandas/actions/runs/5991128839/job/16249152156?pr=54731
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.
DOC: fix formatting in .at docstring
State: closed

- [x] Fix for 9th bullet point of https://github.com/noatamir/pyladies-aug23-sprint/issues/13
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

Done during the 'Let's contribute to pandas - mentored workshop' event - PyLadies Berlin

@noatamir
@phofl 


Labels:
name: Docs
name: Sprints
description: Sprint Pull Requests

Comments:
/preview
No preview found for PR #54730. Did the docs build complete?
typing improvements on level and fill_value in Series.eq
State: closed

- [x] item 6 and 7 in [issue#11](https://github.com/noatamir/pyladies-aug23-sprint/issues/11)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

Labels:
name: Sprints
description: Sprint Pull Requests

Comments:
pyladies-aug23-sprint : @phofl @noatamir 
Thanks @color455nm !
Docs: Update doc string to not reference deprecated function fillna for ffill
State: closed

- [x] fix for 1st bullet point on https://github.com/noatamir/pyladies-aug23-sprint/issues/13
- [ ] [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).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

@noatamir @phofl PyLadies Berlin Aug Sprint


Labels:
name: Docs
name: Sprints
description: Sprint Pull Requests

Comments:
/preview
No preview found for PR #54728. Did the docs build complete?
Thanks @sleepypioneer
TYP: Return type for eq/ne/div/...
State: closed

I was first trying to use `Self` (not sure whether it should be used here) but that seems to confuse mypy when the method is assigned to an alias (e.g., `subtract = sub`) as it then seems to loose track of what Self refers to.

Labels:
name: Typing
description: type annotations, mypy/pyright type checking

Comments:
Thanks @twoertwein
BUG/WARN: Passing EA object to dtype instead of an instance
State: closed

- [x] closes #31356 (Replace xxxx with the GitHub issue number)
- [x] closes #54592 (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/contributing_codebase.html#pre-commit).
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Instantiating an empty instance is an imperfect solution since the EADtype could require positional arguments, so raises a UserWarning to encourage users to pass instances instead 


Labels:
name: ExtensionArray
description: Extending pandas with custom dtypes or arrays.
name: Warnings
description: Warnings that appear or should be added to pandas

Comments:
> LGTM. Is the end-goal to deprecate this in the future?

I don't think there has been formal discussion to deprecate, but I would +1 for deprecating in the future.
TST: clean ups in extension tests
State: closed

- [ ] 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/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Testing
description: pandas testing functions or related to the test suite
name: ExtensionArray
description: Extending pandas with custom dtypes or arrays.

Comments:
Thanks @jbrockmendel
DOC: add awkward-pandas to ecosystem page
State: closed

We'd love to have [awkward-pandas](https://github.com/intake/awkward-pandas) listed on the ecosystem webpage. (I added the package to the existing lists in alphabetical order, would be happy to reorder)

- [ ] 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/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Docs

Comments:
Great! Thanks @douglasdavis
DEPR: downcasting in replace
State: closed

- [ ] 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/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Deprecate
description: Functionality to remove in pandas

Comments:
Thanks @jbrockmendel
BUG: ArrowExtensionArray.fillna with duration types
State: closed

- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.

cc @mroeschke - this expands on #54678 to cover a few more cases. 






Labels:
name: Bug
name: Arrow
description: pyarrow functionality

Comments:
Nice thanks @lukemanley
DOC: updated date_format description for read_csv
State: closed

- [x] closes #54285 
- [ ] [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).

Labels:
name: Docs

Comments:
Thanks @rsm-23
DEPR: deprecated nonkeyword arguments in to_gbq
State: closed

- [x] xref #54229
- [ ] [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] Added an entry in the latest `doc/source/whatsnew/v2.2.0.rst` file if fixing a bug or adding a new feature.


Labels:
name: IO Data
description: IO issues that don't fit into a more specific label
name: Deprecate
description: Functionality to remove in pandas

Comments:
@mroeschke can you please point me to the right test file location?
Thanks @rsm-23 (don't think this one needs a test since it's an integration IO method)
DEPR: deprecated nonkeyword arguments in to_excel
State: closed

- [x] closes #54229 
- [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] Added an entry in the latest `doc/source/whatsnew/v2.2.0.rst` file if fixing a bug or adding a new feature.


Labels:
name: IO Excel
description: read_excel, to_excel
name: Deprecate
description: Functionality to remove in pandas

Comments:
Looks good just a merge conflict
@mroeschke resolved the conflict
Thanks @rsm-23
TST: added test for fixed bug  gh#50372
State: closed

- [x] closes #50372 
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

I added a test to prevent the bug described in GG#50372 from happening again.


Labels:
name: Testing
description: pandas testing functions or related to the test suite

Comments:
Thanks @DRiXD
BUG: setitem with object type inserting Series maintains Series
State: closed

- [x] closes #48933 (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/contributing_codebase.html#pre-commit).
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Indexing
description: Related to indexing on series/frames, not to indexes themselves
name: Nested Data
description: Data where the values are collections (lists, sets, dicts, objects, etc.).

Comments:
Going to merge this, but happy to follow up
MAINT: Remove `np.in1d` function calls
State: closed

Hi!
This PR changes `np.in1d` calls to `np.isin` as `np.in1d` is being made private in https://github.com/numpy/numpy/pull/24445.

I wasn't sure if arrays passed to it are surely 1d, therefore I called `.ravel()` to fully reproduce `in1d` behavior. If any of these lines actually operate on 1d arrays, then `isin` and `in1d` can be used interchangeably. 

Labels:
name: Compat
description: pandas objects compatability with Numpy or Python functions

Comments:
Thanks @mtsokol
BUG: inaccurate Index._can_hold_na
State: closed

- [x] closes #45720 (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/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Interval
description: Interval data type
name: Index
description: Related to the Index class or subclasses

Comments:
Thanks @jbrockmendel
BUG: Fix astype str issue 54654
State: closed

- [x] closes #54654
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/v2.2.0.rst` file if fixing a bug or adding a new feature.


Labels:
name: Stale

Comments:
Hey, this PR is ready for review, is there anything else I should be doing?
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.
@WillAyd Anything else needed for merging? 
Thanks @Itayazolay
ENH: support integer bitwise ops in ArrowExtensionArray
State: closed

- [x] closes #54495
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/v2.1.0.rst` file if fixing a bug or adding a new feature.


Labels:
name: Enhancement
name: Arrow
description: pyarrow functionality

Comments:
Thanks @lukemanley
DOC: Fix inacurate documentation info (#54547)
State: closed

- [ ] closes #54547
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).



Labels:

Comments:
Thanks for the PR, but it appears this is already worked on in https://github.com/pandas-dev/pandas/pull/54681 so closing in favor of that PR
You are welcome. no biggie
Bug Fix for documentation: 54547
State: closed

Updating documents based on suggestions.

Bug:

https://github.com/pandas-dev/pandas/issues/54547



- [ ] 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/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Docs

Comments:
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.
Incorrect reading of CSV containing large integers Issue#52505
State: closed

- [ ] closes #52505
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).


Labels:
name: Bug
name: IO CSV
description: read_csv, to_csv
name: Arrow
description: pyarrow functionality

Comments:
Thanks @kvn4
COMPAT: Workaround invalid PyArrow duration conversion
State: closed

- [x] closes #54650 (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/contributing_codebase.html#pre-commit).

I think https://github.com/apache/arrow/pull/37064 caused a `pc.fill_null` code path to accept duration types exposing a pyarrow bug when converting a `pd.Timedelta` to `pa.scalar` https://github.com/apache/arrow/issues/37291


Labels:
name: Compat
description: pandas objects compatability with Numpy or Python functions
name: Arrow
description: pyarrow functionality

Comments:
thanks @mroeschke.