-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
VOTE: Voting issue for PDEP-8: Inplace methods in pandas #56507
Comments
And starting with my own +1 (so I am not forgotten in the count ;)) |
+1 :) |
+1 |
2 similar comments
+1 |
+1 |
group 2 inplace returning self i was ok with the proposal of leaving inplace in group2 (even though we should just kill it entirely ) until i saw this |
It was mentioned as an "open question" from the beginning (with one of the options to return self), but updated to just propose that option of returning self more recently. I summarized the changes I pushed to the proposal on the PR: #51466 (comment) mentioning the open questions and that I was planning to update the text about returning self, and then #51466 (comment) stating that I had updated the text that way. Further, it was also mentioned in the summary of the PDEP I sent to the pandas-dev mailing a month ago. Let's leave any further discussion on the PR itself -> #51466 |
+1 |
5 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
-1 i'll repeat what i stated on the PR (which has had no response) returning self on an inplace method is a terrible idea which has happened before - Having these return self also now adds a HUGE amount of complexity to the api. you have the standard inplace methods, such as insert and .loc which return None, now you are adding a different case for these inplace methods. this also differs from the standard library where inplace methods return None. tbh I would either: remove all inplace everywhere; the supposed performance benefefits of having 4 methods with inplace is dubious when compared to the added complexity if you insist on the above, then reanme these to ffill_inplace and so on (to avoid the typing issue); don't love this, these still should return None |
+1 But I think type annotations should not be the motivation for returning |
using Quorum definition from #53576 of the 11 voting members and the voting period of 15 days then under the not yet ratified voting process then PDEP-8 should have been accepted. I'm not suggesting for 1 minute that we dismiss @jreback concerns just to fit in with the draft process. But the purpose of the PDEP process is to facilitate the decision process and avoid discussions going stale.
12 approve (technically 1 approval outside voting window) can I suggest that we close this vote. potentially make some changes to the proposal that are acceptable to @jreback and then perhaps start the vote again. Until we have all agreed on the voting process then we need to follow the governance in existence. |
I actually just saw @simonjayhawkins comments. This PDEP should not be rejected just because I put a -1 out here. That is the entire point of this process. I'll re-iterate what I was trying to achieve here. I am fully +1 on removing So I would propose to either:
|
agree. my thinking was that the PDEP is supposed to be a consensus seeking process and so if we go to the vote and there are objections, these objections should have been discussed thoroughly and the outcome basically agreed in the PDEP discussion. This is my understanding of why -1 votes should have a one-liner with the reason and have participated in the discussion so that there is no surprises. from the PDEP... "Our workflow was created to support and enable a consensus seeking process" IMHO it is the process that has failed here.
My comments were to reinvigorate a discussion/vote that had gone stale so that the PDEP could be accepted. I was expecting that this outcome was the probable solution to getting the bulk of the PDEP accepted as the "offending paragraph" could immediately be included in a PDEP revision in a follow up. |
First, apologies for the awfully slow response here. Both in not timely closing the vote (which might have avoided some of the discussion above), as not yet responding to the actual concerns around the vote and not moving forward this PDEP. While actively working on the 2.3 / 3.0 releases the last weeks, I was thinking it would still be good to at least start with the deprecation in 3.0 (so people might still stop using inplace while updating for CoW).
My proposal would be to still follow those rules and mark the PDEP as accepted, see below.
The objection (i.e returning (Jeff also already had mentioned that objection earlier in the PDEP discussion, so it was not a "surprise")
My preference would be to go for the first option. In summary, I would propose to mark the current PDEP as accepted. Concerns in doing that? |
No concerns from my end. Dissents are valid and noted, but if we reached the votes required by the PDEP process then let's move forward |
+1 |
Issue to track the votes for PDEP-8: Inplace methods in pandas
Pull request with the PDEP discussion: #51466
Rendered PDEP for easy reading: https://github.com/pandas-dev/pandas/blob/2654fe9ba91dd44ed66f0c246d4ed0c5dde7e391/web/pandas/pdeps/0008-inplace-methods-in-pandas.md (or a website preview at https://jorisvandenbossche.github.io/pandas-website-preview/pdeps/0008-inplace-methods-in-pandas.html)
Cast your vote in a comment below.
Voting will close in 15 days, i.e., on December 29, 2023.
@pandas-dev/pandas-core
The text was updated successfully, but these errors were encountered: