Skip to content

TYP: Make components of Suffixes Optional #42544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2021
Merged

TYP: Make components of Suffixes Optional #42544

merged 1 commit into from
Oct 4, 2021

Conversation

scravy
Copy link
Contributor

@scravy scravy commented Jul 15, 2021

The documentation on the parameters that actually are of type Suffixes:

suffixeslist-like, default is (“_x”, “_y”)
A length-2 sequence where each element is optionally a string indicating the suffix to add to overlapping column names in left and right respectively. Pass a value of None instead of a string to indicate that the column name from left or right should be left as-is, with no suffix. At least one of the values must not be None.

@github-actions
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Aug 15, 2021
@scravy scravy changed the title Make components of Suffixes Optional TYP: Make components of Suffixes Optional Aug 15, 2021
@scravy
Copy link
Contributor Author

scravy commented Aug 15, 2021

Yes, still interested in this.

@mroeschke mroeschke added Typing type annotations, mypy/pyright type checking Needs Review and removed Stale labels Aug 17, 2021
@jreback
Copy link
Contributor

jreback commented Oct 4, 2021

@scravy pls merge master and can have a look

@scravy
Copy link
Contributor Author

scravy commented Oct 4, 2021

Do you prefer rebasing or merging from master?

@jreback
Copy link
Contributor

jreback commented Oct 4, 2021

either are fine

The documentation on the parameters that actually are of type `Suffixes`:

> *suffixeslist-like, default is (“_x”, “_y”)*
> A length-2 sequence where each element is optionally a string indicating the suffix to add to overlapping column names in left and right respectively. Pass a value of None instead of a string to indicate that the column name from left or right should be left as-is, with no suffix. At least one of the values must not be None.
@scravy
Copy link
Contributor Author

scravy commented Oct 4, 2021

@jreback I rebased.

@jreback jreback added this to the 1.4 milestone Oct 4, 2021
@jreback jreback merged commit 0eeda64 into pandas-dev:master Oct 4, 2021
@jreback
Copy link
Contributor

jreback commented Oct 4, 2021

thanks @scravy

gasparitiago pushed a commit to gasparitiago/pandas that referenced this pull request Oct 9, 2021
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request Oct 10, 2021
rs2 pushed a commit to rs2/pandas that referenced this pull request Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants