Comma cleanup
State: closed

Comma cleanup for #35925 

Labels:
name: Code Style
description: Code style, linting, code_checks
name: Clean

Comments:
Thanks @JonathanShrek for the PR. need to run `black` after removing commas to get CI / Checks (pull_request) to pass.
> Thanks @JonathanShrek for the PR. need to run `black` after removing commas to get CI / Checks (pull_request) to pass.

I've run 'black' on each file that I have changed and for some reason CI / Checks (pull_request) continues to fail. I'm just going to close the PR. Sorry for the inconvenience. I'm a first time contributor.
> > Thanks @JonathanShrek for the PR. need to run `black` after removing commas to get CI / Checks (pull_request) to pass.
> 
> I've run 'black' on each file that I have changed and for some reason CI / Checks (pull_request) continues to fail. I'm just going to close the PR. Sorry for the inconvenience. I'm a first time contributor.

No inconvenience caused - feel free to ask for help if you're stuck on something. This looks like it was on the right track, you just needed to remove the trailing commas and then run `black` again
Thanks @MarcoGorelli I’ll give it another shot this afternoon.
Hello @JonathanShrek! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:

* In the file [`pandas/tests/frame/test_analytics.py`](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py):

> [Line 115:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py#L115): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 115:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py#L115): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 115:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py#L115): [E227](https://duckduckgo.com/?q=pep8%20E227) missing whitespace around bitwise or shift operator
> [Line 117:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py#L117): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 117:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py#L117): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 117:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py#L117): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 117:8](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py#L117): [E251](https://duckduckgo.com/?q=pep8%20E251) unexpected spaces around keyword / parameter equals
> [Line 123:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py#L123): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 123:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_analytics.py#L123): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator

* In the file [`pandas/tests/frame/test_constructors.py`](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py):

> [Line 935:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py#L935): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 935:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py#L935): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 935:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py#L935): [E227](https://duckduckgo.com/?q=pep8%20E227) missing whitespace around bitwise or shift operator
> [Line 937:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py#L937): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 937:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py#L937): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 937:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py#L937): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 937:8](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py#L937): [E251](https://duckduckgo.com/?q=pep8%20E251) unexpected spaces around keyword / parameter equals
> [Line 941:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py#L941): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 941:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_constructors.py#L941): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator

* In the file [`pandas/tests/frame/test_reshape.py`](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py):

> [Line 812:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py#L812): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 812:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py#L812): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 812:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py#L812): [E227](https://duckduckgo.com/?q=pep8%20E227) missing whitespace around bitwise or shift operator
> [Line 814:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py#L814): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 814:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py#L814): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 814:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py#L814): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 814:8](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py#L814): [E251](https://duckduckgo.com/?q=pep8%20E251) unexpected spaces around keyword / parameter equals
> [Line 817:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py#L817): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 817:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/frame/test_reshape.py#L817): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator

* In the file [`pandas/tests/generic/test_finalize.py`](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/generic/test_finalize.py):

> [Line 744:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/generic/test_finalize.py#L744): [E227](https://duckduckgo.com/?q=pep8%20E227) missing whitespace around bitwise or shift operator
> [Line 744:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/generic/test_finalize.py#L744): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 745:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/generic/test_finalize.py#L745): [E302](https://duckduckgo.com/?q=pep8%20E302) expected 2 blank lines, found 0
> [Line 746:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/generic/test_finalize.py#L746): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 746:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/generic/test_finalize.py#L746): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 746:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/generic/test_finalize.py#L746): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 751:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/generic/test_finalize.py#L751): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator



* In the file [`pandas/tests/groupby/aggregate/test_numba.py`](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py):

> [Line 60:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L60): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 60:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L60): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 60:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L60): [E227](https://duckduckgo.com/?q=pep8%20E227) missing whitespace around bitwise or shift operator
> [Line 62:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L62): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 62:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L62): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 62:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L62): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 62:8](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L62): [E251](https://duckduckgo.com/?q=pep8%20E251) unexpected spaces around keyword / parameter equals
> [Line 65:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L65): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 65:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L65): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 98:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L98): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 98:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L98): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 98:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L98): [E227](https://duckduckgo.com/?q=pep8%20E227) missing whitespace around bitwise or shift operator
> [Line 100:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L100): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 100:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L100): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 100:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L100): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 100:8](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L100): [E251](https://duckduckgo.com/?q=pep8%20E251) unexpected spaces around keyword / parameter equals
> [Line 103:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L103): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 103:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L103): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 134:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L134): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 134:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L134): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 134:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L134): [E227](https://duckduckgo.com/?q=pep8%20E227) missing whitespace around bitwise or shift operator
> [Line 136:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L136): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 136:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L136): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 136:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L136): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 136:8](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L136): [E251](https://duckduckgo.com/?q=pep8%20E251) unexpected spaces around keyword / parameter equals
> [Line 139:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L139): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 139:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L139): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 160:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L160): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 160:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L160): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 160:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L160): [E227](https://duckduckgo.com/?q=pep8%20E227) missing whitespace around bitwise or shift operator
> [Line 162:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L162): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 162:3](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L162): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 162:5](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L162): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator
> [Line 162:8](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L162): [E251](https://duckduckgo.com/?q=pep8%20E251) unexpected spaces around keyword / parameter equals
> [Line 165:1](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L165): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 165:7](https://github.com/pandas-dev/pandas/blob/da833f1f970032ef065db939021fc7d2142a8b22/pandas/tests/groupby/aggregate/test_numba.py#L165): [E225](https://duckduckgo.com/?q=pep8%20E225) missing whitespace around operator