BrandonFors/pandas-github-issues huggingface dataset:
DOC: Fixing EX01 - Added examples
State: closed

- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

Towards https://github.com/pandas-dev/pandas/issues/37875

Labels:
name: Docs

Comments:
looks like an error
```

/home/runner/work/pandas/pandas/pandas/core/dtypes/base.py:docstring of pandas.core.dtypes.base.ExtensionDtype:67: ERROR: Inconsistent literal block quoting.
```
Latest failing test not related, I think.
right, thanks!
TST: Remove type-hint from test
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.

Followup to #54115. Having this type-hint makes mypy display

> pandas/tests/frame/methods/test_shift.py:695: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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

Comments:
Sorry, I didn't realise that was introduced by my PR!
Thanks @rhshadrach 
> Sorry, I didn't realise that was introduced by my PR!

Not an issue; neither did I!
CLN/ASV: Remove NumPy/built-in aliases in ASVs
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.

Follow up to #53974

Labels:
name: Clean
name: Apply
description: Apply, Aggregate, Transform, Map
name: Benchmark
description: Performance (ASV) benchmarks

Comments:
Thanks @rhshadrach
API / CoW: Add ChainedAssignmentError for inplace ops
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: Copy / view semantics

Comments:
Agreed with @jorisvandenbossche that we can merge this
Docs formatting df join validate
State: closed

- [x] closes **https://github.com/noatamir/pyladies-hh23-sprint/issues/9** (however this issue is no longer available, this was a follow-up task for the bold first list item.
- [ ] [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 Hamburg Sprint

Very small updates for changing the formatting of these docs.

BEFORE:

![Screenshot 2023-07-30 at 15 35 38](https://github.com/pandas-dev/pandas/assets/23617373/f3134ecb-515b-4b52-8067-45eae236386d)

Remove the `.` between sort it and lexicographically on third list item.

AFTER:

<img width="663" alt="Screenshot 2023-07-30 at 15 35 15" src="https://github.com/pandas-dev/pandas/assets/23617373/25c69cac-4841-423f-8c10-019647f4f606">


BEFORE:
![Screenshot 2023-07-30 at 15 35 28](https://github.com/pandas-dev/pandas/assets/23617373/a810bcca-56e5-4e53-a63b-18bb88ac5a48)

Make the first list item not bold.

AFTER: 

<img width="679" alt="Screenshot 2023-07-30 at 15 35 21" src="https://github.com/pandas-dev/pandas/assets/23617373/c0e1e850-806f-4677-adb8-279b3a66d755">



Labels:
name: Docs

Comments:
Seems this failing test is failing also on the main branch.
/preview
No preview found for PR #54311. Did the docs build complete?
Thanks @sleepypioneer
BUG: raise a ParserWarning instead of printing to stderr when on_bad_lines is true
State: closed

Fixes the bug discussed on #54296 
- [x] closes #54296
- [ ] [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. (**No new arguments/method/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: Stale

Comments:
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.
PERF: DataFrame reductions with axis=None and EA dtypes
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.
- [x] Added an entry in the latest `doc/source/whatsnew/v2.1.0.rst` file if fixing a bug or adding a new feature.

```
import pandas as pd
import numpy as np

df = pd.DataFrame(np.random.randn(1000, 1000), dtype="float64[pyarrow]")

%timeit df.min(axis=None)

316 ms ± 52.7 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)     <- main
196 ms ± 13.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)     <- this PR
22.9 ms ± 1.32 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)  <- this PR + #54299 (pending PR)
```


Existing ASV:

```
       before           after         ratio
     [aefede93]       [bf708351]
     <main>           <perf-ea-axis-none-reductions>
-      8.83±0.7ms       7.03±0.3ms     0.80  stat_ops.FrameOps.time_op('std', 'Int64', None)
-        99.6±4ms       13.7±0.3ms     0.14  stat_ops.FrameOps.time_op('skew', 'Int64', None)
-        96.7±4ms       13.2±0.3ms     0.14  stat_ops.FrameOps.time_op('kurt', 'Int64', None)
-        107±10ms       12.9±0.3ms     0.12  stat_ops.FrameOps.time_op('median', 'Int64', None)
-        63.9±2ms       6.01±0.8ms     0.09  stat_ops.FrameOps.time_op('mean', 'Int64', None)
```

Labels:
name: Performance
description: Memory or execution speed performance
name: ExtensionArray
description: Extending pandas with custom dtypes or arrays.
name: Reduction Operations
description: sum, mean, min, max, etc.

Comments:
Thanks @lukemanley
BUG: Fix Series.groupby raising OutOfBoundsDatetime with DatetimeIndex and month name
State: closed

Fix the bug as discussed in #48509 @topper-123 
- [x] closes #48509
- [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).
- [ ] 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: Bug
name: Groupby

Comments:
Thanks @yuanx749
BUG: fix hardcoded scatter marker size issue #54204
State: closed

- [x] closes #54204 
- [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: Visualization
description: plotting
name: Stale

Comments:
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.
ENH: Change DataFrame.to_excel to output unformatted excel file
State: closed

- [X] closes #54154
- [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: Styler
description: conditional formatting using DataFrame.style

Comments:
@rhshadrach pinging on green
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.
> 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.

Still interested in working on this PR. Waiting for whatsnew v3.0 to come out
@rmhowe425 the `3.0.0.rst` whatsnew is out now. Are you still interested in continuing this?
> @rmhowe425 the `3.0.0.rst` whatsnew is out now. Are you still interested in continuing this?

Yes I am still interested! Thank you for pinging me and letting me know!
@rhshadrach @mroeschke Pinging on green. 

Did you guys want me to combine my unit tests into one test as recommended [here](https://github.com/pandas-dev/pandas/pull/54302#discussion_r1479936625)?

IMHO I think it makes more sense to keep them separated, but happy to combine them if you guys want me to.
@mroeschke Pinging on green
Thanks @rmhowe425
BUG: from_dummies always returning object data
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 an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Dtype Conversions
description: Unexpected or buggy dtype conversions
name: Strings
description: String extension data type and string data

Comments:
Looks like tests are passing here so merging. Happy to follow up if needed
PERF: DataFrame.astype where dtype is an ExtensionDtype
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.
- [x] Added an entry in the latest `doc/source/whatsnew/v2.1.0.rst` file if fixing a bug or adding a new feature.

```
       before           after         ratio
     [c6353c49]       [e84e1676]
     <main>           <perf-astype-ea-dtype>
-      37.0±0.9ms         24.4±2ms     0.66  frame_methods.AsType.time_astype(('float64', 'float64[pyarrow]'), False)
-        36.0±2ms         23.0±2ms     0.64  frame_methods.AsType.time_astype(('float64', 'Float64'), False)
-      37.9±0.4ms         23.7±2ms     0.63  frame_methods.AsType.time_astype(('int64[pyarrow]', 'float64[pyarrow]'), False)
-        32.4±1ms         19.3±2ms     0.59  frame_methods.AsType.time_astype(('int64[pyarrow]', 'float64[pyarrow]'), True)
-        33.0±1ms         19.2±2ms     0.58  frame_methods.AsType.time_astype(('float64', 'Float64'), True)
-      32.0±0.5ms       17.8±0.9ms     0.56  frame_methods.AsType.time_astype(('Int64', 'Float64'), False)
-        30.0±1ms         16.5±2ms     0.55  frame_methods.AsType.time_astype(('Int64', 'Float64'), True)
-        32.7±2ms         17.8±2ms     0.54  frame_methods.AsType.time_astype(('float64', 'float64[pyarrow]'), True)
-        24.4±2ms       1.31±0.3ms     0.05  frame_methods.AsType.time_astype(('Float64', 'Float64'), True)
-        24.2±2ms         973±50μs     0.04  frame_methods.AsType.time_astype(('float64[pyarrow]', 'float64[pyarrow]'), True)
-        21.0±1ms        500±100μs     0.02  frame_methods.AsType.time_astype(('Float64', 'Float64'), False)
-        20.9±2ms          378±5μs     0.02  frame_methods.AsType.time_astype(('float64[pyarrow]', 'float64[pyarrow]'), False)
```


Labels:
name: Performance
description: Memory or execution speed performance
name: Dtype Conversions
description: Unexpected or buggy dtype conversions

Comments:
thx @lukemanley
BUG: to_timedelta with ArrowDtype(pa.duration)
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.
- [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: Timedelta
description: Timedelta data type
name: Arrow
description: pyarrow functionality

Comments:
Looks like tests are passing here so merging. Happy to follow up if needed
BUG: melt with extension dtype column
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 an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Reshaping
description: Concat, Merge/Join, Stack/Unstack, Explode
name: ExtensionArray
description: Extending pandas with custom dtypes or arrays.

Comments:
Looks like tests are passing to going to merge
TYP: level and fill_value in Series.mul
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).
- [x] 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.
cc @phofl @noatamir 

Labels:
name: Sprints
description: Sprint Pull Requests

Comments:
Thanks @ma-re
Contributor Docs: update gitpod docs and small fix
State: closed

- [x] No issue for this change, was noticed while running through the onboarding docs
- [ ] [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 Hamburg Sprint

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

Comments:
/preview
No preview found for PR #54292. Did the docs build complete?
> No preview found for PR #54292. Did the docs build complete?

@noatamir I am not sure what this means, locally (in gitpod) I could build and view the docs)
/preview
No preview found for PR #54292. Did the docs build complete?
trying the auto-preview again. If it doesn't work a screenshot would be fine for me
Screen shots for changes:

<img width="727" alt="Screenshot 2023-07-30 at 18 05 04" src="https://github.com/pandas-dev/pandas/assets/23617373/04231262-1d2b-41e6-ab2c-71a6209851da">

----

<img width="729" alt="Screenshot 2023-07-30 at 18 06 25" src="https://github.com/pandas-dev/pandas/assets/23617373/6ff843c9-467d-4754-a5c1-d20bcaafbfd0">


/preview
No preview found for PR #54292. Did the docs build complete?
Thanks @sleepypioneer!
ENH: Improve Type Annotations
State: closed

Update typing on the following:
- `justify for DataFrame.to_string`
- - `justify for DataFrame.to_html`


- [ ] 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).
- [x] 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.

cc @phofl @noatamir 

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

Comments:
@Dr-Irv 
Thanks for the review. I have removed the changes for `nan_rep` and `tolerance` from this PR(will tackle those in another PR).
Also update type annotation for `justify` in `to_html` as per your suggestion.
Not sure what's the convention here, but if you want I can squash the commits into one or keep as is.
1. Can you rebase (merge with main)
2. Would you mind doing a similar PR in the pandas-stubs project?

> Not sure what's the convention here, but if you want I can squash the commits into one or keep as is.

No need to squash - we do that when we merge
> Can you rebase (merge with main)

Done
> Would you mind doing a similar PR in the pandas-stubs project?

I see the [to_html](https://github.com/pandas-dev/pandas-stubs/blob/6769e81bb95764fbc538c7aa95f5cc44c218704b/pandas-stubs/core/frame.pyi#L436) is already covered there. But can do for the [to_string()](https://github.com/pandas-dev/pandas-stubs/blob/6769e81bb95764fbc538c7aa95f5cc44c218704b/pandas-stubs/core/frame.pyi#L2180)
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 axis for Index : argmin, argmax, min and max
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).
- [x] 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: Sprints
description: Sprint Pull Requests

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.
Add return annotation for Index.view
State: closed

- [x] closes [sprint issue](https://github.com/noatamir/pyladies-hh23-sprint/issues/11)
- [ ] [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 Hamburg sprint

Labels:
name: Sprints
description: Sprint Pull Requests

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.